Home
last modified time | relevance | path

Searched refs:vScroll (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
43 coords.setAxisValue(AXIS_VSCROLL, vScroll); in createGenericPointerEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DRotaryScrollHapticsTest.java238 private static MotionEvent createGenericPointerEvent(float hScroll, float vScroll) { in createGenericPointerEvent() argument
241 coords.setAxisValue(AXIS_VSCROLL, vScroll); in createGenericPointerEvent()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java3030 final float vScroll, hScroll; in onGenericMotionEvent() local
3034 vScroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent()
3036 vScroll = 0f; in onGenericMotionEvent()
3044 if (vScroll != 0 || hScroll != 0) { in onGenericMotionEvent()
3047 (int) (vScroll * scrollFactor), event); in onGenericMotionEvent()
9660 int vScroll = 0, hScroll = 0; in performAccessibilityAction() local
9664 vScroll = -(getHeight() - getPaddingTop() - getPaddingBottom()); in performAccessibilityAction()
9672 vScroll = getHeight() - getPaddingTop() - getPaddingBottom(); in performAccessibilityAction()
9679 if (vScroll == 0 && hScroll == 0) { in performAccessibilityAction()
9682 mRecyclerView.smoothScrollBy(hScroll, vScroll); in performAccessibilityAction()