Searched refs:touchPoints (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 143 private int getPointsForTime(long time, TouchPoint[] touchPoints) { in getPointsForTime() argument 148 touchPoints[numPointsFound].mStrokeId = strokeDescription.getId(); in getPointsForTime() 149 touchPoints[numPointsFound].mContinuedStrokeId = in getPointsForTime() 151 touchPoints[numPointsFound].mIsStartOfPath = in getPointsForTime() 154 touchPoints[numPointsFound].mIsEndOfPath = !strokeDescription.willContinue() 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() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 243 if (!firstStep.touchPoints[i].mIsStartOfPath) { in newGestureTriesToContinueOldOne() 266 TouchPoint touchPoint = firstStep.touchPoints[i]; in prepareToContinueOldGesture() 373 appendMoveEventIfNeeded(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 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() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
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() 749 touchPoints[0].mIsStartOfPath = ((i == 0) && (continuedStrokeId <= 0)); in createSimpleGestureFromPoints() 750 touchPoints[0].mContinuedStrokeId = continuedStrokeId; in createSimpleGestureFromPoints() 751 touchPoints[0].mStrokeId = strokeId; in createSimpleGestureFromPoints() 752 touchPoints[0].mIsEndOfPath = ((i == points.length - 1) && !continued); in createSimpleGestureFromPoints() 753 gesture.add(new GestureStep(interval * i, 1, touchPoints)); in createSimpleGestureFromPoints() 764 TouchPoint[] touchPoints = new TouchPoint[numPoints1 + numPoints2]; in combineGestureSteps() local [all …]
|
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) {
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 140 Landroid/accessibilityservice/GestureDescription$GestureStep;->touchPoints:[Landroid/accessibilitys…
|