Searched refs:hscroll (Results 1 - 4 of 4) 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 | 711 final float hscroll; 713 hscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); 715 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); 717 if (hscroll != 0) { 718 final int delta = (int) (hscroll * getHorizontalScrollFactor());
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PagedView.java | 1714 final float hscroll; 1717 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); 1720 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); 1722 if (hscroll != 0 || vscroll != 0) { 1723 if (hscroll > 0 || vscroll > 0) {
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 2474 float hscroll = mCursorScrollAccumulator.getRelativeHWheel(); local 2475 bool scrolled = vscroll != 0 || hscroll != 0; 2478 mWheelXVelocityControl.move(when, &hscroll, NULL); 2557 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll); 5607 float hscroll = mCurrentRawHScroll; local 5609 mWheelXVelocityControl.move(when, &hscroll, NULL); 5615 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_HSCROLL, hscroll);
|
Completed in 151 milliseconds