Searched refs:vscroll (Results 1 – 4 of 4) sorted by relevance
38 boolean onMouseScroll(float hscroll, float vscroll); in onMouseScroll() argument75 final float vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local77 if (hscroll != 0.0f || vscroll != 0.0f) { in onGenericMotionEvent()78 mListener.onMouseScroll(hscroll, vscroll); in onGenericMotionEvent()
1361 final float vscroll; in onGenericMotionEvent() local1364 vscroll = 0; in onGenericMotionEvent()1367 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent()1370 if (!canScroll(Math.abs(vscroll), Math.abs(hscroll))) { in onGenericMotionEvent()1373 if (hscroll != 0 || vscroll != 0) { in onGenericMotionEvent()1374 boolean isForwardScroll = mIsRtl ? (hscroll < 0 || vscroll < 0) in onGenericMotionEvent()1375 : (hscroll > 0 || vscroll > 0); in onGenericMotionEvent()
382 public boolean onMouseScroll(float hscroll, float vscroll) { in onMouseScroll() argument384 return mFilmstripGestureListener.onMouseScroll(hscroll, vscroll); in onMouseScroll()
2833 public boolean onMouseScroll(float hscroll, float vscroll) {2837 vscroll *= MOUSE_SCROLL_FACTOR;2839 if (vscroll != 0f) {2840 scroll = vscroll;2848 onScroll(0f, 0f, hscroll, vscroll);