Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/tabs/
Dtabs_test_ng.cpp771 …auto tabBarLayoutAlgorithm = AceType::DynamicCast<TabBarLayoutAlgorithm>(tabBarPattern->CreateLayo… variable
772 ASSERT_NE(tabBarLayoutAlgorithm, nullptr);
778 tabBarLayoutAlgorithm->Measure(&layoutWrapper);
781 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::SUBTABBATSTYLE);
784 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::BOTTOMTABBATSTYLE);
789 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::SUBTABBATSTYLE);
846 …auto tabBarLayoutAlgorithm = AceType::DynamicCast<TabBarLayoutAlgorithm>(tabBarPattern->CreateLayo… variable
847 ASSERT_NE(tabBarLayoutAlgorithm, nullptr);
852 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::BOTTOMTABBATSTYLE);
853 tabBarLayoutAlgorithm->SetIndicator(indicator);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
Dtab_bar_pattern.cpp564 …auto tabBarLayoutAlgorithm = DynamicCast<TabBarLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local
565 CHECK_NULL_RETURN(tabBarLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
566 tabItemOffsets_ = tabBarLayoutAlgorithm->GetTabItemOffset(); in OnDirtyLayoutWrapperSwap()
567 currentOffset_ = tabBarLayoutAlgorithm->GetCurrentOffset(); in OnDirtyLayoutWrapperSwap()
568 childrenMainSize_ = tabBarLayoutAlgorithm->GetChildrenMainSize(); in OnDirtyLayoutWrapperSwap()
569 indicator_ = tabBarLayoutAlgorithm->GetIndicator(); in OnDirtyLayoutWrapperSwap()
570 scrollMargin_ = tabBarLayoutAlgorithm->GetScrollMargin(); in OnDirtyLayoutWrapperSwap()