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/
Dtab_bar_layout_test_ng.cpp276 …auto tabBarLayoutAlgorithm = AceType::DynamicCast<TabBarLayoutAlgorithm>(tabBarPattern_->CreateLay… variable
279 …youtWrapper.SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(tabBarLayoutAlgorithm));
293 tabBarLayoutAlgorithm->axis_ = Axis::HORIZONTAL;
294 float resultWidth = tabBarLayoutAlgorithm->GetContentMainSize(&layoutWrapper, frameSize);
299 tabBarLayoutAlgorithm->axis_ = Axis::VERTICAL;
300 resultWidth = tabBarLayoutAlgorithm->GetContentMainSize(&layoutWrapper, frameSize);
316 …auto tabBarLayoutAlgorithm = AceType::DynamicCast<TabBarLayoutAlgorithm>(tabBarPattern_->CreateLay… variable
319 …youtWrapper.SetLayoutAlgorithm(AceType::MakeRefPtr<LayoutAlgorithmWrapper>(tabBarLayoutAlgorithm));
363 tabBarLayoutAlgorithm->childCount_ = 1;
364 tabBarLayoutAlgorithm->visibleItemLength_.clear();
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
Dtab_bar_pattern.cpp1326 …auto tabBarLayoutAlgorithm = DynamicCast<TabBarLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutA… in OnDirtyLayoutWrapperSwap() local
1327 CHECK_NULL_RETURN(tabBarLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()
1330 visibleItemPosition_ = tabBarLayoutAlgorithm->GetVisibleItemPosition(); in OnDirtyLayoutWrapperSwap()
1331 scrollMargin_ = tabBarLayoutAlgorithm->GetScrollMargin(); in OnDirtyLayoutWrapperSwap()
1332 jumpIndex_ = tabBarLayoutAlgorithm->GetJumpIndex(); in OnDirtyLayoutWrapperSwap()
1333 barGridMargin_ = tabBarLayoutAlgorithm->GetBarGridMargin(); in OnDirtyLayoutWrapperSwap()