/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 107 public void injectEvents(List<GestureStep> gestureSteps, in injectEvents() argument 110 args.arg1 = gestureSteps; in injectEvents() 183 private void injectEventsMainThread(List<GestureStep> gestureSteps, in injectEventsMainThread() argument 200 boolean continuingGesture = newGestureTriesToContinueOldOne(gestureSteps); in injectEventsMainThread() 204 || !prepareToContinueOldGesture(gestureSteps)) { in injectEventsMainThread() 218 List<MotionEvent> events = getMotionEventsFromGestureSteps(gestureSteps, in injectEventsMainThread() 237 private boolean newGestureTriesToContinueOldOne(List<GestureStep> gestureSteps) { in newGestureTriesToContinueOldOne() argument 238 if (gestureSteps.isEmpty()) { in newGestureTriesToContinueOldOne() 241 GestureStep firstStep = gestureSteps.get(0); in newGestureTriesToContinueOldOne() 258 private boolean prepareToContinueOldGesture(List<GestureStep> gestureSteps) { in prepareToContinueOldGesture() argument [all …]
|
D | ProxyAccessibilityServiceConnection.java | 543 public void sendGesture(int sequence, ParceledListSlice gestureSteps) in sendGesture() argument 551 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) in dispatchGesture() argument
|
D | AccessibilityServiceConnection.java | 547 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) { in dispatchGesture() argument 560 gestureSteps.getList(), mServiceInterface, sequence, displayId); in dispatchGesture()
|
D | AbstractAccessibilityServiceConnection.java | 1049 public void sendGesture(int sequence, ParceledListSlice gestureSteps) { in sendGesture() argument 1052 "sendGesture", "sequence=" + sequence + ";gestureSteps=" + gestureSteps); in sendGesture() 1058 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) { in dispatchGesture() argument 1061 + gestureSteps + ";displayId=" + displayId); in dispatchGesture()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityServiceConnectionTest.java | 261 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_touchableDevice_injectEvents() local 262 when(parceledListSlice.getList()).thenReturn(gestureSteps); in sendGesture_touchableDevice_injectEvents() 265 verify(mMockMotionEventInjector).injectEvents(gestureSteps, mMockServiceClient, 0, in sendGesture_touchableDevice_injectEvents() 278 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_untouchableDevice_performGestureResultFailed() local 279 when(parceledListSlice.getList()).thenReturn(gestureSteps); in sendGesture_untouchableDevice_performGestureResultFailed() 282 verify(mMockMotionEventInjector, never()).injectEvents(gestureSteps, mMockServiceClient, 0, in sendGesture_untouchableDevice_performGestureResultFailed() 295 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_invalidDisplay_performGestureResultFailed() local 296 when(parceledListSlice.getList()).thenReturn(gestureSteps); in sendGesture_invalidDisplay_performGestureResultFailed()
|
D | MotionEventInjectorTest.java | 732 private void injectEventsSync(List<GestureStep> gestureSteps, in injectEventsSync() argument 734 mMotionEventInjector.injectEvents(gestureSteps, serviceInterface, sequence, in injectEventsSync()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceConnection.aidl | 151 void sendGesture(int sequence, in ParceledListSlice gestureSteps); in sendGesture() argument 154 void dispatchGesture(int sequence, in ParceledListSlice gestureSteps, int displayId); in dispatchGesture() argument
|
D | GestureDescription.java | 570 final List<GestureStep> gestureSteps = new ArrayList<>(); in getGestureStepsFromGestureDescription() local 584 gestureSteps.add(new GestureStep(timeSinceGestureStart, currentTouchPointSize, in getGestureStepsFromGestureDescription() 590 return gestureSteps; in getGestureStepsFromGestureDescription()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityServiceConnectionImpl.java | 171 public void sendGesture(int sequence, ParceledListSlice gestureSteps) {} in sendGesture() argument 173 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) {} in dispatchGesture() argument
|