/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/ |
H A D | render_grid_scroll.cpp | 57 useScrollable_ = SCROLLABLE::NO_SCROLL; in Update() 128 if (useScrollable_ == SCROLLABLE::NO_SCROLL) { in CreateScrollable() 307 if (useScrollable_ != SCROLLABLE::HORIZONTAL) { in SetChildPosition() 322 if (useScrollable_ == SCROLLABLE::HORIZONTAL) { in GetItemMainIndex() 339 if (useScrollable_ == SCROLLABLE::HORIZONTAL) { in SetMainSize() 348 if (useScrollable_ == SCROLLABLE::HORIZONTAL) { in GetSize() 390 useScrollable_ = SCROLLABLE::VERTICAL; in GetGridSize() 397 useScrollable_ = SCROLLABLE::HORIZONTAL; in GetGridSize() 417 if (useScrollable_ == SCROLLABLE::NO_SCROLL) { in BuildGrid() 565 if (useScrollable_ == SCROLLABLE::HORIZONTAL) { in LayoutChild() [all …]
|
H A D | render_grid_scroll.h | 126 return useScrollable_ == SCROLLABLE::VERTICAL ? Axis::VERTICAL : Axis::HORIZONTAL; in GetAxis() 140 … return useScrollable_ == SCROLLABLE::VERTICAL ? Offset(0, lastOffset_) : Offset(lastOffset_, 0); in GetLastOffset() 216 enum class SCROLLABLE : uint32_t { enum 222 SCROLLABLE useScrollable_ = SCROLLABLE::NO_SCROLL;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | render_water_flow.h | 35 enum class SCROLLABLE : uint32_t { enum 118 return useScrollable_ == SCROLLABLE::VERTICAL ? Axis::VERTICAL : Axis::HORIZONTAL; in GetAxis() 124 …return useScrollable_ == SCROLLABLE::VERTICAL ? Offset(0.0, lastOffset_) : Offset(lastOffset_, 0.0… in GetLastOffset() 172 SCROLLABLE useScrollable_ = SCROLLABLE::NO_SCROLL;
|
H A D | rosen_render_water_flow.cpp | 68 …Offset lastOffset = (useScrollable_ == SCROLLABLE::VERTICAL) ? Offset(0, lastOffset_) : Offset(las… in Paint()
|
H A D | render_water_flow.cpp | 153 if (useScrollable_ == SCROLLABLE::NO_SCROLL) { in CreateScrollable() 170 callback, useScrollable_ == SCROLLABLE::HORIZONTAL ? Axis::HORIZONTAL : Axis::VERTICAL); in CreateScrollable() 745 useScrollable_ = SCROLLABLE::VERTICAL; in InitScrollBar() 750 useScrollable_ = SCROLLABLE::HORIZONTAL; in InitScrollBar() 807 if (useScrollable_ == SCROLLABLE::NO_SCROLL || index < 0) { in ScrollToIndex()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tab_bar_pattern_test_ng.cpp | 374 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 411 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 447 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 483 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 518 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 554 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 589 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 624 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 658 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 694 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); [all …]
|
H A D | tabs_common_test_ng.cpp | 193 model.SetTabBarMode(TabBarMode::SCROLLABLE); 211 model.SetTabBarMode(TabBarMode::SCROLLABLE); 274 model.SetTabBarMode(TabBarMode::SCROLLABLE); 304 model.SetTabBarMode(TabBarMode::SCROLLABLE); 333 model.SetTabBarMode(TabBarMode::SCROLLABLE); 362 model.SetTabBarMode(TabBarMode::SCROLLABLE); 427 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tab_bar_event_test_ng.cpp | 401 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 440 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 465 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 494 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 795 model.SetTabBarMode(TabBarMode::SCROLLABLE); 838 model.SetTabBarMode(TabBarMode::SCROLLABLE); 883 model.SetTabBarMode(TabBarMode::SCROLLABLE); 912 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 940 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1029 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tab_bar_test_ng.cpp | 88 model.SetTabBarMode(TabBarMode::SCROLLABLE); 500 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 554 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 589 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 612 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 644 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 840 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1230 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1434 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tab_bar_modifier_test_ng.cpp | 396 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 418 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 427 layoutProperty->UpdateTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tab_bar_layout_test_ng.cpp | 973 layoutProperty->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1006 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1076 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1147 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1201 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1264 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1332 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 1391 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tabs_test_ng.cpp | 346 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE); 467 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tabs_attr_test_ng.cpp | 202 model.SetTabBarMode(TabBarMode::SCROLLABLE); 1032 model.SetTabBarMode(TabBarMode::SCROLLABLE);
|
H A D | tabs_event_test_ng.cpp | 339 model.SetTabBarMode(TabBarMode::SCROLLABLE);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_accessibility_property.cpp | 47 … if (tabBarLayoutProperty->GetTabBarMode().value_or(TabBarMode::FIXED) == TabBarMode::SCROLLABLE && in IsScrollable()
|
H A D | tabs_node.cpp | 74 if (GetTabBarMode() == TabBarMode::SCROLLABLE) { in ToJsonValue()
|
H A D | tab_bar_pattern.cpp | 477 if (layoutProperty->GetTabBarModeValue(TabBarMode::FIXED) == TabBarMode::SCROLLABLE) { in InitScrollableEvent() 1041 if (layoutProperty->GetTabBarModeValue(TabBarMode::FIXED) == TabBarMode::SCROLLABLE) { in RemoveTabBarEventCallback() 1081 if (layoutProperty->GetTabBarModeValue(TabBarMode::FIXED) == TabBarMode::SCROLLABLE) { in AddTabBarEventCallback() 1203 layoutProperty->GetTabBarModeValue(TabBarMode::FIXED) == TabBarMode::SCROLLABLE) { in OnDirtyLayoutWrapperSwap() 1322 …if (layoutProperty->GetTabBarModeValue(TabBarMode::FIXED) == TabBarMode::SCROLLABLE && scrollableE… in HandleClick() 1966 … if (tabBarLayoutProperty->GetTabBarMode().value_or(TabBarMode::FIXED) == TabBarMode::SCROLLABLE) { in OnTabBarIndexChange() 2020 if (barMode == TabBarMode::SCROLLABLE && !visibleItemPosition_.empty()) { in UpdateGradientRegions() 2749 … if (tabBarLayoutProperty->GetTabBarMode().value_or(TabBarMode::FIXED) == TabBarMode::SCROLLABLE && in SetAccessibilityAction() 2764 … if (tabBarLayoutProperty->GetTabBarMode().value_or(TabBarMode::FIXED) == TabBarMode::SCROLLABLE && in SetAccessibilityAction()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_tab_bar.h | 72 TabBarMode tabBarMode_ = TabBarMode::SCROLLABLE;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_bar.h | 190 return TabBarMode::SCROLLABLE == mode_ || TabBarMode::FIXED_START == mode_; in IsScrollable()
|
H A D | render_tab_bar.cpp | 217 …} else if (mode_ == TabBarMode::SCROLLABLE && actualWidth_ < GetLayoutParam().GetMaxSize().Width()… in LayoutChildren() 233 …} else if (mode_ == TabBarMode::SCROLLABLE && actualHeight_ < GetLayoutParam().GetMaxSize().Height… in LayoutChildren() 322 if (mode_ == TabBarMode::SCROLLABLE) { in SetIndex()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_tab_ffi.cpp | 31 TabBarMode::FIXED, TabBarMode::SCROLLABLE
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | constants.h | 593 SCROLLABLE, enumerator
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | utils.h | 92 case TabBarMode::SCROLLABLE: in ConvertTabBarModeToString()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.h | 430 return temp == "fixed" ? TabBarMode::FIXED : TabBarMode::SCROLLABLE; in ConvertStrToTabBarMode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_tabs.cpp | 314 if (barMode == TabBarMode::SCROLLABLE) { in SetBarMode()
|