Searched refs:vscroll (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 98 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/ |
D | CursorInputMapper.cpp | 278 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local 280 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 282 mWheelYVelocityControl.move(when, nullptr, &vscroll); in sync() 389 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync()
|
D | TouchInputMapper.cpp | 3580 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local 3582 mWheelYVelocityControl.move(when, nullptr, &vscroll); in dispatchPointerSimple() 3587 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
|
/frameworks/base/core/java/android/widget/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3527 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local 3528 if (vscroll != 0) { in onGenericMotionEvent() 3529 final int delta = (int) (vscroll * getVerticalScrollFactor()); in onGenericMotionEvent()
|