Home
last modified time | relevance | path

Searched refs:animatableBoardColor_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_paint_method.cpp46 animatableBoardColor_ = AceType::MakeRefPtr<AnimatablePropertyColor>(LinearColor(boardColor)); in SwitchModifier()
60 AttachProperty(animatableBoardColor_); in SwitchModifier()
149 …ToRSColor(animatableBoardColor_->Get().BlendOpacity(static_cast<float>(DISABLED_ALPHA) / ENABLED_A… in PaintSwitch()
151 brush.SetColor(ToRSColor(animatableBoardColor_->Get())); in PaintSwitch()
H A Dswitch_modifier.h79animatableBoardColor_->Set(isSelect_->Get() ? LinearColor(userActiveColor_) : LinearColor(inactive… in UpdateAnimatableProperty()
134animatableBoardColor_->Set(isSelect_->Get() ? LinearColor(userActiveColor_) : LinearColor(inactive… in SetUserActiveColor()
289 RefPtr<AnimatablePropertyColor> animatableBoardColor_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/
H A Dcheckbox_paint_method.cpp51 animatableBoardColor_ = AceType::MakeRefPtr<AnimatablePropertyColor>(LinearColor(boardColor)); in CheckBoxModifier()
67 AttachProperty(animatableBoardColor_); in CheckBoxModifier()
117 brush.SetColor(ToRSColor(animatableBoardColor_->Get())); in PaintCheckBox()
121 …ToRSColor(animatableBoardColor_->Get().BlendOpacity(static_cast<float>(DISABLED_ALPHA) / ENABLED_A… in PaintCheckBox()
H A Dcheckbox_modifier.h77 animatableBoardColor_->Set( in UpdateAnimatableProperty()
234 RefPtr<AnimatablePropertyColor> animatableBoardColor_; variable