Searched refs:TouchEventGenerator (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | SimpleSwipeTest.java | 31 import com.android.server.accessibility.utils.TouchEventGenerator; 66 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleDownEvent_onGestureCanceledAfterTimeout() 82 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSwipeEvent_onGestureCompleted() 84 final MotionEvent moveEvent = TouchEventGenerator.moveEvent(Display.DEFAULT_DISPLAY, in sendSwipeEvent_onGestureCompleted() 98 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCanceled() 100 final MotionEvent upEvent = TouchEventGenerator.upEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCanceled()
|
H A D | TwoFingersDownOrSwipeTest.java | 19 import static com.android.server.accessibility.utils.TouchEventGenerator.movePointer; 20 import static com.android.server.accessibility.utils.TouchEventGenerator.twoPointersDownEvents; 36 import com.android.server.accessibility.utils.TouchEventGenerator; 78 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleDownEvent_GestureCanceledAfterTimeout() 103 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCancelled() 105 final MotionEvent upEvent = TouchEventGenerator.upEvent(Display.DEFAULT_DISPLAY, in sendSingleTapEvent_onGestureCancelled()
|
H A D | MagnificationGesturesObserverTest.java | 35 import com.android.server.accessibility.utils.TouchEventGenerator; 77 final MotionEvent moveEvent = TouchEventGenerator.moveEvent(Display.DEFAULT_DISPLAY, in onActionMove_onGestureCanceled() 90 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onActionDown_shouldNotDetection_onGestureCanceled() 102 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_unrecognizedEvents_onDetectionCanceledAfterTimeout() 116 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in sendEventsOfSwiping_onGestureCompleted() 119 final MotionEvent moveEvent = TouchEventGenerator.moveEvent(Display.DEFAULT_DISPLAY, in sendEventsOfSwiping_onGestureCompleted()
|
H A D | WindowMagnificationGestureHandlerTest.java | 43 import com.android.server.accessibility.utils.TouchEventGenerator; 256 TouchEventGenerator.twoPointersDownEvents(DISPLAY_0, in goFromStateIdleTo() 364 return TouchEventGenerator.downEvent(DISPLAY_0, x, y); in downEvent() 368 return TouchEventGenerator.upEvent(DISPLAY_0, x, y); in upEvent()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
H A D | GesturesObserverTest.java | 34 import com.android.server.accessibility.utils.TouchEventGenerator; 72 final MotionEvent moveEvent = TouchEventGenerator.moveEvent(Display.DEFAULT_DISPLAY, in onActionMove_onGestureCancelled() 84 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_unrecognizedEvents_onGestureCancelledAfterTimeout() 98 final MotionEvent downEvent = TouchEventGenerator.downEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_recognizedEvents_onGestureCompleted() 100 final MotionEvent moveEvent = TouchEventGenerator.moveEvent(Display.DEFAULT_DISPLAY, in onMotionEvent_recognizedEvents_onGestureCompleted()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
H A D | TouchEventGenerator.java | 36 public class TouchEventGenerator { class
|