Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DMotionEventUtils.java40 public static MotionEvent createGenericPointerEvent(float hScroll, float vScroll) { in createGenericPointerEvent() argument
42 coords.setAxisValue(AXIS_HSCROLL, hScroll); in createGenericPointerEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DRotaryScrollHapticsTest.java238 private static MotionEvent createGenericPointerEvent(float hScroll, float vScroll) { in createGenericPointerEvent() argument
240 coords.setAxisValue(AXIS_HSCROLL, hScroll); in createGenericPointerEvent()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java3030 final float vScroll, hScroll; in onGenericMotionEvent() local
3039 hScroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent()
3041 hScroll = 0f; in onGenericMotionEvent()
3044 if (vScroll != 0 || hScroll != 0) { in onGenericMotionEvent()
3046 scrollByInternal((int) (hScroll * scrollFactor), in onGenericMotionEvent()
9660 int vScroll = 0, hScroll = 0; in performAccessibilityAction() local
9667 hScroll = -(getWidth() - getPaddingLeft() - getPaddingRight()); in performAccessibilityAction()
9675 hScroll = getWidth() - getPaddingLeft() - getPaddingRight(); in performAccessibilityAction()
9679 if (vScroll == 0 && hScroll == 0) { in performAccessibilityAction()
9682 mRecyclerView.smoothScrollBy(hScroll, vScroll); in performAccessibilityAction()