Searched refs:touchPoints (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 143 private int getPointsForTime(long time, TouchPoint[] touchPoints) { in getPointsForTime() argument 149 touchPoints[numPointsFound].mContinuedStrokeId = in getPointsForTime() 151 touchPoints[numPointsFound].mIsStartOfPath = in getPointsForTime() 157 touchPoints[numPointsFound].mX = Math.round(mTempPos[0]); in getPointsForTime() 158 touchPoints[numPointsFound].mY = Math.round(mTempPos[1]); in getPointsForTime() 513 public TouchPoint[] touchPoints; field in GestureDescription.GestureStep 519 this.touchPoints = new TouchPoint[numTouchPoints]; in GestureStep() 521 this.touchPoints[i] = new TouchPoint(touchPointsToCopy[i]); in GestureStep() 530 touchPoints = new TouchPoint[numTouchPoints]; in GestureStep() 532 touchPoints[i] = (TouchPoint) parcelables[i]; in GestureStep() [all …]
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MotionEventInjector.java | 243 if (!firstStep.touchPoints[i].mIsStartOfPath) { in newGestureTriesToContinueOldOne() 266 TouchPoint touchPoint = firstStep.touchPoints[i]; in prepareToContinueOldGesture() 375 appendUpEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 377 appendDownEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 464 TouchPoint[] touchPoints, int touchPointsSize) { in obtainMotionEvent() argument 478 int pointerId = mStrokeIdToPointerId.get(touchPoints[i].mStrokeId, -1); in obtainMotionEvent() 481 mStrokeIdToPointerId.put(touchPoints[i].mStrokeId, pointerId); in obtainMotionEvent() 488 sPointerCoords[i].x = touchPoints[i].mX; in obtainMotionEvent() 489 sPointerCoords[i].y = touchPoints[i].mY; in obtainMotionEvent() 497 private static int findPointByStrokeId(TouchPoint[] touchPoints, int touchPointsSize, in findPointByStrokeId() argument [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | MotionEventInjectorTest.java | 744 TouchPoint[] touchPoints = new TouchPoint[1]; in createSimpleGestureFromPoints() local 745 touchPoints[0] = new TouchPoint(); in createSimpleGestureFromPoints() 747 touchPoints[0].mX = points[i].x; in createSimpleGestureFromPoints() 748 touchPoints[0].mY = points[i].y; in createSimpleGestureFromPoints() 750 touchPoints[0].mContinuedStrokeId = continuedStrokeId; in createSimpleGestureFromPoints() 751 touchPoints[0].mStrokeId = strokeId; in createSimpleGestureFromPoints() 766 touchPoints[j] = new TouchPoint(); in combineGestureSteps() 767 touchPoints[j].copyFrom(list1.get(i).touchPoints[j]); in combineGestureSteps() 770 touchPoints[numPoints1 + j] = new TouchPoint(); in combineGestureSteps() 771 touchPoints[numPoints1 + j].copyFrom(list2.get(i).touchPoints[j]); in combineGestureSteps() [all …]
|
H A D | GestureDescriptionTest.java | 309 if (gestureStep.touchPoints[i].mIsStartOfPath) { 329 if (gestureStep.touchPoints[i].mIsEndOfPath) { 348 if ((gestureStep.touchPoints[i].mX == point.x) 349 && (gestureStep.touchPoints[i].mY == point.y)) { 368 if (gestureStep.touchPoints[i].mStrokeId == strokeId) { 387 if (gestureStep.touchPoints[i].mContinuedStrokeId == strokeId) {
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 140 Landroid/accessibilityservice/GestureDescription$GestureStep;->touchPoints:[Landroid/accessibilitys…
|