Searched refs:vscroll (Results 1 – 4 of 4) 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/support/core-ui/java/android/support/v4/widget/ |
D | NestedScrollView.java | 901 final float vscroll = MotionEventCompat.getAxisValue(event, in onGenericMotionEvent() local 903 if (vscroll != 0) { in onGenericMotionEvent() 904 final int delta = (int) (vscroll * getVerticalScrollFactorCompat()); in onGenericMotionEvent()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 588 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() local 589 if (vscroll < 0) { in onGenericMotionEvent() 592 } else if (vscroll > 0) { in onGenericMotionEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2628 float vscroll = mCursorScrollAccumulator.getRelativeVWheel(); in sync() local 2630 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 2632 mWheelYVelocityControl.move(when, NULL, &vscroll); in sync() 2745 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in sync() 6174 float vscroll = mCurrentRawState.rawVScroll; in dispatchPointerSimple() local 6176 mWheelYVelocityControl.move(when, NULL, &vscroll); in dispatchPointerSimple() 6182 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_VSCROLL, vscroll); in dispatchPointerSimple()
|