Searched refs:switchLayoutAlgorithm (Results 1 – 3 of 3) sorted by relevance
| /foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/ |
| D | toggle_switch_test_ng.cpp | 115 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable 116 EXPECT_NE(switchLayoutAlgorithm, nullptr); 117 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm)); 136 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper); 171 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable 172 EXPECT_NE(switchLayoutAlgorithm, nullptr); 173 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm)); 192 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper); 226 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable 227 EXPECT_NE(switchLayoutAlgorithm, nullptr); [all …]
|
| D | toggle_test_ng.cpp | 442 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable 444 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE); 455 …layoutAlgorithmWrapper = AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, NO_SKI… 559 auto switchLayoutAlgorithm = AceType::MakeRefPtr<SwitchLayoutAlgorithm>(); variable 561 AceType::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm, SKIP_MEASURE); 819 …auto switchLayoutAlgorithm = AceType::DynamicCast<SwitchLayoutAlgorithm>(switchPattern->CreateLayo… variable 820 EXPECT_NE(switchLayoutAlgorithm, nullptr); 821 …etLayoutAlgorithm(AccessibilityManager::MakeRefPtr<LayoutAlgorithmWrapper>(switchLayoutAlgorithm)); 840 auto switchSize = switchLayoutAlgorithm->MeasureContent(layoutConstraintSize, &layoutWrapper); 847 …auto switchSizeOne = switchLayoutAlgorithm->MeasureContent(layoutConstraintSizeFirst, &layoutWrapp… [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
| D | switch_pattern.cpp | 50 …auto switchLayoutAlgorithm = DynamicCast<SwitchLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local 51 CHECK_NULL_RETURN(switchLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap() 53 auto height = switchLayoutAlgorithm->GetHeight(); in OnDirtyLayoutWrapperSwap() 54 auto width = switchLayoutAlgorithm->GetWidth(); in OnDirtyLayoutWrapperSwap()
|