Home
last modified time | relevance | path

Searched refs:BoxStateAttribute (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_abstract_model_impl.cpp200 BoxStateAttribute::WIDTH, AnimatableDimension(width, option), stack->GetVisualState()); in SetWidth()
201 … if (!box->GetStateAttributes()->HasAttribute(BoxStateAttribute::WIDTH, VisualState::NORMAL)) { in SetWidth()
226BoxStateAttribute::HEIGHT, AnimatableDimension(height, option), stack->GetVisualState()); in SetHeight()
227 … if (!box->GetStateAttributes()->HasAttribute(BoxStateAttribute::HEIGHT, VisualState::NORMAL)) { in SetHeight()
275 BoxStateAttribute::COLOR, AnimatableColor(color, option), stack->GetVisualState()); in SetBackgroundColor()
514 BoxStateAttribute::BORDER_STYLE, left, stack->GetVisualState()); in SetBorderStyle()
872 BoxStateAttribute::GRADIENT, lineGradient, stack->GetVisualState()); in SetLinearGradient()
875BoxStateAttribute::GRADIENT, GetBackDecoration()->GetGradient(), VisualState::NORMAL); in SetLinearGradient()
892 BoxStateAttribute::GRADIENT, sweepGradient, stack->GetVisualState()); in SetSweepGradient()
895BoxStateAttribute::GRADIENT, GetBackDecoration()->GetGradient(), VisualState::NORMAL); in SetSweepGradient()
[all …]
H A Dbutton_model_impl.cpp315BoxStateAttribute::BORDER_RADIUS, AnimatableDimension(radius, option), stack->GetVisualState()); in SetBorderRadius()
321 …boxComponent->GetStateAttributes()->AddAttribute<AnimatableDimension>(BoxStateAttribute::BORDER_RA… in SetBorderRadius()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Dbox_component.h34 enum class BoxStateAttribute { enum
251 RefPtr<StateAttributes<BoxStateAttribute>> GetStateAttributes() in GetStateAttributes()
254 stateAttributeList_ = MakeRefPtr<StateAttributes<BoxStateAttribute>>(); in GetStateAttributes()
412 RefPtr<StateAttributes<BoxStateAttribute>> stateAttributeList_ = nullptr;
H A Drender_box.cpp1625 case BoxStateAttribute::COLOR: { in OnStatusStyleChanged()
1632 case BoxStateAttribute::BORDER_COLOR: { in OnStatusStyleChanged()
1639 case BoxStateAttribute::BORDER_RADIUS: { in OnStatusStyleChanged()
1646 case BoxStateAttribute::BORDER_STYLE: { in OnStatusStyleChanged()
1648 … AceType::DynamicCast<StateAttributeValue<BoxStateAttribute, BorderStyle>>(attribute); in OnStatusStyleChanged()
1653 case BoxStateAttribute::BORDER_WIDTH: { in OnStatusStyleChanged()
1660 case BoxStateAttribute::HEIGHT: { in OnStatusStyleChanged()
1666 case BoxStateAttribute::WIDTH: { in OnStatusStyleChanged()
1673 case BoxStateAttribute::ASPECT_RATIO: { in OnStatusStyleChanged()
1680 case BoxStateAttribute::BORDER: { in OnStatusStyleChanged()
[all …]
H A Drender_box.h272 RefPtr<StateAttributes<BoxStateAttribute>> stateAttributeList_;