/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stack/ |
H A D | render_stack.cpp | 119 double width = GetLayoutParam().GetMinSize().Width(); in DetermineStackSize() 120 double height = GetLayoutParam().GetMinSize().Height(); in DetermineStackSize() 128 …constrainedWidth = std::clamp(item->GetLayoutSize().Width(), GetLayoutParam().GetMinSize().Width(), in DetermineStackSize() 130 …strainedHeight = std::clamp(item->GetLayoutSize().Height(), GetLayoutParam().GetMinSize().Height(), in DetermineStackSize() 142 GetLayoutParam().GetMinSize().Width(), GetLayoutParam().GetMaxSize().Width()); in DetermineStackSize() 144 GetLayoutParam().GetMinSize().Height(), GetLayoutParam().GetMaxSize().Height()); in DetermineStackSize() 209 …double width = std::clamp(item->GetWidth(), innerLayout.GetMinSize().Width(), innerLayout.GetMaxSi… in MakePositionedInnerLayoutParam() 210 …double height = std::clamp(item->GetHeight(), innerLayout.GetMinSize().Height(), innerLayout.GetMa… in MakePositionedInnerLayoutParam() 214 innerLayout.SetMinSize(Size(width, innerLayout.GetMinSize().Height())); in MakePositionedInnerLayoutParam() 217 innerLayout.SetMinSize(Size(innerLayout.GetMinSize().Width(), height)); in MakePositionedInnerLayoutParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/ |
H A D | blank_pattern.cpp | 78 auto blankMin = blankProperty->GetMinSize().value_or(Dimension()); in DumpInfo() 113 CHECK_NULL_VOID(layoutProp->GetMinSize().has_value()); in BeforeCreateLayoutWrapper() 114 auto blankMin = layoutProp->GetMinSize().value_or(Dimension(0.0, DimensionUnit::VP)); in BeforeCreateLayoutWrapper() 132 auto blankMin = blankProperty->GetMinSize().value_or(Dimension()); in DumpSimplifyInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box_base.cpp | 162 selfMinWidth_ = constraints_.GetMinSize().Width(); in CalculateWidth() 189 selfMinHeight_ = constraints_.GetMinSize().Height(); in CalculateHeight() 400 gridLayoutParam.SetMinSize(Size(width_.Value(), gridLayoutParam.GetMinSize().Height())); in CalculateGridLayoutSize() 470 auto minWidth = selfLayout.GetMinSize().Width(); in AdjustSizeByAspectRatio() 472 auto minHeight = selfLayout.GetMinSize().Height(); in AdjustSizeByAspectRatio() 516 double minWidth = std::max(selfLayoutParam_.GetMinSize().Width() - deflate.Width(), 0.0); in SetChildLayoutParam() 517 double minHeight = std::max(selfLayoutParam_.GetMinSize().Height() - deflate.Height(), 0.0); in SetChildLayoutParam() 637 if (layoutSetByParent.GetMaxSize().Width() == layoutSetByParent.GetMinSize().Width()) { in CalculateSelfLayoutSize() 638 width = layoutSetByParent.GetMinSize().Width() - margin_.GetLayoutSize().Width(); in CalculateSelfLayoutSize() 640 if (layoutSetByParent.GetMaxSize().Height() == layoutSetByParent.GetMinSize().Height()) { in CalculateSelfLayoutSize() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_bar.cpp | 224 innerLayoutParam.SetMinSize(Size(averageWidth, innerLayoutParam.GetMinSize().Height())); in LayoutChildren() 535 double tabMinWidth = std::max(0.0, innerLayout.GetMinSize().Width() - paddingHorizontal); in MakeInnerLayoutParam() 537 double tabMinHeight = std::max(0.0, innerLayout.GetMinSize().Height() - paddingVertical); in MakeInnerLayoutParam() 544 …innerLayout.SetMinSize(Size(std::max(innerLayout.GetMinSize().Width(), 0.0), std::max(tabMinHeight… in MakeInnerLayoutParam() 552 …innerLayout.SetMinSize(Size(std::max(tabMinWidth, 0.0), std::max(innerLayout.GetMinSize().Height()… in MakeInnerLayoutParam() 559 … Size(std::max(innerLayout.GetMinSize().Width(), 0.0), innerLayout.GetMinSize().Height())); in MakeInnerLayoutParam() 563 … Size(innerLayout.GetMinSize().Width(), std::max(innerLayout.GetMinSize().Height(), 0.0))); in MakeInnerLayoutParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | render_texture.cpp | 106 double width = GetLayoutParam().GetMinSize().Width(); in Measure() 107 double height = GetLayoutParam().GetMinSize().Height(); in Measure()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/relative_container/ |
H A D | render_relative_container.cpp | 56 …itemLayout.SetMinSize(Size(GetLayoutParam().GetMinSize().Width(), GetLayoutParam().GetMinSize().He… in CollectNodesById() 258 itemMinWidth = GetLayoutParam().GetMinSize().Width(); in CalcLayoutParam() 297 itemMinHeight = GetLayoutParam().GetMinSize().Height(); in CalcLayoutParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_utils.h | 147 bool isAutoFill = swiperLayoutProperty->GetMinSize().has_value(); in CheckAutoFillDisplayCount() 151 auto minSize = swiperLayoutProperty->GetMinSize()->ConvertToPx(); in CheckAutoFillDisplayCount()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | rosen_render_text.cpp | 183 lastLayoutMinWidth_ = GetLayoutParam().GetMinSize().Width(); in Measure() 185 lastLayoutMinHeight_ = GetLayoutParam().GetMinSize().Height(); in Measure() 241 double paragraphMinWidth = GetLayoutParam().GetMinSize().Width(); in CheckMeasureFlag() 243 double paragraphMinHeight = GetLayoutParam().GetMinSize().Height(); in CheckMeasureFlag()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/ |
H A D | water_flow_layout_utils.cpp | 111 if (childLayoutProperty->GetMinSize().has_value()) { in CreateChildConstraint() 112 … itemConstraint.UpdateMinSizeWithCheck(ConvertToSize(childLayoutProperty->GetMinSize().value(), in CreateChildConstraint()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/padding/ |
H A D | render_padding.cpp | 48 Size minLayoutSize = GetLayoutParam().GetMinSize() - layoutSize; in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg.cpp | 197 layoutParam.GetMinSize().Width(), layoutParam.GetMaxSize().Width())); in PerformLayout() 211 layoutParam.GetMinSize().Height(), layoutParam.GetMaxSize().Height())); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/ |
H A D | water_flow_item_layout_property.h | 75 std::optional<CalcSize> GetMinSize() const in GetMinSize() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | render_shape_container.cpp | 53 child->Layout(LayoutParam(newSize, GetLayoutParam().GetMinSize())); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | layout_param.h | 44 const Size& GetMinSize() const in GetMinSize() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | render_tool_bar.cpp | 70 double toolBarMinWidth = std::max(0.0, innerLayout.GetMinSize().Width()); in MakeInnerLayoutParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_layout_manager.cpp | 82 minSize = Size(extent, renderList_.GetLayoutParam().GetMinSize().Height()); in MakeInnerLayoutParam() 85 minSize = Size(renderList_.GetLayoutParam().GetMinSize().Width(), extent); in MakeInnerLayoutParam() 96 minSize = Size(0.0, renderList_.GetLayoutParam().GetMinSize().Height()); in MakeInnerLayoutParam() 103 minSize = Size(renderList_.GetLayoutParam().GetMinSize().Width(), 0.0); in MakeInnerLayoutParam()
|
H A D | grid_layout_manager.cpp | 90 … innerLayout.SetMinSize(Size(gridLen_ * columnSpan, innerLayout.GetMinSize().Height())); in MakeInnerLayoutParam() 93 … innerLayout.SetMinSize(Size(innerLayout.GetMinSize().Width(), gridLen_ * columnSpan)); in MakeInnerLayoutParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/ |
H A D | render_badge.cpp | 133 Size minSize = layoutParam.GetMinSize(); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_column.cpp | 211 if (GetLayoutParam().GetMinSize() == GetLayoutParam().GetMaxSize()) { in PerformLayout() 233 auto min = layout.GetMinSize(); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list_item_group.cpp | 42 minSize = Size(GetLayoutParam().GetMinSize().Width(), 0.0); in MakeInnerLayout() 50 minSize = Size(0.0, GetLayoutParam().GetMinSize().Height()); in MakeInnerLayout()
|
H A D | render_list.cpp | 393 minLaneLength_ = GetCrossSize(GetLayoutParam().GetMinSize()) / lanes; in CalculateLanes() 1126 minSize = Size(GetLayoutParam().GetMinSize().Width(), 0.0); in MakeInnerLayout() 1129 minSize = Size(0.0, GetLayoutParam().GetMinSize().Height()); in MakeInnerLayout() 1140 minSize = Size(GetLayoutParam().GetMinSize().Width(), 0.0); in MakeInnerLayoutForLane() 1143 minSize = Size(0.0, GetLayoutParam().GetMinSize().Height()); in MakeInnerLayoutForLane() 1302 ACE_DCHECK(!GetLayoutParam().GetMinSize().IsInfinite()); in ApplyLayoutParam() 1317 … fixedMainSizeByLayoutParam_ = NearEqual(maxMainSize, GetMainSize(GetLayoutParam().GetMinSize())); in ApplyLayoutParam()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog_modal/ |
H A D | render_dialog_modal.cpp | 64 innerLayoutParam.SetMinSize(Size(maxSize.Width(), innerLayoutParam.GetMinSize().Height())); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/marquee/ |
H A D | render_marquee.cpp | 275 innerLayout.SetMinSize(GetLayoutParam().GetMinSize()); in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/split_container/ |
H A D | render_split_container.cpp | 91 minSize = flexItem->GetNormalizedConstraints().GetMinSize(); in GetMainMinSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_multi_child_scroll.cpp | 47 layout.SetMinSize(Size(viewPort_.Width(), layout.GetMinSize().Height())); in MakeInnerLayoutParam() 50 layout.SetMinSize(Size(layout.GetMinSize().Width(), viewPort_.Height())); in MakeInnerLayoutParam()
|