Home
last modified time | relevance | path

Searched refs:vscroll (Results 1 – 4 of 4) 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.java589 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local
590 if (vscroll < 0) { in onGenericMotionEvent()
593 } else if (vscroll > 0) { in onGenericMotionEvent()
/frameworks/native/services/inputflinger/
DInputReader.cpp2775 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local
2777 bool scrolled = vscroll != 0 || hscroll != 0; in sync()
2779 mWheelYVelocityControl.move(when, nullptr, &vscroll); in sync()
2896 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
6460 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local
6462 mWheelYVelocityControl.move(when, nullptr, &vscroll); in dispatchPointerSimple()
6468 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3697 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
3698 if (vscroll != 0) {
3699 final int delta = (int) (vscroll * getVerticalScrollFactor());