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 D | view_abstract_model_impl.cpp | 200 BoxStateAttribute::WIDTH, AnimatableDimension(width, option), stack->GetVisualState()); in SetWidth() 201 … if (!box->GetStateAttributes()->HasAttribute(BoxStateAttribute::WIDTH, VisualState::NORMAL)) { in SetWidth() 226 … BoxStateAttribute::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() 875 … BoxStateAttribute::GRADIENT, GetBackDecoration()->GetGradient(), VisualState::NORMAL); in SetLinearGradient() 892 BoxStateAttribute::GRADIENT, sweepGradient, stack->GetVisualState()); in SetSweepGradient() 895 … BoxStateAttribute::GRADIENT, GetBackDecoration()->GetGradient(), VisualState::NORMAL); in SetSweepGradient() [all …]
|
H A D | button_model_impl.cpp | 315 … BoxStateAttribute::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 D | box_component.h | 34 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 D | render_box.cpp | 1625 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 D | render_box.h | 272 RefPtr<StateAttributes<BoxStateAttribute>> stateAttributeList_;
|