Searched refs:hscroll (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 98 final float hscroll; in onGenericMotionEvent() local 101 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 104 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent() 108 if (hscroll < 0) { in onGenericMotionEvent() 109 handled |= scrollLeft(widget, text, (int)Math.ceil(-hscroll)); in onGenericMotionEvent() 110 } else if (hscroll > 0) { in onGenericMotionEvent() 111 handled |= scrollRight(widget, text, (int)Math.ceil(hscroll)); in onGenericMotionEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2709 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); in sync() local 2710 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 2713 mWheelXVelocityControl.move(when, &hscroll, NULL); in sync() 2826 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync() 6273 float hscroll = mCurrentRawState.rawHScroll; in dispatchPointerSimple() local 6275 mWheelXVelocityControl.move(when, &hscroll, NULL); in dispatchPointerSimple() 6281 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in dispatchPointerSimple()
|