Home
last modified time | relevance | path

Searched refs:HORIZONTAL_AND_VERTICAL (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_scroll_view.h177 if (direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) { in SetHorizontalScrollState()
178 direction_ = state ? HORIZONTAL_AND_VERTICAL : VERTICAL; in SetHorizontalScrollState()
193 return (direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL); in GetHorizontalScrollState()
206 if (direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL) { in SetVerticalScrollState()
207 direction_ = state ? HORIZONTAL_AND_VERTICAL : HORIZONTAL; in SetVerticalScrollState()
222 return (direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL); in GetVerticalScrollState()
H A Dui_abstract_scroll.h409 static constexpr uint8_t HORIZONTAL_AND_VERTICAL = 2; member in OHOS::UIAbstractScroll
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_scroll_view.cpp39 direction_ = HORIZONTAL_AND_VERTICAL; in UIScrollView()
74 if ((direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL) && xDistance != 0) { in Drag()
77 if ((direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) && yDistance != 0) { in Drag()
166 if ((direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL) && xDistance != 0) { in ScrollBy()
169 if ((direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) && yDistance != 0) { in ScrollBy()
187 !(direction_ == HORIZONTAL || direction_ == HORIZONTAL_AND_VERTICAL)) { in DragXInner()
219 !(direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL)) { in DragYInner()
H A Dui_abstract_scroll.cpp268 if ((direction_ == VERTICAL) || (direction_ == HORIZONTAL_AND_VERTICAL)) { in CalculateDragDistance()
283 if ((direction_ == HORIZONTAL) || (direction_ == HORIZONTAL_AND_VERTICAL)) { in CalculateDragDistance()
H A Dui_list.cpp839 if ((direction_ == VERTICAL) || (direction_ == HORIZONTAL_AND_VERTICAL)) { in CalculateReboundDistance()

Completed in 5 milliseconds