Searched refs:GestureStep (Results 1 – 7 of 7) 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 | 44 import android.accessibilityservice.GestureDescription.GestureStep; 126 List<GestureStep> mLineList = new ArrayList<>(); 127 List<GestureStep> mClickList = new ArrayList<>(); 128 List<GestureStep> mContinuedLineList1 = new ArrayList<>(); 129 List<GestureStep> mContinuedLineList2 = new ArrayList<>(); 244 List<GestureStep> events = Arrays.asList( in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 245 new GestureStep(0, tooManyPointsCount, startTouchPoints), in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 246 new GestureStep(CLICK_DURATION, tooManyPointsCount, endTouchPoints)); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 357 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 403 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew() [all …]
|
D | AccessibilityServiceConnectionTest.java | 261 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_touchableDevice_injectEvents() 278 List<GestureDescription.GestureStep> gestureSteps = mock(List.class); in sendGesture_untouchableDevice_performGestureResultFailed() 295 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 | 1282 List<GestureDescription.GestureStep> steps = in dispatchGesture()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 21 import android.accessibilityservice.GestureDescription.GestureStep; 107 public void injectEvents(List<GestureStep> gestureSteps, in injectEvents() 162 injectEventsMainThread((List<GestureStep>) args.arg1, in handleMessage() 183 private void injectEventsMainThread(List<GestureStep> gestureSteps, in injectEventsMainThread() 237 private boolean newGestureTriesToContinueOldOne(List<GestureStep> gestureSteps) { in newGestureTriesToContinueOldOne() 241 GestureStep firstStep = gestureSteps.get(0); in newGestureTriesToContinueOldOne() 258 private boolean prepareToContinueOldGesture(List<GestureStep> gestureSteps) { in prepareToContinueOldGesture() 262 GestureStep firstStep = gestureSteps.get(0); in prepareToContinueOldGesture() 359 List<GestureStep> steps, long startTime) { in getMotionEventsFromGestureSteps() 365 GestureDescription.GestureStep step = steps.get(i); in getMotionEventsFromGestureSteps()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 135 Landroid/accessibilityservice/GestureDescription$GestureStep;-><init>(JI[Landroid/accessibilityserv… 136 Landroid/accessibilityservice/GestureDescription$GestureStep;-><init>(Landroid/os/Parcel;)V 137 Landroid/accessibilityservice/GestureDescription$GestureStep;->CREATOR:Landroid/os/Parcelable$Creat… 138 Landroid/accessibilityservice/GestureDescription$GestureStep;->numTouchPoints:I 139 Landroid/accessibilityservice/GestureDescription$GestureStep;->timeSinceGestureStart:J 140 Landroid/accessibilityservice/GestureDescription$GestureStep;->touchPoints:[Landroid/accessibilitys…
|