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