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.cpp114 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
115 EXPECT_NE(switchLayoutAlgorithm, nullptr);
116 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
134 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
169 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
170 EXPECT_NE(switchLayoutAlgorithm, nullptr);
171 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
189 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
223 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
224 EXPECT_NE(switchLayoutAlgorithm, nullptr);
[all …]
Dtoggle_test_ng.cpp441 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable
443 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE);
454 …layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, NO_SKI…
558 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable
560 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE);
813 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
814 EXPECT_NE(switchLayoutAlgorithm, nullptr);
815 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
833 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
840 …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()