Searched refs:GestureStep (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GestureDescriptionTest.java | 24 import android.accessibilityservice.GestureDescription.GestureStep; 52 List<GestureStep> clickGestureSteps = MotionEventGenerator in testGestureShorterThanSampleRate_producesStartAndEnd() 73 List<GestureStep> swipeGestureSteps = MotionEventGenerator in testSwipe_shouldContainEvenlySpacedPoints() 94 List<GestureStep> swipeGestureSteps = MotionEventGenerator in testSwipeWithNonIntegerValues_shouldRound() 147 List<GestureStep> steps = MotionEventGenerator in testPathsWithOverlappingTiming_produceCorrectSteps() 209 List<GestureStep> steps = MotionEventGenerator in testMaxTouchpoints_shouldHaveValidCoords() 236 List<GestureStep> swipeGestureSteps = MotionEventGenerator in testGetGestureSteps_touchPointsHaveStrokeId() 250 List<GestureStep> steps = MotionEventGenerator in testGetGestureSteps_continuedStroke_hasNoEndPoint() 265 List<GestureStep> steps = MotionEventGenerator in testGetGestureSteps_continuingStroke_hasNoStartPointAndHasContinuedId() 289 Matcher<GestureStep> numTouchPointsIs(final int numTouchPoints) { in numTouchPointsIs() [all …]
|
D | MotionEventInjectorTest.java | 42 import android.accessibilityservice.GestureDescription.GestureStep; 116 List<GestureStep> mLineList = new ArrayList<>(); 117 List<GestureStep> mClickList = new ArrayList<>(); 118 List<GestureStep> mContinuedLineList1 = new ArrayList<>(); 119 List<GestureStep> mContinuedLineList2 = new ArrayList<>(); 229 List<GestureStep> events = Arrays.asList( in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 230 new GestureStep(0, tooManyPointsCount, startTouchPoints), in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 231 new GestureStep(CLICK_DURATION, tooManyPointsCount, endTouchPoints)); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 338 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 384 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew() [all …]
|
D | AccessibilityServiceConnectionTest.java | 205 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_touchableDisplay_injectEvents() 223 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_untouchableDisplay_performGestureResultFailed() 240 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_invalidDisplay_performGestureResultFailed()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 510 public static class GestureStep implements Parcelable { class in GestureDescription 515 public GestureStep(long timeSinceGestureStart, int numTouchPoints, in GestureStep() method in GestureDescription.GestureStep 525 public GestureStep(Parcel parcel) { in GestureStep() method in GestureDescription.GestureStep 547 public static final @android.annotation.NonNull Parcelable.Creator<GestureStep> CREATOR 548 = new Parcelable.Creator<GestureStep>() { 549 public GestureStep createFromParcel(Parcel in) { 550 return new GestureStep(in); 553 public GestureStep[] newArray(int size) { 554 return new GestureStep[size]; 568 public static List<GestureStep> getGestureStepsFromGestureDescription( in getGestureStepsFromGestureDescription() [all …]
|
D | AccessibilityService.java | 1048 List<GestureDescription.GestureStep> steps = in dispatchGesture()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 20 import android.accessibilityservice.GestureDescription.GestureStep; 103 public void injectEvents(List<GestureStep> gestureSteps, in injectEvents() 149 injectEventsMainThread((List<GestureStep>) args.arg1, in handleMessage() 168 private void injectEventsMainThread(List<GestureStep> gestureSteps, in injectEventsMainThread() 222 private boolean newGestureTriesToContinueOldOne(List<GestureStep> gestureSteps) { in newGestureTriesToContinueOldOne() 226 GestureStep firstStep = gestureSteps.get(0); in newGestureTriesToContinueOldOne() 243 private boolean prepareToContinueOldGesture(List<GestureStep> gestureSteps) { in prepareToContinueOldGesture() 247 GestureStep firstStep = gestureSteps.get(0); in prepareToContinueOldGesture() 343 List<GestureStep> steps, long startTime) { in getMotionEventsFromGestureSteps() 349 GestureDescription.GestureStep step = steps.get(i); in getMotionEventsFromGestureSteps()
|