Searched refs:injectMotionEvent (Results 1 - 11 of 11) sorted by relevance

/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DUiController.java42 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 DEventInjectionStrategy.java48 boolean injectMotionEvent(MotionEvent motionEvent) throws InjectEventSecurityException; method in interface:EventInjectionStrategy
H A DEventInjector.java95 boolean injectMotionEvent(MotionEvent event) throws InjectEventSecurityException { method in class:EventInjector
96 return injectionStrategy.injectMotionEvent(event);
H A DWindowManagerEventInjectionStrategy.java123 public boolean injectMotionEvent(MotionEvent motionEvent) throws InjectEventSecurityException { method in class:WindowManagerEventInjectionStrategy
H A DInputManagerEventInjectionStrategy.java128 public boolean injectMotionEvent(MotionEvent motionEvent) throws InjectEventSecurityException { method in class:InputManagerEventInjectionStrategy
H A DUiControllerImpl.java208 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 DTypeTextActionTest.java55 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 DInput.java197 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 DMotionEvents.java79 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 DEventInjectorTest.java146 injector.injectMotionEvent(down);
189 injectEventWorked.set(injector.injectMotionEvent(up));
H A DUiControllerImplIntegrationTest.java266 injectEventWorked.set(uiController.injectMotionEvent(event));

Completed in 134 milliseconds