Home
last modified time | relevance | path

Searched refs:vscroll (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java38 boolean onMouseScroll(float hscroll, float vscroll); in onMouseScroll() argument
75 final float vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local
77 if (hscroll != 0.0f || vscroll != 0.0f) { in onGenericMotionEvent()
78 mListener.onMouseScroll(hscroll, vscroll); in onGenericMotionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1304 final float vscroll; in onGenericMotionEvent() local
1307 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()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java382 public boolean onMouseScroll(float hscroll, float vscroll) { in onMouseScroll() argument
384 return mFilmstripGestureListener.onMouseScroll(hscroll, vscroll); in onMouseScroll()
DFilmstripView.java2833 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);