Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.cpp128 CHECK_NULL_VOID(flexItemProperty); in UpdateChildLayoutConstrainByFlexBasis()
129 const auto& flexBasis = flexItemProperty->GetFlexBasis(); in UpdateChildLayoutConstrainByFlexBasis()
481 … if (flexItemProperty && GreatNotEqual(flexItemProperty->GetFlexGrow().value_or(0.0f), 0.0f)) { in MeasureAndCleanMagicNodes()
495 … if (flexItemProperty && GreatNotEqual(flexItemProperty->GetFlexGrow().value_or(0.0f), 0.0f)) { in MeasureAndCleanMagicNodes()
592 if (flexItemProperty) { in UpdateFlexProperties()
594 flexGrow = flexItemProperty->GetFlexGrow().value_or(flexGrow); in UpdateFlexProperties()
742 if (flexItemProperty) { in CheckIsGrowOrShrink()
743 ret = flexItemProperty->GetFlexGrow().value_or(ret); in CheckIsGrowOrShrink()
759 if (flexItemProperty) { in CheckIsGrowOrShrink()
1153 if (!flexItemProperty || !flexItemProperty->GetAlignSelf().has_value() || in GetSelfAlign()
[all …]
H A Dwrap_layout_algorithm.cpp646 const auto& flexItemProperty = layoutProperty->GetFlexItemProperty(); in GetFlexItemProperties() local
647 if (!flexItemProperty) { in GetFlexItemProperties()
650 auto flexGrow = flexItemProperty->GetFlexGrow().value_or(0.0f); in GetFlexItemProperties()
663 auto& flexItemProperty = layoutProperty->GetFlexItemProperty(); in CalcFlexGrowLayout() local
664 CHECK_NULL_VOID(flexItemProperty); in CalcFlexGrowLayout()
671 float itemFlex = flexItemProperty->GetFlexGrow().value_or(0.0f); in CalcFlexGrowLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/relative_container/
H A Drelative_container_layout_algorithm.cpp1492 const auto& flexItemProperty = layoutProperty->GetFlexItemProperty(); in CalcBias() local
1493 CHECK_NULL_RETURN(flexItemProperty, emptyBiasOffset); in CalcBias()
1494 CHECK_NULL_RETURN(flexItemProperty->HasBias(), emptyBiasOffset); in CalcBias()
1495 auto biasPair = flexItemProperty->GetBiasValue(); in CalcBias()
1496 CHECK_NULL_RETURN(flexItemProperty->HasAlignRules(), emptyBiasOffset); in CalcBias()
1497 auto alignRules = flexItemProperty->GetAlignRulesValue(); in CalcBias()
1512 …auto alignedValuesOnTwoDirections = GetFirstTwoAlignValues(childWrapper, flexItemProperty, childId… in CalcBias()
1522 …nst RefPtr<LayoutWrapper>& childWrapper, const std::unique_ptr<FlexItemProperty>& flexItemProperty, in GetFirstTwoAlignValues() argument
1525 CHECK_NULL_RETURN(flexItemProperty, {}); in GetFirstTwoAlignValues()
1526 CHECK_NULL_RETURN(flexItemProperty->HasAlignRules(), {}); in GetFirstTwoAlignValues()
[all …]
H A Drelative_container_layout_algorithm.h135 … const std::unique_ptr<FlexItemProperty>& flexItemProperty, const ChildIdealSize& childIdealSize);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract.cpp4219 const auto& flexItemProperty = frameNode->GetLayoutProperty()->GetFlexItemProperty(); in GetAlignSelf() local
4220 CHECK_NULL_RETURN(flexItemProperty, value); in GetAlignSelf()
4221 auto getValue = flexItemProperty->GetAlignSelf(); in GetAlignSelf()
4904 const auto& flexItemProperty = layoutProperty->GetFlexItemProperty(); in GetDisplayIndex() local
4905 CHECK_NULL_RETURN(flexItemProperty, defaultDisplayIndex); in GetDisplayIndex()
4906 return flexItemProperty->GetDisplayIndex().value_or(defaultDisplayIndex); in GetDisplayIndex()