Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/relative_container/
H A Drender_relative_container.cpp464 double anchorHeight = IsAnchorContainer(alignRule.anchor) ? in CalcVerticalOffset() local
473 offsetY = anchorHeight / 2; in CalcVerticalOffset()
476 offsetY = anchorHeight; in CalcVerticalOffset()
488 offsetY = anchorHeight / 2 - flexItemHeight / 2; in CalcVerticalOffset()
491 offsetY = anchorHeight - flexItemHeight / 2; 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.cpp652 float anchorHeight = 0.0f; in GetVerticalAnchorValueByAlignRule() local
656 anchorHeight = in GetVerticalAnchorValueByAlignRule()
676 offsetY = anchorHeight * HALF_MULTIPLY; in GetVerticalAnchorValueByAlignRule()
679 offsetY = anchorHeight; in GetVerticalAnchorValueByAlignRule()
1779 offsetY = anchorHeight * HALF_MULTIPLY; in CalcVerticalOffsetAlignTop()
1782 offsetY = anchorHeight; in CalcVerticalOffsetAlignTop()
1822 offsetY = anchorHeight - flexItemHeight; in CalcVerticalOffsetAlignBottom()
1838 float anchorHeight; in CalcVerticalOffset() local
1840 anchorHeight = in CalcVerticalOffset()
1846 anchorHeight = 0; in CalcVerticalOffset()
[all …]
H A Drelative_container_layout_algorithm.h125 float CalcVerticalOffsetAlignTop(const VerticalAlign& alignRule, float& anchorHeight);
126 …float CalcVerticalOffsetAlignCenter(const VerticalAlign& alignRule, float& anchorHeight, float& fl…
127 …float CalcVerticalOffsetAlignBottom(const VerticalAlign& alignRule, float& anchorHeight, float& fl…