Searched refs:vscroll (Results 1 – 9 of 9) sorted by relevance
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | FilmstripGestureRecognizer.java | 38 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()
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 97 final float vscroll; in onGenericMotionEvent() local 100 vscroll = 0; in onGenericMotionEvent() 103 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 113 if (vscroll < 0) { in onGenericMotionEvent() 114 handled |= scrollUp(widget, text, (int)Math.ceil(-vscroll)); in onGenericMotionEvent() 115 } else if (vscroll > 0) { in onGenericMotionEvent() 116 handled |= scrollDown(widget, text, (int)Math.ceil(vscroll)); in onGenericMotionEvent()
|
/aosp12/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | CursorInputMapper.cpp | 331 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local 333 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 335 mWheelYVelocityControl.move(when, nullptr, &vscroll); in sync() 472 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
|
H A D | TouchInputMapper.cpp | 3593 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local 3595 mWheelYVelocityControl.move(when, nullptr, &vscroll); in dispatchPointerSimple() 3601 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | PagedView.java | 1456 final float vscroll; in onGenericMotionEvent() local 1459 vscroll = 0; in onGenericMotionEvent() 1462 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 1465 if (!canScroll(Math.abs(vscroll), Math.abs(hscroll))) { in onGenericMotionEvent() 1468 if (hscroll != 0 || vscroll != 0) { in onGenericMotionEvent() 1469 boolean isForwardScroll = mIsRtl ? (hscroll < 0 || vscroll < 0) in onGenericMotionEvent() 1470 : (hscroll > 0 || vscroll > 0); in onGenericMotionEvent()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | FilmstripLayout.java | 382 public boolean onMouseScroll(float hscroll, float vscroll) { in onMouseScroll() argument 384 return mFilmstripGestureListener.onMouseScroll(hscroll, vscroll); in onMouseScroll()
|
H A D | FilmstripView.java | 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);
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 591 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local 592 if (vscroll < 0) { in onGenericMotionEvent() 595 } else if (vscroll > 0) { in onGenericMotionEvent()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackScrollLayout.java | 3416 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local 3417 if (vscroll != 0) { in onGenericMotionEvent() 3418 final int delta = (int) (vscroll * getVerticalScrollFactor()); in onGenericMotionEvent()
|