Searched refs:vscroll (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
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()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 327 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local 329 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 331 mWheelYVelocityControl.move(when, nullptr, &vscroll); in sync() 451 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
|
D | TouchInputMapper.cpp | 3535 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local 3537 mWheelYVelocityControl.move(when, nullptr, &vscroll); in dispatchPointerSimple() 3543 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 589 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3734 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); 3735 if (vscroll != 0) { 3736 final int delta = (int) (vscroll * getVerticalScrollFactor());
|