Home
last modified time | relevance | path

Searched refs:childSize_ (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_paint_method.cpp134 …canvas.Translate(childOffset_.GetX() + childSize_.Width() / 2.0, childOffset_.GetY() + childSize_.… in PaintBorder()
135 … canvas.Scale(1.0 - (borderWidth / childSize_.Width()), 1.0 - (borderWidth / childSize_.Height())); in PaintBorder()
137 …-(childOffset_.GetX() + childSize_.Width() / 2.0), -(childOffset_.GetY() + childSize_.Height() / 2… in PaintBorder()
356 childOffset_.GetY() + childSize_.Height()); in MakeRRect()
546 childOffset_.GetX() + childSize_.Width() - radius, in BuildCornerPath()
547 childOffsetY + childSize_.Height() - borderOffset); in BuildCornerPath()
590 childOffsetY + childSize_.Height() - radius - borderOffset); in BuildRightLinePath()
621 childOffsetY + childSize_.Height() - radius); in BuildRightDoubleBorderPath()
645 childOffsetY + childSize_.Height() - borderOffset); in BuildBottomLinePath()
678 childOffsetY + childSize_.Height() - borderOffset); in BuildBottomDoubleBorderPath()
[all …]
H A Dbubble_layout_algorithm.cpp372 …auto littleSide = childSize_.Height() > childSize_.Width() ? childSize_.Width() : childSize_.Heigh… in SetBubbleRadius()
410 childSize_ = SizeF(childShowWidth, childShowHeight); in BubbleAvoidanceRule()
511 childSize_.Width(), childSize_.Height()); in SetHotAreas()
515 childSize_.Width(), childSize_.Height()); in SetHotAreas()
743 didNeedArrow = GetIfNeedArrow(bubbleProp, childSize_); in GetChildPositionNew()
1014 OffsetF bottomRight = OffsetF(childSize_.Width(), childSize_.Height()); in UpdateTouchRegion()
1490 childSizeWidthOrHeight = childSize_.Width(); in GetArrowOffset()
1495 childSizeWidthOrHeight = childSize_.Height(); in GetArrowOffset()
1773 …path += LineTo(childOffset_.GetX() + childSize_.Width(), childOffsetY + childSize_.Height() - radi… in BuildRightLinePath()
1796 childOffsetY + childSize_.Height()); in BuildBottomLinePath()
[all …]
H A Dbubble_pattern.h68 bubbleMethod->SetChildSize(childSize_); in CreateNodePaintMethod()
113 return childSize_; in GetChildSize()
270 SizeF childSize_; variable
H A Dbubble_paint_method.h75 childSize_ = size; in SetChildSize()
175 SizeF childSize_; variable
H A Dbubble_layout_algorithm.h61 return childSize_; in GetChildSize()
223 SizeF childSize_; variable
H A Dbubble_pattern.cpp64 childSize_ = bubbleLayoutAlgorithm->GetChildSize(); in OnDirtyLayoutWrapperSwap()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drender_bubble.cpp209 childSize_ = child->GetLayoutSize(); in PerformLayout()
210 childOffset_ = GetChildPosition(childSize_); in PerformLayout()
216 UpdateAccessibilityInfo(childSize_, childOffset_); in PerformLayout()
352 childSize_.Width() - in InitArrowState()
357 childSize_.Width() - in InitArrowState()
649 … childOffset_.GetX() + childSize_.Width() - radius, childOffset_.GetY() + childSize_.Height()); in BuildCornerPath()
673 … childOffset_.GetX() + childSize_.Width() - radius, childOffset_.GetY() + childSize_.Height()); in BuildCornerPath()
773 …path.lineTo(childOffset_.GetX() + childSize_.Width(), childOffset_.GetY() + childSize_.Height() - … in BuildRightLinePath()
803 …path.LineTo(childOffset_.GetX() + childSize_.Width(), childOffset_.GetY() + childSize_.Height() - … in BuildRightLinePath()
815 childOffset_.GetY() + childSize_.Height()); in BuildBottomLinePath()
[all …]
H A Drosen_render_bubble.cpp49 …= SkRect::MakeXYWH(childOffset_.GetX(), childOffset_.GetY(), childSize_.Width(), childSize_.Height… in MakeRRect()
246 double childHeight = childSize_.Height(); in PaintTopBubbleInJs()
499 double childWidth = childSize_.Width(); in PaintTopBubble()
552 double childWidth = childSize_.Width(); in PaintTopBubble()
608 double childWidth = childSize_.Width(); in PaintBottomBubble()
661 double childWidth = childSize_.Width(); in PaintBottomBubble()
776 … childOffset_.GetX() + childSize_.Width() / 2.0, childOffset_.GetY() + childSize_.Height() / 2.0); in PaintBorder()
777 …skCanvas->scale(1.0 - (borderWidth / childSize_.Width()), 1.0 - (borderWidth / childSize_.Height()… in PaintBorder()
779 …-(childOffset_.GetX() + childSize_.Width() / 2.0), -(childOffset_.GetY() + childSize_.Height() / 2… in PaintBorder()
823 …canvas->Scale(1.0 - (borderWidth / childSize_.Width()), 1.0 - (borderWidth / childSize_.Height())); in PaintBorder()
[all …]
H A Drender_bubble.h110 Size childSize_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drender_tip.h38 return childSize_; in GetChildSize()
49 Size childSize_; variable
H A Drender_tip.cpp63 childSize_ = layoutSize + padding_.GetLayoutSizeInPx(context->GetDipScale()); in PerformLayout()
64 … border_.SetBorderRadius(direction_ == Axis::VERTICAL ? Radius(Dimension(childSize_.Width() * HALF, in PerformLayout()
65 DimensionUnit::PX)) : Radius(Dimension(childSize_.Height() * HALF, DimensionUnit::PX))); in PerformLayout()
H A Drosen_render_tip.cpp97 double childHalfWidth = childSize_.Width() * HALF; in PaintTopTip()
155 double childHalfWidth = childSize_.Width() * HALF; in PaintTopTip()
219 double childHalfHeight = childSize_.Height() * HALF; in PaintLeftTip()
278 double childHalfHeight = childSize_.Height() * HALF; in PaintLeftTip()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_properties.h297 NG::SizeF childSize_; member
308 .append(childSize_.ToString()) in ToString()
319 NG::SizeF childSize_; member
330 .append(childSize_.ToString()) in ToString()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box_base.cpp569 childSize_ = GetChildren().front()->GetLayoutSize(); in CalculateSelfLayoutSize()
570 childWidth_ = childSize_.Width(); in CalculateSelfLayoutSize()
571 childHeight_ = childSize_.Height(); in CalculateSelfLayoutSize()
575 double childWidth = childSize_.Width() + padding_.GetLayoutSize().Width() + borderSize.Width(); in CalculateSelfLayoutSize()
602 …double childHeight = childSize_.Height() + padding_.GetLayoutSize().Height() + borderSize.Height(); in CalculateSelfLayoutSize()
619 height = childSize_.Height() + padding_.GetLayoutSize().Height() + borderSize.Height(); in CalculateSelfLayoutSize()
663 …isChildOverflow_ = childSize_.Width() > GetLayoutSize().Width() || childSize_.Height() > GetLayout… in CalculateSelfLayoutSize()
822 .append(childSize_.ToString()) in Dump()
875 childSize_ = Size(); in ClearRenderObject()
H A Drender_box_base.h377 Size childSize_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_layout_algorithm.cpp171 childSize_ = childWrapper->GetGeometryNode()->GetContentSize(); in HandleAdaptiveText()
231 … auto actualHeight = static_cast<float>(childSize_.Height() + topPadding + bottomPadding); in PerformMeasureSelf()
239 … if (GreatOrEqual(childSize_.Height() + topPadding + bottomPadding, frameSize.Height())) { in PerformMeasureSelf()
240 … frameSize = SizeF(frameSize.Width(), childSize_.Height() + topPadding + bottomPadding); in PerformMeasureSelf()
H A Dbutton_layout_algorithm.h51 SizeF childSize_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_layout_algorithm.cpp238 auto childSize_ = child->GetGeometryNode()->GetMarginFrameSize(); in CalculateBlockOffset() local
265 …circleCenter.GetX() - childSize_.Width() * HALF, circleCenter.GetY() - childSize_.Height() * HALF); in CalculateBlockOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_pattern.cpp1119 .childSize_ = childSize, in AddScrollMeasureInfo()
1133 .childSize_ = viewPortExtent_, in AddScrollLayoutInfo()