Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java2909 final float vScroll, hScroll; in onGenericMotionEvent() local
2918 hScroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent()
2920 hScroll = 0f; in onGenericMotionEvent()
2923 if (vScroll != 0 || hScroll != 0) { in onGenericMotionEvent()
2925 scrollByInternal((int) (hScroll * scrollFactor), in onGenericMotionEvent()
9539 int vScroll = 0, hScroll = 0; in performAccessibilityAction() local
9546 hScroll = -(getWidth() - getPaddingLeft() - getPaddingRight()); in performAccessibilityAction()
9554 hScroll = getWidth() - getPaddingLeft() - getPaddingRight(); in performAccessibilityAction()
9558 if (vScroll == 0 && hScroll == 0) { in performAccessibilityAction()
9561 mRecyclerView.smoothScrollBy(hScroll, vScroll); in performAccessibilityAction()