Searched refs:TouchPoint (Results 1 – 3 of 3) sorted by relevance
143 private int getPointsForTime(long time, TouchPoint[] touchPoints) { in getPointsForTime()428 public static class TouchPoint implements Parcelable { class in GestureDescription439 public TouchPoint() { in TouchPoint() method in GestureDescription.TouchPoint442 public TouchPoint(TouchPoint pointToCopy) { in TouchPoint() method in GestureDescription.TouchPoint446 public TouchPoint(Parcel parcel) { in TouchPoint() method in GestureDescription.TouchPoint456 public void copyFrom(TouchPoint other) { in copyFrom()493 public static final @android.annotation.NonNull Parcelable.Creator<TouchPoint> CREATOR494 = new Parcelable.Creator<TouchPoint>() {495 public TouchPoint createFromParcel(Parcel in) {496 return new TouchPoint(in);[all …]
21 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 …]
43 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 …]