Searched refs:GestureStep (Results 1 – 5 of 5) 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; 113 List<GestureStep> mLineList = new ArrayList<>(); 114 List<GestureStep> mClickList = new ArrayList<>(); 115 List<GestureStep> mContinuedLineList1 = new ArrayList<>(); 116 List<GestureStep> mContinuedLineList2 = new ArrayList<>(); 226 List<GestureStep> events = Arrays.asList( in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 227 new GestureStep(0, tooManyPointsCount, startTouchPoints), in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 228 new GestureStep(CLICK_DURATION, tooManyPointsCount, endTouchPoints)); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash() 335 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal() 381 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 475 public static class GestureStep implements Parcelable { class in GestureDescription 480 public GestureStep(long timeSinceGestureStart, int numTouchPoints, in GestureStep() method in GestureDescription.GestureStep 490 public GestureStep(Parcel parcel) { in GestureStep() method in GestureDescription.GestureStep 512 public static final @android.annotation.NonNull Parcelable.Creator<GestureStep> CREATOR 513 = new Parcelable.Creator<GestureStep>() { 514 public GestureStep createFromParcel(Parcel in) { 515 return new GestureStep(in); 518 public GestureStep[] newArray(int size) { 519 return new GestureStep[size]; 533 public static List<GestureStep> getGestureStepsFromGestureDescription( in getGestureStepsFromGestureDescription() [all …]
|
D | AccessibilityService.java | 741 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() 148 injectEventsMainThread((List<GestureStep>) args.arg1, in handleMessage() 167 private void injectEventsMainThread(List<GestureStep> gestureSteps, in injectEventsMainThread() 220 private boolean newGestureTriesToContinueOldOne(List<GestureStep> gestureSteps) { in newGestureTriesToContinueOldOne() 224 GestureStep firstStep = gestureSteps.get(0); in newGestureTriesToContinueOldOne() 241 private boolean prepareToContinueOldGesture(List<GestureStep> gestureSteps) { in prepareToContinueOldGesture() 245 GestureStep firstStep = gestureSteps.get(0); in prepareToContinueOldGesture() 341 List<GestureStep> steps, long startTime) { in getMotionEventsFromGestureSteps() 347 GestureDescription.GestureStep step = steps.get(i); in getMotionEventsFromGestureSteps()
|