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

/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java98 final float hscroll;
101 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
104 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL);
108 if (hscroll < 0) {
109 handled |= scrollLeft(widget, text, (int)Math.ceil(-hscroll));
110 } else if (hscroll > 0) {
111 handled |= scrollRight(widget, text, (int)Math.ceil(hscroll));
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java714 final float hscroll;
716 hscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL);
718 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL);
720 if (hscroll != 0) {
721 final int delta = (int) (hscroll * getHorizontalScrollFactor());
/frameworks/native/services/inputflinger/
H A DInputReader.cpp2573 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); local
2574 bool scrolled = vscroll != 0 || hscroll != 0;
2577 mWheelXVelocityControl.move(when, &hscroll, NULL);
2688 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll);
5999 float hscroll = mCurrentRawState.rawHScroll; local
6001 mWheelXVelocityControl.move(when, &hscroll, NULL);
6007 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll);

Completed in 82 milliseconds