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 | 306 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); in sync() local 307 bool scrolled = vscroll != 0 || hscroll != 0; in sync() 310 mWheelXVelocityControl.move(when, &hscroll, nullptr); in sync() 430 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync()
|
D | TouchInputMapper.cpp | 3495 float hscroll = mCurrentRawState.rawHScroll; in dispatchPointerSimple() local 3497 mWheelXVelocityControl.move(when, &hscroll, nullptr); in dispatchPointerSimple() 3503 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in dispatchPointerSimple()
|