Home
last modified time | relevance | path

Searched refs:numTouchPoints (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java512 public int numTouchPoints; field in GestureDescription.GestureStep
515 public GestureStep(long timeSinceGestureStart, int numTouchPoints, in GestureStep() argument
518 this.numTouchPoints = numTouchPoints; in GestureStep()
519 this.touchPoints = new TouchPoint[numTouchPoints]; in GestureStep()
520 for (int i = 0; i < numTouchPoints; i++) { in GestureStep()
529 numTouchPoints = (parcelables == null) ? 0 : parcelables.length; in GestureStep()
530 touchPoints = new TouchPoint[numTouchPoints]; in GestureStep()
531 for (int i = 0; i < numTouchPoints; i++) { in GestureStep()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGestureDescriptionTest.java289 Matcher<GestureStep> numTouchPointsIs(final int numTouchPoints) { in numTouchPointsIs() argument
293 return gestureStep.numTouchPoints == numTouchPoints; in numTouchPointsIs()
298 description.appendText("Has " + numTouchPoints + " touch point(s)"); in numTouchPointsIs()
308 for (int i = 0; i < gestureStep.numTouchPoints; i++) {
328 for (int i = 0; i < gestureStep.numTouchPoints; i++) {
347 for (int i = 0; i < gestureStep.numTouchPoints; i++) {
367 for (int i = 0; i < gestureStep.numTouchPoints; i++) {
386 for (int i = 0; i < gestureStep.numTouchPoints; i++) {
DMotionEventInjectorTest.java743 int numPoints1 = list1.get(i).numTouchPoints; in combineGestureSteps()
744 int numPoints2 = list2.get(i).numTouchPoints; in combineGestureSteps()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java227 for (int i = 0; i < firstStep.numTouchPoints; i++) { in newGestureTriesToContinueOldOne()
250 for (int i = 0; i < firstStep.numTouchPoints; i++) { in prepareToContinueOldGesture()
350 int currentTouchPointSize = step.numTouchPoints; in getMotionEventsFromGestureSteps()