Home
last modified time | relevance | path

Searched refs:twoRadiusPx (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drender_bubble.cpp223 double twoRadiusPx = NormalizeToPx(BUBBLE_RADIUS) * 2.0; in UpdateCustomChildPosition() local
226 showCustomArrow_ = GreatOrEqual(childSize_.Width() - twoRadiusPx, arrowWidth); in UpdateCustomChildPosition()
230 showCustomArrow_ = GreatOrEqual(childSize_.Width() - twoRadiusPx, arrowWidth); in UpdateCustomChildPosition()
236 showCustomArrow_ = GreatOrEqual(childSize_.Width() - twoRadiusPx, arrowWidth); in UpdateCustomChildPosition()
240 showCustomArrow_ = GreatOrEqual(childSize_.Width() - twoRadiusPx, arrowWidth); in UpdateCustomChildPosition()
248 showCustomArrow_ = GreatOrEqual(childSize_.Height() - twoRadiusPx, arrowWidth); in UpdateCustomChildPosition()
256 showCustomArrow_ = GreatOrEqual(childSize_.Height() - twoRadiusPx, arrowWidth); in UpdateCustomChildPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp541 double twoRadiusPx = borderRadius_.ConvertToPx() * 2.0; in GetIfNeedArrow() local
543 if (childSize.Height() >= twoRadiusPx + arrowWidth) { in GetIfNeedArrow()
548 if (childSize.Width() >= twoRadiusPx + arrowWidth) { in GetIfNeedArrow()
968 double twoRadiusPx = borderRadius_.ConvertToPx() * 2.0; in UpdateChildPosition() local
974 showArrow_ = GreatOrEqual(childSize_.Width() - twoRadiusPx, arrowWidth); in UpdateChildPosition()
982 showArrow_ = GreatOrEqual(childSize_.Width() - twoRadiusPx, arrowWidth); in UpdateChildPosition()
990 showArrow_ = GreatOrEqual(childSize_.Height() - twoRadiusPx, arrowWidth); in UpdateChildPosition()
998 showArrow_ = GreatOrEqual(childSize_.Height() - twoRadiusPx, arrowWidth); in UpdateChildPosition()