Home
last modified time | relevance | path

Searched refs:SCROLLABLE (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.cpp57 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 Drender_grid_scroll.h126 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 Drender_water_flow.h35 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 Drosen_render_water_flow.cpp68 …Offset lastOffset = (useScrollable_ == SCROLLABLE::VERTICAL) ? Offset(0, lastOffset_) : Offset(las… in Paint()
H A Drender_water_flow.cpp153 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 Dtab_bar_pattern_test_ng.cpp374 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 Dtabs_common_test_ng.cpp193 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 Dtab_bar_event_test_ng.cpp401 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 Dtab_bar_test_ng.cpp88 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 Dtab_bar_modifier_test_ng.cpp396 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
418 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
427 layoutProperty->UpdateTabBarMode(TabBarMode::SCROLLABLE);
H A Dtab_bar_layout_test_ng.cpp973 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 Dtabs_test_ng.cpp346 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
467 tabBarLayoutProperty_->UpdateTabBarMode(TabBarMode::SCROLLABLE);
H A Dtabs_attr_test_ng.cpp202 model.SetTabBarMode(TabBarMode::SCROLLABLE);
1032 model.SetTabBarMode(TabBarMode::SCROLLABLE);
H A Dtabs_event_test_ng.cpp339 model.SetTabBarMode(TabBarMode::SCROLLABLE);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_accessibility_property.cpp47 … if (tabBarLayoutProperty->GetTabBarMode().value_or(TabBarMode::FIXED) == TabBarMode::SCROLLABLE && in IsScrollable()
H A Dtabs_node.cpp74 if (GetTabBarMode() == TabBarMode::SCROLLABLE) { in ToJsonValue()
H A Dtab_bar_pattern.cpp477 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 Ddom_tab_bar.h72 TabBarMode tabBarMode_ = TabBarMode::SCROLLABLE;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Drender_tab_bar.h190 return TabBarMode::SCROLLABLE == mode_ || TabBarMode::FIXED_START == mode_; in IsScrollable()
H A Drender_tab_bar.cpp217 …} 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 Dcj_tab_ffi.cpp31 TabBarMode::FIXED, TabBarMode::SCROLLABLE
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dconstants.h593 SCROLLABLE, enumerator
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dutils.h92 case TabBarMode::SCROLLABLE: in ConvertTabBarModeToString()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.h430 return temp == "fixed" ? TabBarMode::FIXED : TabBarMode::SCROLLABLE; in ConvertStrToTabBarMode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_tabs.cpp314 if (barMode == TabBarMode::SCROLLABLE) { in SetBarMode()

12