Home
last modified time | relevance | path

Searched refs:indicatorType (Results 1 - 14 of 14) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dindicator_model_ng.cpp60 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 Dindicator_model_ng.h29 void SetIndicatorType(SwiperIndicatorType indicatorType) override;
41 static void SetIndicatorType(FrameNode* frameNode, SwiperIndicatorType indicatorType);
H A Dindicator_model.h37 virtual void SetIndicatorType(SwiperIndicatorType indicatorType) {} in SetIndicatorType() argument
H A Dswiper_indicator_utils.h48 static void SetSwiperIndicatorType(SwiperIndicatorType indicatorType) in SetSwiperIndicatorType() argument
50 swiperIndicatorType = indicatorType; in SetSwiperIndicatorType()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dradio_modifier.cpp297 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 Dnative_node_extented.cpp331 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 Darkts_native_radio_bridge.cpp379 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 Dswiper_model_ng.h51 void SetIndicatorType(SwiperIndicatorType indicatorType) override;
107 static void SetIndicatorType(FrameNode* frameNode, SwiperIndicatorType indicatorType);
H A Dswiper_model_ng.cpp114 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 Dswiper_model.h132 virtual void SetIndicatorType(SwiperIndicatorType indicatorType) {} in SetIndicatorType() argument
H A Dswiper_layout_algorithm.cpp1279 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 Dswiper_pattern.cpp6110 auto indicatorType = GetIndicatorType();
6111 if (indicatorType == SwiperIndicatorType::DOT) {
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h4493 void (*setRadioOptions)(ArkUINodeHandle node, ArkUI_CharPtr value, ArkUI_CharPtr group, ArkUI_Uint32 indicatorType);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js18785 getUINativeModule().radio.setRadioOptions(node, this.value.value, this.value.group, this.value.indicatorType);
18792 !isBaseOrResourceEqual(this.stageValue.indicatorType, this.value.indicatorType);

Completed in 64 milliseconds