Home
last modified time | relevance | path

Searched refs:layoutAlgorithmWrapper (Results 1 – 25 of 65) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/divider/
Ddivider_pattern.cpp24 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
25 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
26 …auto dividerLayoutAlgorithm = DynamicCast<DividerLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayou… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
Dqrcode_pattern.cpp41 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
42 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
43 …auto layoutAlgorithm = DynamicCast<QRCodeLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorit… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
Dgrid_option_layout_test_ng.cpp53 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(frameNode_->GetLayoutAl… variable
55 …AceType::DynamicCast<GridScrollWithOptionsLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgori…
56 …if (AceType::InstanceOf<GridIrregularLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm()…
80 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(frameNode_->GetLayoutAl… variable
82 …AceType::DynamicCast<GridScrollWithOptionsLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgori…
83 …if (AceType::InstanceOf<GridIrregularLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm()…
116 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(frameNode_->GetLayoutAl… variable
118 …AceType::DynamicCast<GridScrollWithOptionsLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgori…
119 …if (AceType::InstanceOf<GridIrregularLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm()…
151 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(frameNode_->GetLayoutAl… variable
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
Dtoast_layout_algorithm.cpp90 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(textWrapper->GetLayoutA… in GetLineCount() local
91 CHECK_NULL_RETURN(layoutAlgorithmWrapper, 0); in GetLineCount()
92 …auto textLayoutAlgorithm = AceType::DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLa… in GetLineCount()
Dtoast_pattern.cpp475 …auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(textLayoutWrapper->GetLayoutAlgo… in GetTextLineHeight() local
476 CHECK_NULL_RETURN(layoutAlgorithmWrapper, 0); in GetTextLineHeight()
477 …auto textLayoutAlgorithm = DynamicCast<TextLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in GetTextLineHeight()
/foundation/arkui/ace_engine/test/unittest/core/pattern/side_bar/
Dside_bar_view_test_ng.cpp299 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(layoutWrapper->GetLayou… variable
300 EXPECT_NE(layoutAlgorithmWrapper, nullptr);
302 (layoutAlgorithmWrapper->GetLayoutAlgorithm());
389 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(layoutWrapper->GetLayou… variable
390 EXPECT_NE(layoutAlgorithmWrapper, nullptr);
392 (layoutAlgorithmWrapper->GetLayoutAlgorithm());
451 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(layoutWrapper->GetLayou… variable
452 EXPECT_NE(layoutAlgorithmWrapper, nullptr);
454 (layoutAlgorithmWrapper->GetLayoutAlgorithm());
489 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(layoutWrapper->GetLayou… variable
[all …]
Dside_bar_pattern_test_ng.cpp651 auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>( variable
653 ASSERT_NE(layoutAlgorithmWrapper, nullptr);
654 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
1205 auto layoutAlgorithmWrapper = variable
1207 ASSERT_NE(layoutAlgorithmWrapper, nullptr);
1208 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
1406 auto layoutAlgorithmWrapper = variable
1408 ASSERT_NE(layoutAlgorithmWrapper, nullptr);
1409 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
1615 auto layoutAlgorithmWrapper = variable
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/
Dloading_progress_pattern.cpp29 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
30 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
33 DynamicCast<LoadingProgressLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/linear_split/
Dlinear_split_test_ng.cpp144 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
146 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
154layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(linearLayoutAlgorithm, false);
155 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
342 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
344 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
391 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
393 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
585 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
587 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
Dlist_item_group_pattern.cpp129 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
130 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
131 …auto layoutAlgorithm = DynamicCast<ListItemGroupLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayout… in OnDirtyLayoutWrapperSwap()
437 auto layoutAlgorithmWrapper = host->GetLayoutAlgorithm(true); in LayoutCache() local
438 CHECK_NULL_VOID(layoutAlgorithmWrapper); in LayoutCache()
439 …auto itemGroup = AceType::DynamicCast<ListItemGroupLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in LayoutCache()
Dlist_layout_algorithm.cpp926 auto layoutAlgorithmWrapper = layoutWrapper->GetLayoutAlgorithm(true); in AdjustStartPosition() local
927 CHECK_NULL_VOID(layoutAlgorithmWrapper); in AdjustStartPosition()
928 …auto itemGroup = AceType::DynamicCast<ListItemGroupLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in AdjustStartPosition()
1424 auto layoutAlgorithmWrapper = wrapper->GetLayoutAlgorithm(true); in GetListItemGroupLayoutInfo() local
1425 CHECK_NULL_RETURN(layoutAlgorithmWrapper, std::nullopt); in GetListItemGroupLayoutInfo()
1426 …auto itemGroup = AceType::DynamicCast<ListItemGroupLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in GetListItemGroupLayoutInfo()
1434 auto layoutAlgorithmWrapper = wrapper->GetLayoutAlgorithm(true); in GetListItemGroupItemCount() local
1435 CHECK_NULL_RETURN(layoutAlgorithmWrapper, 0); in GetListItemGroupItemCount()
1436 …auto itemGroup = AceType::DynamicCast<ListItemGroupLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in GetListItemGroupItemCount()
1592 auto layoutAlgorithmWrapper = layoutWrapper->GetLayoutAlgorithm(true); in SetListItemGroupParam() local
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/
Dfolder_stack_pattern.cpp195 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
196 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
198 DynamicCast<FolderStackLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/qrcode/
Dqrcode_test_ng.cpp140 …auto layoutAlgorithmWrapper = AceType::DynamicCast<LayoutAlgorithmWrapper>(layoutWrapper->GetLayou… variable
141 EXPECT_FALSE(layoutAlgorithmWrapper == nullptr);
143 AceType::DynamicCast<QRCodeLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm());
230 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
251layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(qrcodeLayoutAlgorithm, NO_SKI…
252 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/
Ddrag_bar_pattern.cpp84 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
85 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
86 …auto layoutAlgorithm = DynamicCast<DragBarLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgori… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/
Dform_test_ng.cpp155 …auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(layoutAlgorithm, skipMea… variable
156 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
354 … auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(layoutAlgorithm, false); variable
355 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
378 … auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(layoutAlgorithm, false); variable
379 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
425 … auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(layoutAlgorithm, false); variable
426 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
Dprogress_pattern.cpp36 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
37 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
38 …auto progressLayoutAlgorithm = DynamicCast<ProgressLayoutAlgorithm>(layoutAlgorithmWrapper->GetLay… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/
Dlinear_split_pattern.cpp563 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
564 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
566 DynamicCast<LinearSplitLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/
Dslider_pattern_test_ng.cpp301 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
303 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
305layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(sliderLayoutAlgorithm, false);
306 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
418 …auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(sliderLayoutAlgorithm, f… variable
419 ASSERT_NE(layoutAlgorithmWrapper, nullptr);
420 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
Dwrap_layout_algorithm.cpp74 auto layoutAlgorithmWrapper = layoutWrapper->GetLayoutAlgorithm(); in UpdatePercentSensitive() local
75 CHECK_NULL_VOID(layoutAlgorithmWrapper); in UpdatePercentSensitive()
76 layoutAlgorithmWrapper->SetPercentWidth(true); in UpdatePercentSensitive()
77 layoutAlgorithmWrapper->SetPercentHeight(true); in UpdatePercentSensitive()
/foundation/arkui/ace_engine/test/unittest/core/pattern/divider/
Ddivider_test_ng.cpp185 auto layoutAlgorithmWrapper = variable
187 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
Dcanvas_test_ng.cpp106 … auto layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(layoutAlgorithm, false); variable
108 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
Dswitch_pattern.cpp49 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
50 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
51 …auto switchLayoutAlgorithm = DynamicCast<SwitchLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/
Dtoggle_test_ng.cpp442 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
444 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
454layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, NO_SKI…
455 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
559 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
561 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
1091 RefPtr<LayoutAlgorithmWrapper> layoutAlgorithmWrapper = variable
1093 layoutWrapper->SetLayoutAlgorithm(layoutAlgorithmWrapper);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
Dscroll_bar_pattern.cpp279 … auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
280 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
281 …auto layoutAlgorithm = DynamicCast<ScrollBarLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgo… in OnDirtyLayoutWrapperSwap()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
Dbubble_pattern.cpp56 auto layoutAlgorithmWrapper = DynamicCast<LayoutAlgorithmWrapper>(dirty->GetLayoutAlgorithm()); in OnDirtyLayoutWrapperSwap() local
57 CHECK_NULL_RETURN(layoutAlgorithmWrapper, false); in OnDirtyLayoutWrapperSwap()
58 …auto bubbleLayoutAlgorithm = DynamicCast<BubbleLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap()

123