Searched refs:hscroll (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 98 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 D | HorizontalScrollView.java | 726 final float hscroll; 728 hscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); 730 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); 732 if (hscroll != 0) { 733 final int delta = (int) (hscroll * getHorizontalScrollFactor());
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 2621 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); local 2622 bool scrolled = vscroll != 0 || hscroll != 0; 2625 mWheelXVelocityControl.move(when, &hscroll, NULL); 2738 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); 6167 float hscroll = mCurrentRawState.rawHScroll; local 6169 mWheelXVelocityControl.move(when, &hscroll, NULL); 6175 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll);
|
Completed in 119 milliseconds