/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/ |
H A D | UiController.java | 42 boolean injectMotionEvent(MotionEvent event) throws InjectEventSecurityException; method in interface:UiController
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
H A D | EventInjectionStrategy.java | 48 boolean injectMotionEvent(MotionEvent motionEvent) throws InjectEventSecurityException; method in interface:EventInjectionStrategy
|
H A D | EventInjector.java | 95 boolean injectMotionEvent(MotionEvent event) throws InjectEventSecurityException { method in class:EventInjector 96 return injectionStrategy.injectMotionEvent(event);
|
H A D | WindowManagerEventInjectionStrategy.java | 123 public boolean injectMotionEvent(MotionEvent motionEvent) throws InjectEventSecurityException { method in class:WindowManagerEventInjectionStrategy
|
H A D | InputManagerEventInjectionStrategy.java | 128 public boolean injectMotionEvent(MotionEvent motionEvent) throws InjectEventSecurityException { method in class:InputManagerEventInjectionStrategy
|
H A D | UiControllerImpl.java | 208 public boolean injectMotionEvent(final MotionEvent event) throws InjectEventSecurityException { method in class:UiControllerImpl 217 return eventInjector.injectMotionEvent(event);
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/ |
H A D | TypeTextActionTest.java | 55 when(mockUiController.injectMotionEvent(isA(MotionEvent.class))).thenReturn(true); 63 when(mockUiController.injectMotionEvent(isA(MotionEvent.class))).thenReturn(true); 80 when(mockUiController.injectMotionEvent(isA(MotionEvent.class))).thenReturn(true);
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 197 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x, y, 1.0f); 198 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x, y, 0.0f); 206 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f); 212 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), 216 injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f); 228 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, dx, dy, 0.0f); 247 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { method in class:Input 258 Log.i(TAG, "injectMotionEvent: " + event);
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/ |
H A D | MotionEvents.java | 79 boolean injectEventSucceeded = uiController.injectMotionEvent(motionEvent); 137 boolean injectEventSucceeded = uiController.injectMotionEvent(motionEvent); 173 boolean injectEventSucceeded = uiController.injectMotionEvent(motionEvent); 211 boolean injectEventSucceeded = uiController.injectMotionEvent(motionEvent);
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/ |
H A D | EventInjectorTest.java | 146 injector.injectMotionEvent(down); 189 injectEventWorked.set(injector.injectMotionEvent(up));
|
H A D | UiControllerImplIntegrationTest.java | 266 injectEventWorked.set(uiController.injectMotionEvent(event));
|