Home
last modified time | relevance | path

Searched refs:TouchPoint (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java143 private int getPointsForTime(long time, TouchPoint[] touchPoints) { in getPointsForTime()
428 public static class TouchPoint implements Parcelable { class in GestureDescription
439 public TouchPoint() { in TouchPoint() method in GestureDescription.TouchPoint
442 public TouchPoint(TouchPoint pointToCopy) { in TouchPoint() method in GestureDescription.TouchPoint
446 public TouchPoint(Parcel parcel) { in TouchPoint() method in GestureDescription.TouchPoint
456 public void copyFrom(TouchPoint other) { in copyFrom()
493 public static final @android.annotation.NonNull Parcelable.Creator<TouchPoint> CREATOR
494 = new Parcelable.Creator<TouchPoint>() {
495 public TouchPoint createFromParcel(Parcel in) {
496 return new TouchPoint(in);
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java21 import android.accessibilityservice.GestureDescription.TouchPoint;
74 private TouchPoint[] mLastTouchPoints;
251 TouchPoint touchPoint = firstStep.touchPoints[i]; in prepareToContinueOldGesture()
346 TouchPoint[] lastTouchPoints = getLastTouchPoints(); in getMotionEventsFromGestureSteps()
367 private TouchPoint[] getLastTouchPoints() { in getLastTouchPoints()
370 mLastTouchPoints = new TouchPoint[capacity]; in getLastTouchPoints()
372 mLastTouchPoints[i] = new GestureDescription.TouchPoint(); in getLastTouchPoints()
379 TouchPoint[] currentTouchPoints, int currentTouchPointsSize, long currentTime) { in appendMoveEventIfNeeded()
382 TouchPoint[] lastTouchPoints = getLastTouchPoints(); in appendMoveEventIfNeeded()
400 TouchPoint[] currentTouchPoints, int currentTouchPointsSize, long currentTime) { in appendUpEvents()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java43 import android.accessibilityservice.GestureDescription.TouchPoint;
217 TouchPoint[] startTouchPoints = new TouchPoint[tooManyPointsCount]; in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash()
218 TouchPoint[] endTouchPoints = new TouchPoint[tooManyPointsCount]; in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash()
220 startTouchPoints[i] = new TouchPoint(); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash()
224 endTouchPoints[i] = new TouchPoint(); in testInjectEvents_gestureWithTooManyPoints_shouldNotCrash()
334 TouchPoint clickTouchPoint = new TouchPoint(); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal()
338 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testOnMotionEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassReal()
380 TouchPoint clickTouchPoint = new TouchPoint(); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew()
384 mLineList.add(new GestureStep(0, 1, new TouchPoint[] {clickTouchPoint})); in testInjectEvents_closedInjectedGestureInProgress_shouldOnlyNotifyAndPassNew()
725 TouchPoint[] touchPoints = new TouchPoint[1]; in createSimpleGestureFromPoints()
[all …]