/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | indicator_model_ng.cpp | 60 void IndicatorModelNG::SetIndicatorType(SwiperIndicatorType indicatorType) in SetIndicatorType() argument 62 SwiperIndicatorUtils::SetSwiperIndicatorType(indicatorType); in SetIndicatorType() 63 ACE_UPDATE_LAYOUT_PROPERTY(SwiperIndicatorLayoutProperty, IndicatorType, indicatorType); in SetIndicatorType() 160 void IndicatorModelNG::SetIndicatorType(FrameNode* frameNode, SwiperIndicatorType indicatorType) in SetIndicatorType() argument 162 SwiperIndicatorUtils::SetSwiperIndicatorType(indicatorType); in SetIndicatorType() 163 ACE_UPDATE_NODE_LAYOUT_PROPERTY(SwiperIndicatorLayoutProperty, IndicatorType, indicatorType, frameNode); in SetIndicatorType()
|
H A D | indicator_model_ng.h | 29 void SetIndicatorType(SwiperIndicatorType indicatorType) override; 41 static void SetIndicatorType(FrameNode* frameNode, SwiperIndicatorType indicatorType);
|
H A D | indicator_model.h | 37 virtual void SetIndicatorType(SwiperIndicatorType indicatorType) {} in SetIndicatorType() argument
|
H A D | swiper_indicator_utils.h | 48 static void SetSwiperIndicatorType(SwiperIndicatorType indicatorType) in SetSwiperIndicatorType() argument 50 swiperIndicatorType = indicatorType; in SetSwiperIndicatorType()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | radio_modifier.cpp | 297 void SetRadioOptions(ArkUINodeHandle node, ArkUI_CharPtr value, ArkUI_CharPtr group, ArkUI_Uint32 indicatorType)
in SetRadioOptions() argument 304 if (static_cast<RadioIndicatorType>(indicatorType) != RadioIndicatorType::TICK &&
in SetRadioOptions() 305 static_cast<RadioIndicatorType>(indicatorType) != RadioIndicatorType::DOT &&
in SetRadioOptions() 306 static_cast<RadioIndicatorType>(indicatorType) != RadioIndicatorType::CUSTOM) {
in SetRadioOptions() 307 indicatorType = static_cast<ArkUI_Uint32>(RadioIndicatorType::TICK);
in SetRadioOptions() 309 RadioModelNG::SetRadioOptions(frameNode, std::string(value), std::string(group), indicatorType);
in SetRadioOptions()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_node_extented.cpp | 331 ArkUI_SwiperIndicator* OH_ArkUI_SwiperIndicator_Create(ArkUI_SwiperIndicatorType indicatorType) in OH_ArkUI_SwiperIndicator_Create() argument 333 if (indicatorType != ARKUI_SWIPER_INDICATOR_TYPE_DOT) { in OH_ArkUI_SwiperIndicator_Create() 337 indicator->type = indicatorType; in OH_ArkUI_SwiperIndicator_Create() 342 if (indicatorType == ARKUI_SWIPER_INDICATOR_TYPE_DOT) { in OH_ArkUI_SwiperIndicator_Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_radio_bridge.cpp | 379 auto indicatorType = RadioIndicatorType::TICK;
in SetRadioOptions() local 388 indicatorType = static_cast<RadioIndicatorType>(indicatorTypeArg->Int32Value(vm));
in SetRadioOptions() 389 if (indicatorType == RadioIndicatorType::CUSTOM) {
in SetRadioOptions() 390 indicatorType = RadioIndicatorType::TICK;
in SetRadioOptions() 399 nativeNode, value.c_str(), group.c_str(), static_cast<int32_t>(indicatorType));
in SetRadioOptions()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_model_ng.h | 51 void SetIndicatorType(SwiperIndicatorType indicatorType) override; 107 static void SetIndicatorType(FrameNode* frameNode, SwiperIndicatorType indicatorType);
|
H A D | swiper_model_ng.cpp | 114 void SwiperModelNG::SetIndicatorType(SwiperIndicatorType indicatorType) in SetIndicatorType() argument 116 SwiperIndicatorUtils::SetSwiperIndicatorType(indicatorType); in SetIndicatorType() 117 ACE_UPDATE_LAYOUT_PROPERTY(SwiperLayoutProperty, IndicatorType, indicatorType); in SetIndicatorType() 620 void SwiperModelNG::SetIndicatorType(FrameNode* frameNode, SwiperIndicatorType indicatorType) in SetIndicatorType() argument 622 SwiperIndicatorUtils::SetSwiperIndicatorType(indicatorType); in SetIndicatorType() 623 ACE_UPDATE_NODE_LAYOUT_PROPERTY(SwiperLayoutProperty, IndicatorType, indicatorType, frameNode); in SetIndicatorType()
|
H A D | swiper_model.h | 132 virtual void SetIndicatorType(SwiperIndicatorType indicatorType) {} in SetIndicatorType() argument
|
H A D | swiper_layout_algorithm.cpp | 1279 auto indicatorType = swiperLayoutProperty->GetIndicatorTypeValue(SwiperIndicatorType::DOT); in ArrowLayout() local 1298 if (indicatorType == SwiperIndicatorType::DOT) { in ArrowLayout() 1336 auto indicatorPadding = indicatorType == SwiperIndicatorType::DIGIT in ArrowLayout() 1339 if (useCustomIndicatorOffset && indicatorType == SwiperIndicatorType::DIGIT) { in ArrowLayout() 1370 auto indicatorPadding = indicatorType == SwiperIndicatorType::DIGIT in ArrowLayout() 1373 if (useCustomIndicatorOffset && indicatorType == SwiperIndicatorType::DIGIT) { in ArrowLayout()
|
H A D | swiper_pattern.cpp | 6110 auto indicatorType = GetIndicatorType(); 6111 if (indicatorType == SwiperIndicatorType::DOT) {
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 4493 void (*setRadioOptions)(ArkUINodeHandle node, ArkUI_CharPtr value, ArkUI_CharPtr group, ArkUI_Uint32 indicatorType);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 18785 getUINativeModule().radio.setRadioOptions(node, this.value.value, this.value.group, this.value.indicatorType); 18792 !isBaseOrResourceEqual(this.stageValue.indicatorType, this.value.indicatorType);
|