Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtab_bar_layout_test_ng.cpp521 auto tabBarLayoutAlgorithm = variable
539 tabBarLayoutAlgorithm->axis_ = Axis::HORIZONTAL;
545 tabBarLayoutAlgorithm->axis_ = Axis::VERTICAL;
609 tabBarLayoutAlgorithm->childCount_ = 1;
610 tabBarLayoutAlgorithm->visibleItemLength_.clear();
616 tabBarLayoutAlgorithm->visibleItemLength_.clear();
620 tabBarLayoutAlgorithm->childCount_ = 3;
621 tabBarLayoutAlgorithm->visibleItemLength_.clear();
713 tabBarLayoutAlgorithm->childCount_ = 2;
838 tabBarLayoutAlgorithm->childCount_ = 3;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.cpp1147 …auto tabBarLayoutAlgorithm = DynamicCast<TabBarLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local
1148 CHECK_NULL_RETURN(tabBarLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
1151 visibleItemPosition_ = tabBarLayoutAlgorithm->GetVisibleItemPosition(); in OnDirtyLayoutWrapperSwap()
1152 scrollMargin_ = tabBarLayoutAlgorithm->GetScrollMargin(); in OnDirtyLayoutWrapperSwap()
1153 jumpIndex_ = tabBarLayoutAlgorithm->GetJumpIndex(); in OnDirtyLayoutWrapperSwap()