Searched refs:switchLayoutAlgorithm (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/ |
H A D | toggle_switch_test_ng.cpp | 115 EXPECT_NE(switchLayoutAlgorithm, nullptr); 134 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper); 170 EXPECT_NE(switchLayoutAlgorithm, nullptr); 224 EXPECT_NE(switchLayoutAlgorithm, nullptr); 281 EXPECT_NE(switchLayoutAlgorithm, nullptr); 338 EXPECT_NE(switchLayoutAlgorithm, nullptr); 395 EXPECT_NE(switchLayoutAlgorithm, nullptr); 452 EXPECT_NE(switchLayoutAlgorithm, nullptr); 508 EXPECT_NE(switchLayoutAlgorithm, nullptr); 564 EXPECT_NE(switchLayoutAlgorithm, nullptr); [all …]
|
H A D | toggle_test_ng.cpp | 441 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable 443 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE); 558 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable 560 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE); 814 EXPECT_NE(switchLayoutAlgorithm, nullptr); 833 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper); 840 …auto switchSizeOne = switchLayoutAlgorithm->MeasureContent(layoutConstraintSizeFirst, &layoutWrapp… 854 …auto switchSizeThird = switchLayoutAlgorithm->MeasureContent(layoutConstraintSizeThird, &layoutWra… 861 …auto switchSizeForth = switchLayoutAlgorithm->MeasureContent(layoutConstraintSizeForth, &layoutWra… 1090 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_pattern.cpp | 51 …auto switchLayoutAlgorithm = DynamicCast<SwitchLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local 52 CHECK_NULL_RETURN(switchLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap() 54 auto height = switchLayoutAlgorithm->GetHeight(); in OnDirtyLayoutWrapperSwap() 55 auto width = switchLayoutAlgorithm->GetWidth(); in OnDirtyLayoutWrapperSwap()
|