Home
last modified time | relevance | path

Searched refs:hscroll (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java99 final float hscroll; in onGenericMotionEvent() local
102 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent()
105 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent()
109 if (hscroll < 0) { in onGenericMotionEvent()
110 handled |= scrollLeft(widget, text, (int)Math.ceil(-hscroll)); in onGenericMotionEvent()
111 } else if (hscroll > 0) { in onGenericMotionEvent()
112 handled |= scrollRight(widget, text, (int)Math.ceil(hscroll)); in onGenericMotionEvent()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp275 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); in sync() local
276 bool scrolled = vscroll != 0 || hscroll != 0; in sync()
279 mWheelXVelocityControl.move(when, &hscroll, nullptr); in sync()
395 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in sync()
DTouchInputMapper.cpp3720 float hscroll = mCurrentRawState.rawHScroll; in dispatchPointerSimple() local
3722 mWheelXVelocityControl.move(when, &hscroll, nullptr); in dispatchPointerSimple()
3728 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); in dispatchPointerSimple()