Home
last modified time | relevance | path

Searched refs:childLayoutWrapper (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_algorithm.cpp437 if (!childLayoutWrapper->IsActive()) { in MeasureAndCleanMagicNodes()
449 CheckSizeValidity(childLayoutWrapper); in MeasureAndCleanMagicNodes()
478 CheckSizeValidity(childLayoutWrapper); in MeasureAndCleanMagicNodes()
524 CheckSizeValidity(childLayoutWrapper); in MeasureAndCleanMagicNodes()
555 CheckSizeValidity(childLayoutWrapper); in HandleBlankFirstTimeMeasure()
577 childLayoutWrapper->GetGeometryNode()->SetFrameSize( in HandleBlankFirstTimeMeasure()
581 CheckSizeValidity(childLayoutWrapper); in HandleBlankFirstTimeMeasure()
651 if (!childLayoutWrapper) { in SecondaryMeasureByProperty()
708 auto childLayoutWrapper = child.layoutWrapper; in SecondaryMeasureByProperty() local
777 auto child = childLayoutWrapper->GetHostNode(); in CheckBlankAndKeepMin()
[all …]
H A Dflex_layout_algorithm.h94 void CheckBlankAndKeepMin(const RefPtr<LayoutWrapper>& childLayoutWrapper, float& flexSize);
97 bool IsKeepMinSize(const RefPtr<LayoutWrapper>& childLayoutWrapper, float& flexSize);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/
H A Ddialog_test_ng.cpp581 ASSERT_NE(childLayoutWrapper, nullptr);
1333 ASSERT_NE(childLayoutWrapper, nullptr);
1378 ASSERT_NE(childLayoutWrapper, nullptr);
1766 ASSERT_NE(childLayoutWrapper, nullptr);
1827 auto childLayoutWrapper = variable
1829 ASSERT_NE(childLayoutWrapper, nullptr);
2073 ASSERT_NE(childLayoutWrapper, nullptr);
2122 ASSERT_NE(childLayoutWrapper, nullptr);
2172 ASSERT_NE(childLayoutWrapper, nullptr);
2222 ASSERT_NE(childLayoutWrapper, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp179 int32_t& rowSpan, int32_t& colSpan, const RefPtr<LayoutWrapper>& childLayoutWrapper) const in ComputeItemPosition()
210 if (childLayoutWrapper) { in ComputeItemPosition()
211 auto childSize = childLayoutWrapper->GetGeometryNode()->GetMarginFrameSize(); in ComputeItemPosition()
282 auto childLayoutWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in Measure() local
283 if (!childLayoutWrapper) { in Measure()
286 auto layoutProperty = childLayoutWrapper->GetLayoutProperty(); in Measure()
303childLayoutWrapper->Measure(CreateChildConstraint(idealSize, gridLayoutProperty, itemRowStart, ite… in Measure()
306 itemRowSpan, itemColSpan, childLayoutWrapper)); in Measure()
317 childLayoutWrapper->Measure(CreateChildConstraint( in Measure()
320 …puteItemPosition(layoutWrapper, rowIndex, colIndex, itemRowSpan, itemColSpan, childLayoutWrapper)); in Measure()
H A Dgrid_layout_algorithm.h46 int32_t& colSpan, const RefPtr<LayoutWrapper>& childLayoutWrapper) const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/layout/
H A Dbox_layout_algorithm_test_ng.cpp138 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable
139 layoutWrapper->AppendChild(childLayoutWrapper);
249 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable
250 layoutWrapper->AppendChild(childLayoutWrapper);
309 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable
310 layoutWrapper->AppendChild(childLayoutWrapper);
432 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable
433 layoutWrapper->AppendChild(childLayoutWrapper);
609 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable
612 childList.push_back(childLayoutWrapper);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_layout_algorithm.cpp122 const RefPtr<LayoutWrapper>& childLayoutWrapper, const LayoutConstraintF& constraint) in MeasureAndGetSize() argument
124 CHECK_NULL_RETURN(childLayoutWrapper, SizeF()); in MeasureAndGetSize()
125 childLayoutWrapper->Measure(constraint); in MeasureAndGetSize()
126 auto geometry = childLayoutWrapper->GetGeometryNode(); in MeasureAndGetSize()
H A Dselect_layout_algorithm.h35 …SizeF MeasureAndGetSize(const RefPtr<LayoutWrapper>& childLayoutWrapper, const LayoutConstraintF& …
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_layout_algorithm.h107 const RefPtr<LayoutWrapper>& childLayoutWrapper, bool reverse);
110 LayoutWrapper* layoutWrapper, const RefPtr<LayoutWrapper>& childLayoutWrapper);
115 const RefPtr<LayoutWrapper>& childLayoutWrapper, int32_t crossStart, int32_t crossSpan);
162 const RefPtr<LayoutWrapper>& childLayoutWrapper);
H A Dgrid_scroll_layout_algorithm.cpp1581 AdjustRowColSpan(childLayoutWrapper, layoutWrapper, itemIndex); in MeasureNewChild()
1631 AdjustRowColSpan(childLayoutWrapper, layoutWrapper, itemIndex); in MeasureChildPlaced()
1684 if (!CheckNeedMeasure(childLayoutWrapper, childConstraint)) { in MeasureChild()
1687 auto childLayoutProperty = childLayoutWrapper->GetLayoutProperty(); in MeasureChild()
1689 childLayoutWrapper->Measure(childConstraint); in MeasureChild()
1705 childLayoutWrapper->Measure(childConstraint); in MeasureChild()
1776 if (!childLayoutWrapper) { in GetStartingItem()
1781 AdjustRowColSpan(childLayoutWrapper, layoutWrapper, index); in GetStartingItem()
1793 if (!childLayoutWrapper) { in GetStartingItem()
1797 AdjustRowColSpan(childLayoutWrapper, layoutWrapper, index); in GetStartingItem()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_layout_algorithm.cpp69 RefPtr<LayoutWrapper> childLayoutWrapper, LayoutConstraintF& constraint, float customBaseHeight) in CalculateBuilderSize() argument
72 CHECK_NULL_RETURN(childLayoutWrapper, defaultSize); in CalculateBuilderSize()
73 auto layoutProperty = childLayoutWrapper->GetLayoutProperty(); in CalculateBuilderSize()
H A Drefresh_layout_algorithm.h63 … RefPtr<LayoutWrapper> childLayoutWrapper, LayoutConstraintF& constraint, float customBaseHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/
H A Dgrid_row_layout_algorithm.cpp309 auto childLayoutWrapper = pair.first; in Layout() local
324 childLayoutWrapper->GetGeometryNode()->SetMarginFrameOffset(offset + paddingOffset); in Layout()
325 childLayoutWrapper->Layout(); in Layout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_layout_algorithm.h38 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper);
H A Ddatepicker_column_layout_algorithm.cpp150 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper) in ChangeTextStyle() argument
168 childLayoutWrapper->Measure(layoutChildConstraint); in ChangeTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_layout_algorithm.h39 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper);
H A Dtimepicker_column_layout_algorithm.cpp128 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper) in ChangeAmPmTextStyle() argument
145 childLayoutWrapper->Measure(layoutChildConstraint); in ChangeAmPmTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_layout_algorithm.h39 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper);
H A Dtextpicker_layout_algorithm.cpp214 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper) in ChangeTextStyle() argument
236 childLayoutWrapper->Measure(layoutChildConstraint); in ChangeTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/
H A Dgauge_layout_algorithm.cpp318 auto childLayoutWrapper = layoutWrapper->GetChildByIndex(0); in CheckDescriptionIsImageNode() local
319 CHECK_NULL_RETURN(childLayoutWrapper, false); in CheckDescriptionIsImageNode()
320 return childLayoutWrapper->GetHostTag() == V2::IMAGE_ETS_TAG; in CheckDescriptionIsImageNode()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
H A Dslider_Extend_test_ng.cpp444 RefPtr<LayoutWrapperNode> childLayoutWrapper = variable
446 ASSERT_NE(childLayoutWrapper, nullptr);
447 layoutWrapper->AppendChild(childLayoutWrapper);
505 RefPtr<LayoutWrapperNode> childLayoutWrapper = variable
507 ASSERT_NE(childLayoutWrapper, nullptr);
508 layoutWrapper->AppendChild(childLayoutWrapper);
569 RefPtr<LayoutWrapperNode> childLayoutWrapper = variable
571 ASSERT_NE(childLayoutWrapper, nullptr);
572 layoutWrapper->AppendChild(childLayoutWrapper);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/
H A Ddialog_layout_algorithm.h92 LayoutConstraintF& childLayoutConstraint, RefPtr<LayoutWrapper>& childLayoutWrapper);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/
H A Dxcomponent_property_test_ng.cpp345 RefPtr<LayoutWrapperNode> const childLayoutWrapper = variable
347 childLayoutWrapper->GetLayoutProperty()->UpdateUserDefinedIdealSize(
352childLayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(boxLayoutAlgori…
355 layoutWrapper.AppendChild(childLayoutWrapper);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/
H A Dmarquee_test_ng.cpp448 auto childLayoutWrapper = layoutWrapper.GetOrCreateChildByIndex(0); variable
449 ASSERT_NE(childLayoutWrapper, nullptr);
450 …EXPECT_EQ(childLayoutWrapper->GetGeometryNode()->GetFrameSize(), SizeF(CHILD_WIDTH_600, CHILD_HEIG…
451 EXPECT_EQ(childLayoutWrapper->GetGeometryNode()->GetFrameOffset().GetX(), 0);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/stage/
H A Dstage_test_ng.cpp1438 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable
1439 layoutWrapper->AppendChild(childLayoutWrapper);
1449 childLayoutWrapper->GetGeometryNode()->GetFrameOffset() ==

12