Home
last modified time | relevance | path

Searched refs:bottomPosition (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_layoutFst_test_ng.cpp876 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
896 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1019 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1039 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1062 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1086 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1107 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1133 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1159 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
1185 OffsetF bottomPosition(BOTTOM_POSITION_X, BOTTOM_POSITION_Y);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp697 …OffsetF bottomPosition = OffsetF(targetOffset_.GetX() + (targetSize_.Width() - childSize.Width()) … in GetChildPositionNew() local
741 … childPosition = GetPositionWithPlacementNew(childSize, topPosition, bottomPosition, ArrowOffset); in GetChildPositionNew()
801 …childPosition = GetPositionWithPlacementNew(childSize, topPosition, bottomPosition, arrowPosition); in GetAdjustPosition()
904 … childPosition = (this->*placementFunc)(childSize, topPosition, bottomPosition, arrowPosition); in GetPositionWithPlacementNew()
1243 arrowPosition = bottomPosition + OffsetF(radius + arrowHalfWidth, -bubbleSpacing); in GetPositionWithPlacementBottom()
1247 return bottomPosition; in GetPositionWithPlacementBottom()
2093 OffsetF bottomPosition; in GetChildPosition() local
2121 fitPosition = bottomPosition; in GetChildPosition()
2137 fitPosition = fitPosition == topPosition ? bottomPosition : topPosition; in GetChildPosition()
2160 OffsetF& topPosition, OffsetF& bottomPosition, const SizeF& childSize) in InitArrowTopAndBottomPosition() argument
[all …]
H A Dbubble_layout_algorithm.h158 const OffsetF& topPosition, const OffsetF& bottomPosition, OffsetF& arrowPosition);
164 …const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition, OffsetF& arrowP…
206 OffsetF& bottomPosition, const SizeF& childSize);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/toast/
H A Dtoast_component.cpp183 …Dimension bottomPosition = StringUtils::StringToDimensionWithThemeValue(bottom, true, toastTheme->… in Show() local
203 …positioned->SetBottom(GreatOrEqual(bottomPosition.Value(), 0.0) ? bottomPosition : toastTheme->Get… in Show()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drender_bubble.h75 …sitionWithPlacement(const Size& childSize, const Offset& topPosition, const Offset& bottomPosition,
136 Offset& bottomPosition, const Size& childSize);
H A Drender_bubble.cpp364 Offset& topPosition, Offset& bottomPosition, const Size& childSize) in InitArrowTopAndBottomPosition() argument
373 bottomArrowPosition = bottomPosition + Offset(std::max(NormalizeToPx(padding_.Left()), in InitArrowTopAndBottomPosition()
389 …Offset bottomPosition = Offset(targetOffset_.GetX() + (targetSize_.Width() - childSize.Width()) / … in GetChildPosition() local
392 bottomPosition += Offset(0.0, scaledBubbleSpacing); in GetChildPosition()
401 …opAndBottomPosition(topArrowPosition, bottomArrowPosition, topPosition, bottomPosition, childSize); in GetChildPosition()
403 …GetPositionWithPlacement(childSize, topPosition, bottomPosition, topArrowPosition, bottomArrowPosi… in GetChildPosition()
414 childPosition = FitToScreen(bottomPosition, childSize); in GetChildPosition()
435 const Offset& bottomPosition, const Offset& topArrowPosition, const Offset& bottomArrowPosition) in GetPositionWithPlacement() argument
462 childPosition = bottomPosition; in GetPositionWithPlacement()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.cpp2063 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacement() argument
2264 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetAdjustPosition() argument
2539 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementTop() argument
2545 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementTopLeft() argument
2556 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementTopRight() argument
2567 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementBottom() argument
2569 return bottomPosition; in GetPositionWithPlacementBottom()
2573 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementBottomLeft() argument
2584 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementBottomRight() argument
2595 const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition) in GetPositionWithPlacementLeft() argument
[all …]
H A Dmenu_layout_algorithm.h157 …onWithPlacement(const SizeF& childSize, const OffsetF& topPosition, const OffsetF& bottomPosition);
182 const OffsetF& topPosition, const OffsetF& bottomPosition);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/
H A Dbubble_test_ng.cpp2059 auto bottomPosition = OffsetF(0.0f, 0.0f); variable
2065 …bubbleLayoutAlgorithm->GetPositionWithPlacementTopLeft(childSize, topPosition, bottomPosition, arr…
2066 …bubbleLayoutAlgorithm->GetPositionWithPlacementTopRight(childSize, topPosition, bottomPosition, ar…
2067 …lgorithm->GetPositionWithPlacementBottomLeft(childSize, topPosition, bottomPosition, arrowPosition…
2068 …gorithm->GetPositionWithPlacementBottomRight(childSize, topPosition, bottomPosition, arrowPosition…
2069 …bubbleLayoutAlgorithm->GetPositionWithPlacementLeftTop(childSize, topPosition, bottomPosition, arr…
2070 …bubbleLayoutAlgorithm->GetPositionWithPlacementRightTop(childSize, topPosition, bottomPosition, ar…
2071 …gorithm->GetPositionWithPlacementRightBottom(childSize, topPosition, bottomPosition, arrowPosition…
2153 …OffsetF bottomPosition = OffsetF(targetOffset.GetX() + (targetSize.Width() - childSize.Width()) / … variable
2160 curPlaceStates, 1, childSize, topPosition, bottomPosition, offsetPos);