Home
last modified time | relevance | path

Searched refs:topArrowPosition (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drender_bubble.h76 const Offset& topArrowPosition, const Offset& bottomArrowPosition);
135 …void InitArrowTopAndBottomPosition(Offset& topArrowPosition, Offset& bottomArrowPosition, Offset& …
H A Drender_bubble.cpp363 void RenderBubble::InitArrowTopAndBottomPosition(Offset& topArrowPosition, Offset& bottomArrowPosit… in InitArrowTopAndBottomPosition() argument
369 topArrowPosition = topPosition + Offset(std::max(NormalizeToPx(padding_.Left()), in InitArrowTopAndBottomPosition()
379 topArrowPosition = Offset(targetOffset_.GetX() + targetSize_.Width() / 2.0, in InitArrowTopAndBottomPosition()
399 Offset topArrowPosition; in GetChildPosition() local
401 …InitArrowTopAndBottomPosition(topArrowPosition, bottomArrowPosition, topPosition, bottomPosition, … in GetChildPosition()
403 …GetPositionWithPlacement(childSize, topPosition, bottomPosition, topArrowPosition, bottomArrowPosi… in GetChildPosition()
423 arrowPosition_ = topArrowPosition; in GetChildPosition()
430 arrowPosition_ = arrowPlacement_ == Placement::TOP ? topArrowPosition : bottomArrowPosition; in GetChildPosition()
435 const Offset& bottomPosition, const Offset& topArrowPosition, const Offset& bottomArrowPosition) in GetPositionWithPlacement() argument
449 arrowPosition_ = topArrowPosition; in GetPositionWithPlacement()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp2095 OffsetF topArrowPosition; in GetChildPosition() local
2102 …InitArrowTopAndBottomPosition(topArrowPosition, bottomArrowPosition, topPosition, bottomPosition, … in GetChildPosition()
2117 arrowPosition_ = topArrowPosition; in GetChildPosition()
2138 arrowPosition_ = arrowPlacement_ == Placement::TOP ? bottomArrowPosition : topArrowPosition; in GetChildPosition()
2159 void BubbleLayoutAlgorithm::InitArrowTopAndBottomPosition(OffsetF& topArrowPosition, OffsetF& botto… in InitArrowTopAndBottomPosition() argument
2168 GetPositionWithPlacement(topPosition, topArrowPosition, childSize, Placement::TOP); in InitArrowTopAndBottomPosition()
2175 topArrowPosition = topArrowPosition + OffsetF(safePosition - arrowCenter, 0); in InitArrowTopAndBottomPosition()
2179topArrowPosition = topArrowPosition - OffsetF(arrowCenter + safePosition - selfSize_.Width(), 0); in InitArrowTopAndBottomPosition()
H A Dbubble_layout_algorithm.h205 …void InitArrowTopAndBottomPosition(OffsetF& topArrowPosition, OffsetF& bottomArrowPosition, Offset…