Home
last modified time | relevance | path

Searched refs:indicatorColor_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_modifier.cpp29 :indicatorColor_(AceType::MakeRefPtr<AnimatablePropertyColor>(LinearColor::BLACK)), in TabBarModifier()
38 AttachProperty(indicatorColor_); in TabBarModifier()
67 if (indicatorColor_) { in SetIndicatorColor()
68 indicatorColor_->Set(indicatorColor); in SetIndicatorColor()
131 brush.SetColor(ToRSColor(indicatorColor_->Get())); in PaintIndicator()
H A Dtab_bar_modifier.h57 RefPtr<AnimatablePropertyColor> indicatorColor_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_bar_component.h191 return indicatorColor_.value(); in GetIndicatorColor()
196 indicatorColor_ = color; in SetIndicatorColor()
201 return indicatorColor_.has_value(); in HasIndicatorColor()
226 std::optional<Color> indicatorColor_; variable
H A Dtab_bar_indicator_component.h53 return indicatorColor_; in GetIndicatorColor()
71 Color indicatorColor_ { DEFAULT_INDICATOR_COLOR };
H A Dtab_bar_indicator_component.cpp27 …: indicatorStyle_(TabBarIndicatorStyle::DEFAULT), indicatorPadding_(padding), indicatorColor_(colo… in TabBarIndicatorComponent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_theme.h98 theme->indicatorColor_ = gaugePattern->GetAttr<Color>("indicator_color", Color::BLACK); in ParsePattern()
108 return indicatorColor_; in GetIndicatorColor()
130 Color indicatorColor_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_tab_bar.cpp86 node.indicatorColor_= node.ParseColor(val); in SetSpecializedStyle()
157 if (indicatorColor_.has_value()) { in ResetInitializedStyle()
158 tabBarChild_->SetIndicatorColor(indicatorColor_.value()); in ResetInitializedStyle()
H A Ddom_tab_bar.h74 std::optional<Color> indicatorColor_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtab_bar_modifier_test_ng.cpp53 EXPECT_TRUE(tabBarModifier->indicatorColor_->Get() == indicatorColor);
54 tabBarModifier->indicatorColor_ = nullptr;
56 EXPECT_EQ(tabBarModifier->indicatorColor_, nullptr);