Home
last modified time | relevance | path

Searched refs:arrowWidth (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_tip_modifier.cpp175 auto arrowWidth = static_cast<float>(ARROW_WIDTH.ConvertToPx()); in PaintVerticalBubble() local
189 path.LineTo(vertex_.GetX() + arrowHeight, vertex_.GetY() - arrowWidth * HALF); in PaintVerticalBubble()
199 vertex_.GetY() + arrowWidth * HALF); in PaintVerticalBubble()
206 path.LineTo(vertex_.GetX() - arrowHeight, vertex_.GetY() + arrowWidth * HALF); in PaintVerticalBubble()
216 vertex_.GetY() - arrowWidth * HALF); in PaintVerticalBubble()
285 auto arrowWidth = static_cast<float>(ARROW_WIDTH.ConvertToPx()); in PaintVerticalBubbleSuitableAging() local
298 path.LineTo(vertex_.GetX() + arrowHeight, vertex_.GetY() - arrowWidth * HALF); in PaintVerticalBubbleSuitableAging()
312 path.LineTo(vertex_.GetX() + arrowHeight, vertex_.GetY() + arrowWidth * HALF); in PaintVerticalBubbleSuitableAging()
319 path.LineTo(vertex_.GetX() - arrowHeight, vertex_.GetY() + arrowWidth * HALF); in PaintVerticalBubbleSuitableAging()
333 path.LineTo(vertex_.GetX() - arrowHeight, vertex_.GetY() - arrowWidth * HALF); in PaintVerticalBubbleSuitableAging()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drender_bubble.cpp222 double arrowWidth = NormalizeToPx(ARROW_WIDTH); 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()
350 double arrowWidth = NormalizeToPx(ARROW_WIDTH); in InitArrowState() local
355 arrowWidth); in InitArrowState()
360 arrowWidth); in InitArrowState()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_paint_method.h103 void SetArrowWidth(const float arrowWidth) in SetArrowWidth() argument
105 arrowWidth_ = arrowWidth; in SetArrowWidth()
H A Dbubble_layout_algorithm.cpp540 double arrowWidth = BUBBLE_ARROW_WIDTH.ConvertToPx(); in GetIfNeedArrow() local
543 if (childSize.Height() >= twoRadiusPx + arrowWidth) { in GetIfNeedArrow()
548 if (childSize.Width() >= twoRadiusPx + arrowWidth) { in GetIfNeedArrow()
967 double arrowWidth = BUBBLE_ARROW_WIDTH.ConvertToPx(); 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()
2164 double arrowWidth = ARROW_WIDTH.ConvertToPx(); in InitArrowTopAndBottomPosition() local
2166 auto safePosition = horizonSpacing + radius + arrowWidth / 2.0; in InitArrowTopAndBottomPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Dstepper_component.h169 void SetArrowWidth(const Dimension& arrowWidth) in SetArrowWidth() argument
171 arrowWidth_ = arrowWidth; in SetArrowWidth()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpopup_param.h349 void SetArrowWidth(const Dimension& arrowWidth) in SetArrowWidth() argument
351 arrowWidth_ = arrowWidth; in SetArrowWidth()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-popup.md49 | arrowWidth<sup>11+</sup> | [Dimension](ts-types.md#dimension10) | 否 …
102 | arrowWidth<sup>11+</sup> | [Dimension](ts-types.md#dimension10) …
245 该示例为bindPopup通过配置arrowHeight、arrowWidth、radius、shadow、popupColor,实现气泡箭头以及气泡本身的样式。
266 arrowWidth: 20, // 设置气泡箭头宽度
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/
H A Dbubble_test_ng.cpp1229 Dimension arrowWidth = 20.0_px; variable
1233 popupParam->SetArrowWidth(arrowWidth);
1258 EXPECT_EQ(property->GetArrowWidth().value(), arrowWidth);
1299 Dimension arrowWidth = 20.0_px; variable
1303 popupParam->SetArrowWidth(arrowWidth);
1329 EXPECT_EQ(property->GetArrowWidth().value(), arrowWidth);
1521 Dimension arrowWidth = 1000.0_vp; variable
1523 popupParam->SetArrowWidth(arrowWidth);
2397 float arrowWidth = 2.0; variable
2398 bubblePaintMethod.SetArrowWidth(arrowWidth);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_layout_algorithm.cpp218 auto arrowWidth = static_cast<float>(stepperTheme->GetArrowWidth().ConvertToPx()); in MeasureText() local
220 …buttonLayoutConstraint.maxSize.Width() - controlPadding - controlPadding - arrowWidth - controlPad… in MeasureText()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-popup.md49 | arrowWidth<sup>11+</sup> | [Dimension](ts-types.md#dimension10) | No…
102 | arrowWidth<sup>11+</sup> | [Dimension](ts-types.md#dimension10) …
245 …w to use the **bindPopup** API with properties like **arrowHeight**, **arrowWidth**, **radius**, *…
266 arrowWidth: 20, // Set the width for the popup arrow.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_theme.h108 Dimension arrowWidth; member
428 … theme->cardCalendarTheme_.arrowWidth = pattern->GetAttr<Dimension>("arrow_width", 16.0_vp); in ParseCardCalendarThemePattern()
H A Dcalendar_component.cpp456 Arrow->SetWidth(calendarTheme.arrowWidth); in InitCardButton()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/source/
H A Ddialog.ets1720 arrowWidth: this.popover?.arrowWidth,
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/
H A Ddialog.js4168 arrowWidth: this.popover?.arrowWidth,
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.cpp1032 CalcDimension arrowWidth; in ParsePopupCommonParam() local
1033 if (JSViewAbstract::ParseJsDimensionVp(arrowWidthVal, arrowWidth)) { in ParsePopupCommonParam()
1034 if (arrowWidth.Value() > 0 && arrowWidth.Unit() != DimensionUnit::PERCENT) { in ParsePopupCommonParam()
1035 popupParam->SetArrowWidth(arrowWidth); in ParsePopupCommonParam()