Searched refs:anchorWidth (Results 1 – 3 of 3) sorted by relevance
403 double anchorWidth = IsAnchorContainer(alignRule.anchor) ? in CalcHorizontalOffset() local412 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()
610 float anchorWidth = 0.0f; in GetHorizontalAnchorValueByAlignRule() local614 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() local1730 anchorWidth = anchorIsContainer in CalcHorizontalOffset()1735 anchorWidth = 0; in CalcHorizontalOffset()[all …]
120 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& …