Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/relative_container/
H A Drender_relative_container.cpp403 double anchorWidth = IsAnchorContainer(alignRule.anchor) ? in CalcHorizontalOffset() local
412 offsetX = anchorWidth / 2; in CalcHorizontalOffset()
415 offsetX = anchorWidth; in CalcHorizontalOffset()
427 offsetX = anchorWidth / 2 - flexItemWidth / 2; in CalcHorizontalOffset()
430 offsetX = anchorWidth - flexItemWidth / 2; in CalcHorizontalOffset()
442 offsetX = anchorWidth / 2 - flexItemWidth; in CalcHorizontalOffset()
445 offsetX = anchorWidth - flexItemWidth; in CalcHorizontalOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/relative_container/
H A Drelative_container_layout_algorithm.cpp610 float anchorWidth = 0.0f; in GetHorizontalAnchorValueByAlignRule() local
614 anchorWidth = versionGreatorOrEqualToEleven_ in GetHorizontalAnchorValueByAlignRule()
633 offsetX = anchorWidth * HALF_MULTIPLY; in GetHorizontalAnchorValueByAlignRule()
636 offsetX = anchorWidth; in GetHorizontalAnchorValueByAlignRule()
1669 offsetX = anchorWidth * HALF_MULTIPLY; in CalcHorizontalOffsetAlignLeft()
1672 offsetX = anchorWidth; in CalcHorizontalOffsetAlignLeft()
1712 offsetX = anchorWidth - flexItemWidth; in CalcHorizontalOffsetAlignRight()
1728 float anchorWidth; in CalcHorizontalOffset() local
1730 anchorWidth = anchorIsContainer in CalcHorizontalOffset()
1735 anchorWidth = 0; in CalcHorizontalOffset()
[all …]
H A Drelative_container_layout_algorithm.h120 float CalcHorizontalOffsetAlignLeft(const HorizontalAlign& alignRule, float& anchorWidth);
121 …float CalcHorizontalOffsetAlignMiddle(const HorizontalAlign& alignRule, float& anchorWidth, float&…
122 …float CalcHorizontalOffsetAlignRight(const HorizontalAlign& alignRule, float& anchorWidth, float& …