Home
last modified time | relevance | path

Searched refs:pointerIndex (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java57 public void verifyMatches(MotionEvent that, int pointerIndex) { in verifyMatches() argument
59 that.getPointerId(pointerIndex), this.id); in verifyMatches()
61 that.getToolType(pointerIndex), this.toolType); in verifyMatches()
69 public void verifyMatchesPointerProperties(MotionEvent motionEvent, int pointerIndex) { in verifyMatchesPointerProperties() argument
71 motionEvent.getPointerProperties(pointerIndex, that); in verifyMatchesPointerProperties()
172 public void verifyMatches(MotionEvent that, int pointerIndex) { in verifyMatches() argument
174 that.getX(pointerIndex), this.x, DELTA); in verifyMatches()
176 that.getAxisValue(MotionEvent.AXIS_X, pointerIndex), this.x, DELTA); in verifyMatches()
179 that.getY(pointerIndex), this.y, DELTA); in verifyMatches()
181 that.getAxisValue(MotionEvent.AXIS_Y, pointerIndex), this.y, DELTA); in verifyMatches()
[all …]
DMockView.java627 public PointerIcon onResolvePointerIcon(MotionEvent event, int pointerIndex) { in onResolvePointerIcon() argument
629 return super.onResolvePointerIcon(event, pointerIndex); in onResolvePointerIcon()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java70 int pointerIndex = event.findPointerIndex(pointerId); in onTouchEvent() local
72 finger.point = new Point((int)event.getX(pointerIndex), (int)event.getY(pointerIndex)); in onTouchEvent()