Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/
Dtoggle_test_ng.cpp440 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable
442 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE);
453 …layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, NO_SKI…
557 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable
559 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE);
771 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable
772 EXPECT_NE(switchLayoutAlgorithm, nullptr);
773 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm));
791 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper);
798 …auto switchSizeOne = switchLayoutAlgorithm->MeasureContent(layoutConstraintSizeFirst, &layoutWrapp…
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
Dswitch_pattern.cpp53 …auto switchLayoutAlgorithm = DynamicCast<SwitchLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local
54 CHECK_NULL_RETURN(switchLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
56 auto height = switchLayoutAlgorithm->GetHeight(); in OnDirtyLayoutWrapperSwap()
57 auto width = switchLayoutAlgorithm->GetWidth(); in OnDirtyLayoutWrapperSwap()