Home
last modified time | relevance | path

Searched refs:magicItemProperty (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_wrapper.cpp634 auto& magicItemProperty = layoutProperty->GetMagicItemProperty(); in ApplyConstraint() local
635 if (magicItemProperty.HasAspectRatio()) { in ApplyConstraint()
641 …constraint.ApplyAspectRatio(magicItemProperty.GetAspectRatioValue(), idealSize, greaterThanApiTen); in ApplyConstraint()
664 auto& magicItemProperty = layoutProperty->GetMagicItemProperty(); in CreateRootConstraint() local
665 if (magicItemProperty.HasAspectRatio()) { in CreateRootConstraint()
666 auto aspectRatio = magicItemProperty.GetAspectRatioValue(); in CreateRootConstraint()
H A Dlayout_wrapper_node.cpp220 const auto& magicItemProperty = layoutProperty_->GetMagicItemProperty(); in Measure() local
221 auto aspectRatio = magicItemProperty.GetAspectRatioValue(); in Measure()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/
H A Dlinear_layout_utils.cpp85 const auto& magicItemProperty = child->GetLayoutProperty()->GetMagicItemProperty(); in TravelChildrenFlexProps() local
86 if (magicItemProperty.GetLayoutWeight().value_or(-1) > 0) { in TravelChildrenFlexProps()
87 linearMeasureProperty.totalFlexWeight += magicItemProperty.GetLayoutWeight().value(); in TravelChildrenFlexProps()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/animation/
H A Dgeometry_transition.cpp296 auto& magicItemProperty = layoutProperty->GetMagicItemProperty(); in ModifyLayoutConstraint() local
297 if (magicItemProperty.HasAspectRatio()) { in ModifyLayoutConstraint()
298 magicItemProperty.ResetAspectRatio(); in ModifyLayoutConstraint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract.cpp4891 auto& magicItemProperty = layoutProperty->GetMagicItemProperty(); in GetLayoutWeight() local
4892 if (magicItemProperty.HasLayoutWeight()) { in GetLayoutWeight()
4893 return magicItemProperty.GetLayoutWeight().value_or(layoutWeight); in GetLayoutWeight()
H A Dframe_node.cpp4111 const auto& magicItemProperty = layoutProperty_->GetMagicItemProperty(); in Measure() local
4112 auto aspectRatio = magicItemProperty.GetAspectRatioValue(); in Measure()