Searched refs:touchPoints (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 124 private int getPointsForTime(long time, TouchPoint[] touchPoints) { in getPointsForTime() argument 129 touchPoints[numPointsFound].mStrokeId = strokeDescription.getId(); in getPointsForTime() 130 touchPoints[numPointsFound].mContinuedStrokeId = in getPointsForTime() 132 touchPoints[numPointsFound].mIsStartOfPath = in getPointsForTime() 135 touchPoints[numPointsFound].mIsEndOfPath = !strokeDescription.willContinue() in getPointsForTime() 138 touchPoints[numPointsFound].mX = Math.round(mTempPos[0]); in getPointsForTime() 139 touchPoints[numPointsFound].mY = Math.round(mTempPos[1]); in getPointsForTime() 478 public TouchPoint[] touchPoints; field in GestureDescription.GestureStep 484 this.touchPoints = new TouchPoint[numTouchPoints]; in GestureStep() 486 this.touchPoints[i] = new TouchPoint(touchPointsToCopy[i]); in GestureStep() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 226 if (!firstStep.touchPoints[i].mIsStartOfPath) { in newGestureTriesToContinueOldOne() 249 TouchPoint touchPoint = firstStep.touchPoints[i]; in prepareToContinueOldGesture() 355 appendMoveEventIfNeeded(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 357 appendUpEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 359 appendDownEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 446 TouchPoint[] touchPoints, int touchPointsSize) { in obtainMotionEvent() argument 460 int pointerId = mStrokeIdToPointerId.get(touchPoints[i].mStrokeId, -1); in obtainMotionEvent() 463 mStrokeIdToPointerId.put(touchPoints[i].mStrokeId, pointerId); in obtainMotionEvent() 470 sPointerCoords[i].x = touchPoints[i].mX; in obtainMotionEvent() 471 sPointerCoords[i].y = touchPoints[i].mY; in obtainMotionEvent() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 721 TouchPoint[] touchPoints = new TouchPoint[1]; in createSimpleGestureFromPoints() local 722 touchPoints[0] = new TouchPoint(); in createSimpleGestureFromPoints() 724 touchPoints[0].mX = points[i].x; in createSimpleGestureFromPoints() 725 touchPoints[0].mY = points[i].y; in createSimpleGestureFromPoints() 726 touchPoints[0].mIsStartOfPath = ((i == 0) && (continuedStrokeId <= 0)); in createSimpleGestureFromPoints() 727 touchPoints[0].mContinuedStrokeId = continuedStrokeId; in createSimpleGestureFromPoints() 728 touchPoints[0].mStrokeId = strokeId; in createSimpleGestureFromPoints() 729 touchPoints[0].mIsEndOfPath = ((i == points.length - 1) && !continued); in createSimpleGestureFromPoints() 730 gesture.add(new GestureStep(interval * i, 1, touchPoints)); in createSimpleGestureFromPoints() 741 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/config/ |
D | hiddenapi-greylist-max-o.txt | 140 Landroid/accessibilityservice/GestureDescription$GestureStep;->touchPoints:[Landroid/accessibilitys…
|