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.java98 final float vscroll; in onGenericMotionEvent() local
101 vscroll = 0; in onGenericMotionEvent()
104 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent()
114 if (vscroll < 0) { in onGenericMotionEvent()
115 handled |= scrollUp(widget, text, (int)Math.ceil(-vscroll)); in onGenericMotionEvent()
116 } else if (vscroll > 0) { in onGenericMotionEvent()
117 handled |= scrollDown(widget, text, (int)Math.ceil(vscroll)); in onGenericMotionEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp274 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local
276 bool scrolled = vscroll != 0 || hscroll != 0; in sync()
278 mWheelYVelocityControl.move(when, nullptr, &vscroll); in sync()
394 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
DTouchInputMapper.cpp3719 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local
3721 mWheelYVelocityControl.move(when, nullptr, &vscroll); in dispatchPointerSimple()
3727 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
/frameworks/base/core/java/android/widget/
DStackView.java591 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local
592 if (vscroll < 0) { in onGenericMotionEvent()
595 } else if (vscroll > 0) { in onGenericMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java3509 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local
3510 if (vscroll != 0) { in onGenericMotionEvent()
3511 final int delta = (int) (vscroll * getVerticalScrollFactor()); in onGenericMotionEvent()