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()
1304 final float vscroll; in onGenericMotionEvent() local1307 vscroll = 0; in onGenericMotionEvent()1310 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent()1313 if (Math.abs(vscroll) > Math.abs(hscroll) && !isVerticalScrollable()) { in onGenericMotionEvent()1316 if (hscroll != 0 || vscroll != 0) { in onGenericMotionEvent()1317 boolean isForwardScroll = mIsRtl ? (hscroll < 0 || vscroll < 0) in onGenericMotionEvent()1318 : (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);