Home
last modified time | relevance | path

Searched refs:GetMinSize (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stack/
H A Drender_stack.cpp119 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 Dblank_pattern.cpp78 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 Drender_box_base.cpp162 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 Drender_tab_bar.cpp224 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 Drender_texture.cpp106 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 Drender_relative_container.cpp56 …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 Dswiper_utils.h147 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 Drosen_render_text.cpp183 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 Dwater_flow_layout_utils.cpp111 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 Drender_padding.cpp48 Size minLayoutSize = GetLayoutParam().GetMinSize() - layoutSize; in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drender_svg.cpp197 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 Dwater_flow_item_layout_property.h75 std::optional<CalcSize> GetMinSize() const in GetMinSize() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drender_shape_container.cpp53 child->Layout(LayoutParam(newSize, GetLayoutParam().GetMinSize())); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dlayout_param.h44 const Size& GetMinSize() const in GetMinSize() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Drender_tool_bar.cpp70 double toolBarMinWidth = std::max(0.0, innerLayout.GetMinSize().Width()); in MakeInnerLayoutParam()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_layout_manager.cpp82 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 Dgrid_layout_manager.cpp90 … 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 Drender_badge.cpp133 Size minSize = layoutParam.GetMinSize(); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_column.cpp211 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 Drender_list_item_group.cpp42 minSize = Size(GetLayoutParam().GetMinSize().Width(), 0.0); in MakeInnerLayout()
50 minSize = Size(0.0, GetLayoutParam().GetMinSize().Height()); in MakeInnerLayout()
H A Drender_list.cpp393 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 Drender_dialog_modal.cpp64 innerLayoutParam.SetMinSize(Size(maxSize.Width(), innerLayoutParam.GetMinSize().Height())); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Drender_marquee.cpp275 innerLayout.SetMinSize(GetLayoutParam().GetMinSize()); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/split_container/
H A Drender_split_container.cpp91 minSize = flexItem->GetNormalizedConstraints().GetMinSize(); in GetMainMinSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_multi_child_scroll.cpp47 layout.SetMinSize(Size(viewPort_.Width(), layout.GetMinSize().Height())); in MakeInnerLayoutParam()
50 layout.SetMinSize(Size(layout.GetMinSize().Width(), viewPort_.Height())); in MakeInnerLayoutParam()

12