Home
last modified time | relevance | path

Searched refs:flexItemHeight (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/relative_container/
H A Drender_relative_container.cpp463 double flexItemHeight = flexItem->GetLayoutSize().Height(); in CalcVerticalOffset() local
485 offsetY = (-1) * flexItemHeight / 2; in CalcVerticalOffset()
488 offsetY = anchorHeight / 2 - flexItemHeight / 2; in CalcVerticalOffset()
491 offsetY = anchorHeight - flexItemHeight / 2; in CalcVerticalOffset()
500 offsetY = (-1) * flexItemHeight; in CalcVerticalOffset()
503 offsetY = anchorHeight / 2 - flexItemHeight; in CalcVerticalOffset()
506 offsetY = anchorHeight - flexItemHeight; in CalcVerticalOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/relative_container/
H A Drelative_container_layout_algorithm.h126 …ticalOffsetAlignCenter(const VerticalAlign& alignRule, float& anchorHeight, float& flexItemHeight);
127 …ticalOffsetAlignBottom(const VerticalAlign& alignRule, float& anchorHeight, float& flexItemHeight);
H A Drelative_container_layout_algorithm.cpp1791 const VerticalAlign& alignRule, float& anchorHeight, float& flexItemHeight) in CalcVerticalOffsetAlignCenter() argument
1796 offsetY = (-1) * flexItemHeight * HALF_MULTIPLY; in CalcVerticalOffsetAlignCenter()
1799 offsetY = (anchorHeight - flexItemHeight) * HALF_MULTIPLY; in CalcVerticalOffsetAlignCenter()
1802 offsetY = anchorHeight - flexItemHeight * HALF_MULTIPLY; in CalcVerticalOffsetAlignCenter()
1811 const VerticalAlign& alignRule, float& anchorHeight, float& flexItemHeight) in CalcVerticalOffsetAlignBottom() argument
1816 offsetY = (-1) * flexItemHeight; in CalcVerticalOffsetAlignBottom()
1819 offsetY = anchorHeight * HALF_MULTIPLY - flexItemHeight; in CalcVerticalOffsetAlignBottom()
1822 offsetY = anchorHeight - flexItemHeight; in CalcVerticalOffsetAlignBottom()
1837 float flexItemHeight = childWrapper->GetGeometryNode()->GetMarginFrameSize().Height(); in CalcVerticalOffset() local
1865 … offsetY = CalcVerticalOffsetAlignCenter(alignRule.vertical, anchorHeight, flexItemHeight); in CalcVerticalOffset()
[all …]