Home
last modified time | relevance | path

Searched refs:LayoutParam (Results 1 – 25 of 152) sorted by relevance

1234567

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dlayout_param.h23 class LayoutParam {
25 LayoutParam() = default;
26 ~LayoutParam() = default;
28 LayoutParam(Size max, Size min) in LayoutParam() function
106 LayoutParam Enforce(const LayoutParam& layoutParam) const in Enforce()
110 return LayoutParam(max, min); in Enforce()
113 bool operator==(const LayoutParam& layoutParam) const
118 bool operator!=(const LayoutParam& layoutParam) const
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Drender_flex.h42 LayoutParam innerLayout = LayoutParam(Size(), Size());
191 LayoutParam MakeStretchInnerLayoutParam(const RefPtr<RenderNode>& item) const;
192LayoutParam MakeLayoutParamWithLimit(double minMainLimit, double maxMainLimit, bool isStretch) con…
193 LayoutParam MakeConstrainedLayoutParam(
194 …double mainFlexExtent, const LayoutParam& constraint, bool isStretch, bool supportZerolayout = fal…
H A Drender_flex_item.h121 LayoutParam GetNormalizedConstraints() const in GetNormalizedConstraints()
131 LayoutParam constraint = LayoutParam(max, min); in GetNormalizedConstraints()
133 return LayoutParam(Size(Size::INFINITE_SIZE, Size::INFINITE_SIZE), Size()); in GetNormalizedConstraints()
H A Dflex_item_component.h112 const LayoutParam& GetConstraints() const in GetConstraints()
117 void SetConstraints(const LayoutParam& constraints) in SetConstraints()
213 LayoutParam constraints_;
H A Drender_flex.cpp166 LayoutParam RenderFlex::MakeStretchInnerLayoutParam(const RefPtr<RenderNode>& item) const in MakeStretchInnerLayoutParam()
169 LayoutParam innerLayout; in MakeStretchInnerLayoutParam()
181 LayoutParam innerLayout; in MakeLayoutParamWithLimit()
200 LayoutParam RenderFlex::MakeConstrainedLayoutParam( in MakeConstrainedLayoutParam()
203 LayoutParam innerLayout; in MakeConstrainedLayoutParam()
283 LayoutParam innerLayout; in PerformLayoutInWeightMode()
370 LayoutParam innerLayout; in RelayoutForStretchMagicNode()
395 LayoutParam innerLayout; in PerformLayoutInIndexMode()
490 LayoutParam innerLayout = LayoutParam(Size(), Size()); in LayoutHiddenNodes()
502 LayoutParam innerLayout; in PerformLayoutInItemMode()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box_base.h205 void SetConstraints(const LayoutParam& constraints) in SetConstraints()
210 const LayoutParam& GetConstraints() in GetConstraints()
325 LayoutParam constraints_ = LayoutParam(Size(), Size()); // exclude margin
374 LayoutParam selfLayoutParam_; // include margin
376 LayoutParam childLayoutParam_;
H A Dbox_base_component.h49 const LayoutParam& GetConstraints() const in GetConstraints()
109 void SetConstraints(const LayoutParam& constraints) in SetConstraints()
374 LayoutParam constraints_ = LayoutParam(Size(), Size()); // no constraints when init
H A Drender_box_base.cpp268 LayoutParam param = GetLayoutParam(); in CalculateAutoMargin()
346 constraints_ = LayoutParam(maxSize, minSize); in ConvertConstraintsToPx()
398 LayoutParam gridLayoutParam = GetLayoutParam(); in CalculateGridLayoutSize()
425 const LayoutParam& layoutSetByParent = GetLayoutParam(); in CalculateSelfLayoutParam()
464 const LayoutParam& layoutSetByParent = GetLayoutParam(); in AdjustSizeByAspectRatio()
465 LayoutParam selfLayout = layoutSetByParent; in AdjustSizeByAspectRatio()
566 const LayoutParam& layoutSetByParent = GetLayoutParam(); in CalculateSelfLayoutSize()
840 constraints_ = LayoutParam(Size(), Size()); in ClearRenderObject()
872 selfLayoutParam_ = LayoutParam(); in ClearRenderObject()
874 childLayoutParam_ = LayoutParam(); in ClearRenderObject()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_layout_manager.h74 LayoutParam MakeInnerLayoutParam(FlexAlign selfAlign) const;
75 LayoutParam AdjustLayoutParam(const RefPtr<RenderNode> child, LayoutParam param);
H A Dlist_layout_manager.cpp68 LayoutParam ListLayoutManager::MakeInnerLayoutParam(FlexAlign crossAxisAlign) const in MakeInnerLayoutParam()
70 LayoutParam innerLayout; in MakeInnerLayoutParam()
295 LayoutParam ListLayoutManager::AdjustLayoutParam(const RefPtr<RenderNode> child, LayoutParam param) in AdjustLayoutParam()
297 LayoutParam layoutParam = param; in AdjustLayoutParam()
414 LayoutParam innerLayout = MakeInnerLayoutParam(crossAxisAlign_); in PerformLayout()
537 LayoutParam innerLayout = MakeInnerLayoutParam(crossAxisAlign_); in LayoutToItem()
568 LayoutParam innerLayout = MakeInnerLayoutParam(crossAxisAlign_); in LayoutToPosition()
600 LayoutParam innerLayout = MakeInnerLayoutParam(crossAxisAlign_); in LayoutMore()
H A Dgrid_layout_manager.cpp62 LayoutParam GridLayoutManager::MakeInnerLayoutParam(int32_t columnSpan) const in MakeInnerLayoutParam()
64 LayoutParam innerLayout; in MakeInnerLayoutParam()
298 LayoutParam innerLayout = MakeInnerLayoutParam(span); in PerformLayout()
392 LayoutParam innerLayout = MakeInnerLayoutParam(span); in LayoutToItem()
431 LayoutParam innerLayout = MakeInnerLayoutParam(span); in LayoutMore()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Drender_tool_bar.cpp52 LayoutParam innerLayoutParam = MakeInnerLayoutParam(); in LayoutChildren()
63 LayoutParam RenderToolBar::MakeInnerLayoutParam() const in MakeInnerLayoutParam()
65 LayoutParam innerLayout = GetLayoutParam(); in MakeInnerLayoutParam()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/coverage/
H A Drender_coverage.cpp39 LayoutParam innerLayout = GetLayoutParam(); in PerformLayout()
52 LayoutParam secondChildLayoutParam; in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stack/
H A Drender_stack.cpp45 LayoutParam innerLayout; in PerformLayout()
179 LayoutParam RenderStack::MakeNonPositionedInnerLayoutParam(const RefPtr<RenderNode>& firstChild) co… in MakeNonPositionedInnerLayoutParam()
181 LayoutParam innerLayout; in MakeNonPositionedInnerLayoutParam()
205 LayoutParam RenderStack::MakePositionedInnerLayoutParam( in MakePositionedInnerLayoutParam()
208 LayoutParam innerLayout; in MakePositionedInnerLayoutParam()
H A Drender_stack.h79 LayoutParam MakeNonPositionedInnerLayoutParam(const RefPtr<RenderNode>& firstChild) const;
80 LayoutParam MakePositionedInnerLayoutParam(
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Drender_tab_bar.h136 LayoutParam MakeInnerLayoutParam() const;
137 LayoutParam MakeIndicatorLayoutParam(const RefPtr<RenderNode>& item) const;
180 void PerformLayoutChildren(const LayoutParam& innerLayoutParam);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/
H A Drender_badge.cpp132 LayoutParam layoutParam = GetLayoutParam(); in PerformLayout()
135 LayoutParam innerLayoutParam = layoutParam; in PerformLayout()
168 LayoutParam innerLayout; in InitialBadgeText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list_item.cpp108 swiperStart->Layout(LayoutParam(layoutParam.GetMaxSize(), Size())); in PerfLayoutSwiperMode()
113 swiperStart->Layout(LayoutParam(maxSize, MakeValue<Size>(0.0, curOffset_))); in PerfLayoutSwiperMode()
128 swiperEnd->Layout(LayoutParam(layoutParam.GetMaxSize(), Size())); in PerfLayoutSwiperMode()
133 swiperEnd->Layout(LayoutParam(maxSize, MakeValue<Size>(0.0, -curOffset_))); in PerfLayoutSwiperMode()
161 button_->Layout(LayoutParam(layoutParam.GetMaxSize(), Size())); in PerformLayout()
174 child_->Layout(LayoutParam(maxSize, minSize)); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_node.h55 … const LayoutParam& layoutParam, const RefPtr<SvgBaseDeclaration>& parent, bool useBox = true)
96 …RefPtr<BoxComponent> CreateBoxComponent(const LayoutParam& layoutParam, const std::string& clipPat…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_popup_list.h62 double LayoutOrRecycleCurrentItems(const LayoutParam& layoutParam);
63 … RefPtr<RenderPopupListItem> RequestAndLayoutNewItem(size_t index, const LayoutParam& layoutParam);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/side_bar/
H A Drender_side_bar_container.cpp342 LayoutParam innerLayout; in PerformLayout()
437 content->Layout(LayoutParam(fixedSize, Size())); in LayoutChildren()
441 content->Layout(LayoutParam(fixedSize, Size())); in LayoutChildren()
445 content->Layout(LayoutParam(layoutSize, Size())); in LayoutChildren()
453 sideBar->Layout(LayoutParam(fixedSize, fixedSize)); in LayoutChildren()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_single_child_scroll.cpp83 LayoutParam RenderSingleChildScroll::MakeInnerLayoutParam() const in MakeInnerLayoutParam()
85 LayoutParam layout; in MakeInnerLayoutParam()
207 LayoutParam layout = MakeInnerLayoutParam(); in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_column.cpp214 column_->Layout(LayoutParam()); in PerformLayout()
224 LayoutParam layout; in PerformLayout()
240 clip_->Layout(LayoutParam()); in PerformLayout()
264 splitter_->Layout(LayoutParam()); in LayoutSplitter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/relative_container/
H A Drender_relative_container.cpp55 LayoutParam itemLayout; in CollectNodesById()
230 …Container::CalcLayoutParam(std::map<AlignDirection, AlignRule> alignRules, LayoutParam& itemLayout, in CalcLayoutParam()
352 LayoutParam itemLayout; in PerformLayout()
366 LayoutParam itemLayout; in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drosen_render_clock.cpp54 LayoutParam textLayoutParam = GetLayoutParam(); in PerformLayout()
71 LayoutParam layoutParam = GetLayoutParam(); in PerformLayout()

1234567