Home
last modified time | relevance | path

Searched refs:switchLayoutAlgorithm (Results 1 – 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/
Dtoggle_switch_test_ng.cpp123 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
124 EXPECT_NE(switchLayoutAlgorithm, nullptr);
125 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
144 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
179 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
180 EXPECT_NE(switchLayoutAlgorithm, nullptr);
181 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
200 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
234 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
235 EXPECT_NE(switchLayoutAlgorithm, nullptr);
[all …]
Dtoggle_test_ng.cpp443 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable
445 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE);
456 …layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, NO_SKI…
560 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable
562 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE);
820 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
821 EXPECT_NE(switchLayoutAlgorithm, nullptr);
822 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
841 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
848 …auto switchSizeOne = switchLayoutAlgorithm->MeasureContent(layoutConstraintSizeFirst, &layoutWrapp…
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
Dswitch_pattern.cpp51 …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()