Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java97 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()
/frameworks/base/core/java/android/widget/
DStackView.java587 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local
588 if (vscroll < 0) { in onGenericMotionEvent()
591 } else if (vscroll > 0) { in onGenericMotionEvent()
/frameworks/support/compat/src/main/java/androidx/core/widget/
DNestedScrollView.java976 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local
977 if (vscroll != 0) { in onGenericMotionEvent()
978 final int delta = (int) (vscroll * getVerticalScrollFactorCompat()); in onGenericMotionEvent()
/frameworks/native/services/inputflinger/
DInputReader.cpp2825 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local
2827 bool scrolled = vscroll != 0 || hscroll != 0; in sync()
2829 mWheelYVelocityControl.move(when, NULL, &vscroll); in sync()
2942 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
6413 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local
6415 mWheelYVelocityControl.move(when, NULL, &vscroll); in dispatchPointerSimple()
6421 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java1569 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1570 if (vscroll != 0) {
1571 final int delta = (int) (vscroll * getVerticalScrollFactor());