Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
Dtabs_test_ng.cpp795 …auto tabBarLayoutAlgorithm = AceType::DynamicCast<TabBarLayoutAlgorithm>(tabBarPattern->CreateLayo… variable
796 ASSERT_NE(tabBarLayoutAlgorithm, nullptr);
802 tabBarLayoutAlgorithm->Measure(&layoutWrapper);
805 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::SUBTABBATSTYLE);
808 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::BOTTOMTABBATSTYLE);
813 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::SUBTABBATSTYLE);
869 …auto tabBarLayoutAlgorithm = AceType::DynamicCast<TabBarLayoutAlgorithm>(tabBarPattern->CreateLayo… variable
870 ASSERT_NE(tabBarLayoutAlgorithm, nullptr);
875 tabBarLayoutAlgorithm->SetTabBarStyle(TabBarStyle::BOTTOMTABBATSTYLE);
876 tabBarLayoutAlgorithm->SetIndicator(indicator);
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
Dtab_bar_pattern.cpp678 …auto tabBarLayoutAlgorithm = DynamicCast<TabBarLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local
679 CHECK_NULL_RETURN(tabBarLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
680 tabItemOffsets_ = tabBarLayoutAlgorithm->GetTabItemOffset(); in OnDirtyLayoutWrapperSwap()
681 currentOffset_ = tabBarLayoutAlgorithm->GetCurrentOffset(); in OnDirtyLayoutWrapperSwap()
682 childrenMainSize_ = tabBarLayoutAlgorithm->GetChildrenMainSize(); in OnDirtyLayoutWrapperSwap()
683 indicator_ = tabBarLayoutAlgorithm->GetIndicator(); in OnDirtyLayoutWrapperSwap()
684 scrollMargin_ = tabBarLayoutAlgorithm->GetScrollMargin(); in OnDirtyLayoutWrapperSwap()