Searched refs:hScroll (Results 1 – 3 of 3) sorted by relevance
40 public static MotionEvent createGenericPointerEvent(float hScroll, float vScroll) { in createGenericPointerEvent() argument42 coords.setAxisValue(AXIS_HSCROLL, hScroll); in createGenericPointerEvent()
238 private static MotionEvent createGenericPointerEvent(float hScroll, float vScroll) { in createGenericPointerEvent() argument240 coords.setAxisValue(AXIS_HSCROLL, hScroll); in createGenericPointerEvent()
3030 final float vScroll, hScroll; in onGenericMotionEvent() local3039 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() local9667 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()