Home
last modified time | relevance | path

Searched refs:MotionEventInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationGesturesObserver.java71 List<MotionEventInfo> delayedEventQueue, MotionEvent event); in onGestureCompleted()
85 List<MotionEventInfo> delayedEventQueue, MotionEvent lastEvent); in onGestureCancelled()
88 @Nullable private List<MotionEventInfo> mDelayedEventQueue;
132 final List<MotionEventInfo> delayEventQueue = mDelayedEventQueue; in onGestureCompleted()
148 final List<MotionEventInfo> delayEventQueue = mDelayedEventQueue; in notifyDetectionCancel()
165 for (MotionEventInfo eventInfo2: mDelayedEventQueue) { in clear()
184 MotionEventInfo info = in cacheDelayedMotionEvent()
185 MotionEventInfo.obtain(event, rawEvent, in cacheDelayedMotionEvent()
DMotionEventInfo.java28 final class MotionEventInfo { class
34 static MotionEventInfo obtain(MotionEvent event, MotionEvent rawEvent, in obtain()
36 return new MotionEventInfo(MotionEvent.obtain(event), MotionEvent.obtain(rawEvent), in obtain()
40 MotionEventInfo(MotionEvent event, MotionEvent rawEvent, in MotionEventInfo() method in MotionEventInfo
DFullScreenMagnificationGestureHandler.java369 + MotionEventInfo.toString(mDetectingState.mDelayedEventQueue)); in onDestroy()
1154 protected MotionEventInfo mDelayedEventQueue;
1389 return MotionEventInfo.countOf(mDelayedEventQueue, ACTION_UP); in tapCount()
1432 MotionEventInfo info = MotionEventInfo.obtain(event, rawEvent, in cacheDelayedMotionEvent()
1437 MotionEventInfo tail = mDelayedEventQueue; in cacheDelayedMotionEvent()
1457 MotionEventInfo info = mDelayedEventQueue; in sendDelayedMotionEvents()
1469 MotionEventInfo info = mDelayedEventQueue; in clearDelayedMotionEvents()
1494 + MotionEventInfo.toString(mDelayedEventQueue)); in onTripleTap()
1538 + ", mDelayedEventQueue=" + MotionEventInfo.toString(mDelayedEventQueue) in toString()
1691 private static final class MotionEventInfo { class in FullScreenMagnificationGestureHandler
[all …]
DMotionEventDispatcherDelegate.java55 void sendDelayedMotionEvents(List<MotionEventInfo> delayedEventQueue, in sendDelayedMotionEvents()
66 for (MotionEventInfo info: delayedEventQueue) { in sendDelayedMotionEvents()
DWindowMagnificationGestureHandler.java534 List<MotionEventInfo> delayedEventQueue, in onGestureCompleted()
560 List<MotionEventInfo> delayedEventQueue, in onGestureCancelled()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java476 MotionEventInfo[] events = new MotionEventInfo[]{ in testCursorDrag_slop()
504 MotionEventInfo[] events = new MotionEventInfo[]{ in testCursorDrag_snapToHandle()
517 events = new MotionEventInfo[]{ in testCursorDrag_snapToHandle()
752 public static MotionEventInfo motionEventInfo(int index, float ratioToLineTop) { in motionEventInfo()
753 return new MotionEventInfo(index, ratioToLineTop, index); in motionEventInfo()
756 public static MotionEventInfo motionEventInfo(int index, float ratioToLineTop, in motionEventInfo()
758 return new MotionEventInfo(index, ratioToLineTop, expectedCursorIndex); in motionEventInfo()
761 private static class MotionEventInfo { class in EditorCursorDragTest
766 private MotionEventInfo(int index, float ratioToLineTop, int expectedCursorIndex) { in MotionEventInfo() method in EditorCursorDragTest.MotionEventInfo
783 private void simulateDrag(TextView tv, MotionEventInfo[] events, boolean runAssertions) in simulateDrag()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGesturesObserverTest.java60 private ArgumentCaptor<List<MotionEventInfo>> mEventInfoArgumentCaptor;
151 private static void verifyCacheMotionEvents(List<MotionEventInfo> actualEvents, in verifyCacheMotionEvents()