Home
last modified time | relevance | path

Searched refs:gestureSteps (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java107 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 …]
DProxyAccessibilityServiceConnection.java543 public void sendGesture(int sequence, ParceledListSlice gestureSteps) in sendGesture() argument
551 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) in dispatchGesture() argument
DAccessibilityServiceConnection.java547 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) { in dispatchGesture() argument
560 gestureSteps.getList(), mServiceInterface, sequence, displayId); in dispatchGesture()
DAbstractAccessibilityServiceConnection.java1049 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/
DAccessibilityServiceConnectionTest.java261 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()
DMotionEventInjectorTest.java732 private void injectEventsSync(List<GestureStep> gestureSteps, in injectEventsSync() argument
734 mMotionEventInjector.injectEvents(gestureSteps, serviceInterface, sequence, in injectEventsSync()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl151 void sendGesture(int sequence, in ParceledListSlice gestureSteps); in sendGesture() argument
154 void dispatchGesture(int sequence, in ParceledListSlice gestureSteps, int displayId); in dispatchGesture() argument
DGestureDescription.java570 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/
DAccessibilityServiceConnectionImpl.java171 public void sendGesture(int sequence, ParceledListSlice gestureSteps) {} in sendGesture() argument
173 public void dispatchGesture(int sequence, ParceledListSlice gestureSteps, int displayId) {} in dispatchGesture() argument