Home
last modified time | relevance | path

Searched refs:childWidth (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drosen_render_tip.cpp218 double childWidth = GetLayoutSize().Width() - bubbleSpacing; in PaintLeftTip() local
240 …globalArrowPosition.GetX() - bubbleSpacing - (childWidth - NormalizeToPx(border_.TopLeftRadius().G… in PaintLeftTip()
243 …Size::kSmall_ArcSize, SkPathkCCWDirection, globalArrowPosition.GetX() - bubbleSpacing - childWidth, in PaintLeftTip()
245 path_.lineTo(globalArrowPosition.GetX() - bubbleSpacing - childWidth, in PaintLeftTip()
249 …globalArrowPosition.GetX() - bubbleSpacing - (childWidth - NormalizeToPx(border_.BottomLeftRadius(… in PaintLeftTip()
277 double childWidth = GetLayoutSize().Width() - bubbleSpacing; in PaintLeftTip() local
300 …globalArrowPosition.GetX() - bubbleSpacing - (childWidth - NormalizeToPx(border_.TopLeftRadius().G… in PaintLeftTip()
303 RSPathDirection::CCW_DIRECTION, globalArrowPosition.GetX() - bubbleSpacing - childWidth, in PaintLeftTip()
305 path_.LineTo(globalArrowPosition.GetX() - bubbleSpacing - childWidth, in PaintLeftTip()
309 …globalArrowPosition.GetX() - bubbleSpacing - (childWidth - NormalizeToPx(border_.BottomLeftRadius(… in PaintLeftTip()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drosen_render_bubble.cpp499 double childWidth = childSize_.Width(); in PaintTopBubble() local
518 0.0f, SkPath::ArcSize::kSmall_ArcSize, SkPathkCCWDirection, childOffsetX + childWidth, in PaintTopBubble()
520 …path_.lineTo(childOffsetX + childWidth, childOffsetY + NormalizeToPx(border_.TopRightRadius().GetY… in PaintTopBubble()
523 childOffsetX + childWidth - NormalizeToPx(border_.TopRightRadius().GetX()), childOffsetY); in PaintTopBubble()
552 double childWidth = childSize_.Width(); in PaintTopBubble() local
571 0.0f, RSPathDirection::CCW_DIRECTION, childOffsetX + childWidth, in PaintTopBubble()
573 …path_.LineTo(childOffsetX + childWidth, childOffsetY + NormalizeToPx(border_.TopRightRadius().GetY… in PaintTopBubble()
608 double childWidth = childSize_.Width(); in PaintBottomBubble() local
626 SkPath::ArcSize::kSmall_ArcSize, SkPathkCCWDirection, childOffsetX + childWidth, in PaintBottomBubble()
661 double childWidth = childSize_.Width(); in PaintBottomBubble() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/
H A Dtext_input_layout_algorithm.cpp418 float childWidth = 0.0f; in BuildLayoutConstraintWithoutResponseArea() local
421 childWidth += responseArea->Measure(layoutWrapper, childIndex).Width(); in BuildLayoutConstraintWithoutResponseArea()
425 childWidth += cleanNodeResponseArea->Measure(layoutWrapper, childIndex).Width(); in BuildLayoutConstraintWithoutResponseArea()
429 …newLayoutConstraint.maxSize.SetWidth(std::max(newLayoutConstraint.maxSize.Width() - childWidth, 0.… in BuildLayoutConstraintWithoutResponseArea()
430 …newLayoutConstraint.minSize.SetWidth(std::max(newLayoutConstraint.minSize.Width() - childWidth, 0.… in BuildLayoutConstraintWithoutResponseArea()
432 …tConstraint.selfIdealSize.SetWidth(newLayoutConstraint.selfIdealSize.Width().value() - childWidth); in BuildLayoutConstraintWithoutResponseArea()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpopup_param.h229 void SetChildWidth(const Dimension& childWidth) in SetChildWidth() argument
231 childwidth_ = childWidth; in SetChildWidth()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/
H A Dlinear_split_layout_algorithm.cpp173 float childWidth = child->GetGeometryNode()->GetMarginFrameSize().Width(); in MeasureChildren() local
175 allocatedSize += childWidth; in MeasureChildren()
177 childMaxWidth = childWidth > childMaxWidth ? childWidth : childMaxWidth; in MeasureChildren()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box_base.cpp575 double childWidth = childSize_.Width() + padding_.GetLayoutSize().Width() + borderSize.Width(); in CalculateSelfLayoutSize() local
583 if (layoutSetByParent.GetMaxSize().IsWidthInfinite() && viewPort_.Width() < childWidth) { in CalculateSelfLayoutSize()
584 width = childWidth; in CalculateSelfLayoutSize()
592 width = childWidth; in CalculateSelfLayoutSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp298 auto childWidth = child->GetGeometryNode()->GetMarginFrameSize().Width(); in Measure() local
315 … if (childWidth + targetOffset.GetX() + targetSize.Width() + scaledBubbleSpacing <= rootW && in Measure()
316 targetOffset.GetX() - childWidth - scaledBubbleSpacing >= 0) { in Measure()