/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | layout_param.h | 23 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 D | render_flex.h | 42 LayoutParam innerLayout = LayoutParam(Size(), Size()); 191 LayoutParam MakeStretchInnerLayoutParam(const RefPtr<RenderNode>& item) const; 192 …LayoutParam MakeLayoutParamWithLimit(double minMainLimit, double maxMainLimit, bool isStretch) con… 193 LayoutParam MakeConstrainedLayoutParam( 194 …double mainFlexExtent, const LayoutParam& constraint, bool isStretch, bool supportZerolayout = fal…
|
H A D | render_flex_item.h | 121 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 D | flex_item_component.h | 112 const LayoutParam& GetConstraints() const in GetConstraints() 117 void SetConstraints(const LayoutParam& constraints) in SetConstraints() 213 LayoutParam constraints_;
|
H A D | render_flex.cpp | 166 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 D | render_box_base.h | 205 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 D | box_base_component.h | 49 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 D | render_box_base.cpp | 268 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 D | list_layout_manager.h | 74 LayoutParam MakeInnerLayoutParam(FlexAlign selfAlign) const; 75 LayoutParam AdjustLayoutParam(const RefPtr<RenderNode> child, LayoutParam param);
|
H A D | list_layout_manager.cpp | 68 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 D | grid_layout_manager.cpp | 62 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 D | render_tool_bar.cpp | 52 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 D | render_coverage.cpp | 39 LayoutParam innerLayout = GetLayoutParam(); in PerformLayout() 52 LayoutParam secondChildLayoutParam; in PerformLayout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stack/ |
H A D | render_stack.cpp | 45 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 D | render_stack.h | 79 LayoutParam MakeNonPositionedInnerLayoutParam(const RefPtr<RenderNode>& firstChild) const; 80 LayoutParam MakePositionedInnerLayoutParam(
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_bar.h | 136 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 D | render_badge.cpp | 132 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 D | render_list_item.cpp | 108 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 D | svg_node.h | 55 … 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 D | render_popup_list.h | 62 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 D | render_side_bar_container.cpp | 342 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 D | render_single_child_scroll.cpp | 83 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 D | render_picker_column.cpp | 214 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 D | render_relative_container.cpp | 55 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 D | rosen_render_clock.cpp | 54 LayoutParam textLayoutParam = GetLayoutParam(); in PerformLayout() 71 LayoutParam layoutParam = GetLayoutParam(); in PerformLayout()
|