/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/ |
H A D | flex_layout_algorithm.cpp | 437 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 D | flex_layout_algorithm.h | 94 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 D | dialog_test_ng.cpp | 581 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 D | grid_layout_algorithm.cpp | 179 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() 303 …childLayoutWrapper->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 D | grid_layout_algorithm.h | 46 int32_t& colSpan, const RefPtr<LayoutWrapper>& childLayoutWrapper) const;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | box_layout_algorithm_test_ng.cpp | 138 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 D | select_layout_algorithm.cpp | 122 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 D | select_layout_algorithm.h | 35 …SizeF MeasureAndGetSize(const RefPtr<LayoutWrapper>& childLayoutWrapper, const LayoutConstraintF& …
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_layout_algorithm.h | 107 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 D | grid_scroll_layout_algorithm.cpp | 1581 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 D | refresh_layout_algorithm.cpp | 69 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 D | refresh_layout_algorithm.h | 63 … RefPtr<LayoutWrapper> childLayoutWrapper, LayoutConstraintF& constraint, float customBaseHeight);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid_row/ |
H A D | grid_row_layout_algorithm.cpp | 309 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 D | datepicker_column_layout_algorithm.h | 38 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper);
|
H A D | datepicker_column_layout_algorithm.cpp | 150 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 D | timepicker_column_layout_algorithm.h | 39 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper);
|
H A D | timepicker_column_layout_algorithm.cpp | 128 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 D | textpicker_layout_algorithm.h | 39 const RefPtr<LayoutWrapper>& childLayoutWrapper, LayoutWrapper* layoutWrapper);
|
H A D | textpicker_layout_algorithm.cpp | 214 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 D | gauge_layout_algorithm.cpp | 318 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 D | slider_Extend_test_ng.cpp | 444 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 D | dialog_layout_algorithm.h | 92 LayoutConstraintF& childLayoutConstraint, RefPtr<LayoutWrapper>& childLayoutWrapper);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_property_test_ng.cpp | 345 RefPtr<LayoutWrapperNode> const childLayoutWrapper = variable 347 childLayoutWrapper->GetLayoutProperty()->UpdateUserDefinedIdealSize( 352 …childLayoutWrapper->SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(boxLayoutAlgori… 355 layoutWrapper.AppendChild(childLayoutWrapper);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/marquee/ |
H A D | marquee_test_ng.cpp | 448 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 D | stage_test_ng.cpp | 1438 auto childLayoutWrapper = CreatChildlayoutWrapper(); variable 1439 layoutWrapper->AppendChild(childLayoutWrapper); 1449 childLayoutWrapper->GetGeometryNode()->GetFrameOffset() ==
|