/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/ |
H A D | shape_container_layout_algorithm.cpp | 43 newSize = contentConstraint.Constrain(SizeF(portWidth, portHeight)); in MeasureContent() 60 newSize = contentConstraint.Constrain(SizeF(selfWidth, newHeight)); in MeasureContent() 64 newSize = contentConstraint.Constrain(SizeF(newWidth, selfHeight)); in MeasureContent() 66 return contentConstraint.Constrain(GetChildrenSize(layoutWrapper, newSize)); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | layout_param.h | 90 Size Constrain(Size size) const in Constrain() function 108 Size min = layoutParam.Constrain(minSize_); in Enforce() 109 Size max = layoutParam.Constrain(maxSize_); in Enforce()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/divider/ |
H A D | render_divider.cpp | 48 … auto constrainSize = GetLayoutParam().Constrain(Size(dividerLength_, constrainStrokeWidth_)); in PerformLayout() 55 … auto constrainSize = GetLayoutParam().Constrain(Size(constrainStrokeWidth_, dividerLength_)); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | render_shape_container.cpp | 49 Size newSize = GetLayoutParam().Constrain(Size(viewBoxWidth, viewBoxHeight)); in PerformLayout() 80 SetLayoutSize(GetLayoutParam().Constrain(Size(maxX, maxY))); in PerformLayout()
|
H A D | render_shape.cpp | 52 size = GetLayoutParam().Constrain(size); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/ |
H A D | divider_layout_algorithm.cpp | 55 constrainSize.Constrain(contentConstraint.minSize, contentConstraint.maxSize); in MeasureContent() 67 constrainSize.Constrain(contentConstraint.minSize, contentConstraint.maxSize); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/wrap/ |
H A D | render_wrap.h | 67 wrapSize = GetLayoutParam().Constrain(Size(mainLength, crossLength)); in SetWrapLayoutSize() 69 wrapSize = GetLayoutParam().Constrain(Size(crossLength, mainLength)); in SetWrapLayoutSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/ |
H A D | box_layout_algorithm.cpp | 103 frameSize.Constrain(minSize, maxSize, version10OrLarger); in PerformMeasureSelfWithChildList() 144 frameSize.Constrain(minSize, maxSize, version10OrLarger); in PerformMeasureSelfWithChildList()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/ |
H A D | text_timer_layout_algorithm.cpp | 43 textTimerFrameSize.Constrain(minSize, maxSize); in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/ |
H A D | render_stepper_item.cpp | 43 …auto size = GetLayoutParam().Constrain(Size(child->GetLayoutSize().Width(), child->GetLayoutSize()… in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_layout_algorithm.cpp | 64 auto size = contentConstraint.Constrain(componentSize); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | render_flex.cpp | 156 Rect clampRect = itemRect.Constrain(viewPortRect); in OnPaintFinish() 215 innerLayout.SetMaxSize(constraints.Constrain(innerLayout.GetMaxSize())); in MakeConstrainedLayoutParam() 216 innerLayout.SetMinSize(constraints.Constrain(innerLayout.GetMinSize())); in MakeConstrainedLayoutParam() 1078 … return GetLayoutParam().Constrain(Size(mainSize, GetLayoutParam().GetMaxSize().Height())); in GetConstrainedSize() 1080 … return GetLayoutParam().Constrain(Size(GetLayoutParam().GetMaxSize().Width(), mainSize)); in GetConstrainedSize() 1084 return GetLayoutParam().Constrain(Size(mainSize, crossSize_)); in GetConstrainedSize() 1086 return GetLayoutParam().Constrain(Size(crossSize_, mainSize)); in GetConstrainedSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/ |
H A D | text_clock_layout_algorithm.cpp | 55 textClockFrameSize.Constrain(minSize, maxSize); in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/ |
H A D | render_select.cpp | 60 selectSize_ = GetLayoutParam().Constrain(selectSize_); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_layout_algorithm.cpp | 68 auto constrainSize = contentConstraint.Constrain(maxSize); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/ |
H A D | render_progress.cpp | 87 return GetLayoutParam().Constrain(layoutSize); in Measure()
|
H A D | render_bubble_progress.cpp | 86 layoutSize = GetLayoutParam().Constrain(Size(diameter_, diameter_)); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | render_popup_list_item.cpp | 84 Size layoutSizeAfterConstrain = GetLayoutParam().Constrain(Size(width, height)); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/ |
H A D | checkboxgroup_layout_algorithm.cpp | 63 size.Constrain(contentConstraint.minSize, contentConstraint.maxSize); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/piece/ |
H A D | render_piece.cpp | 41 SetLayoutSize(GetLayoutParam().Constrain(child->GetLayoutSize())); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | render_tool_bar.cpp | 42 Size layoutSize = GetLayoutParam().Constrain(Size(toolBarWidth_, toolBarHeight_)); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/ |
H A D | marquee_layout_algorithm.cpp | 70 frameSize.Constrain(SizeF { 0.0f, 0.0f }, SizeF { maxSize.Width(), childFrame.Height() }); in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_layout_algorithm.cpp | 65 return contentConstraint.Constrain(componentSize); in MeasureContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_clock/ |
H A D | render_text_clock.cpp | 114 SetLayoutSize(GetLayoutParam().Constrain(timeTextChild->GetLayoutSize())); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
H A D | dot_indicator_layout_algorithm.cpp | 102 frameSize.Constrain(layoutConstraint->minSize, layoutConstraint->maxSize); in Measure()
|