Searched refs:hscroll (Results 1 – 3 of 3) 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/reader/mapper/ |
D | CursorInputMapper.cpp | 332 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); in sync() local 333 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 336 mWheelXVelocityControl.move(when, &hscroll, nullptr); in sync() 473 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync()
|
D | TouchInputMapper.cpp | 3565 float hscroll = mCurrentRawState.rawHScroll; in dispatchPointerSimple() local 3567 mWheelXVelocityControl.move(when, &hscroll, nullptr); in dispatchPointerSimple() 3573 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in dispatchPointerSimple()
|