Searched refs:pointerId (Results 1 – 8 of 8) sorted by relevance
/cts/tests/input/src/android/input/cts/ |
D | SimultaneousTouchAndStylusTest.kt | 127 val pointerId = 0 in testLeftTouchRightStylusMove() constant 129 touchScreen.sendDown(pointerId, leftWindowLocation) in testLeftTouchRightStylusMove() 144 stylus.sendDown(pointerId, rightWindowLocation, UinputTouchDevice.MT_TOOL_PEN) in testLeftTouchRightStylusMove() 157 touchScreen.sendMove(pointerId, leftWindowLocation) in testLeftTouchRightStylusMove() 169 stylus.sendMove(pointerId, rightWindowLocation) in testLeftTouchRightStylusMove() 181 touchScreen.sendUp(pointerId) in testLeftTouchRightStylusMove() 194 stylus.sendUp(pointerId) in testLeftTouchRightStylusMove() 228 val pointerId = 0 in testLeftTouchRightStylusHover() constant 230 touchScreen.sendDown(pointerId, leftWindowLocation) in testLeftTouchRightStylusHover() 243 stylus.sendDown(pointerId, rightWindowLocation, UinputTouchDevice.MT_TOOL_PEN) in testLeftTouchRightStylusHover() [all …]
|
D | DrawingTabletTest.kt | 103 val pointerId = 0 in testHover() constant 112 drawingTablet.sendDown(pointerId, INJECTION_POINTS[0], UinputTouchDevice.MT_TOOL_PEN) in testHover() 131 drawingTablet.sendMove(pointerId, INJECTION_POINTS[1]) in testHover() 143 drawingTablet.sendUp(pointerId) in testHover() 164 val pointerId = 0 in verifyTaps() constant 166 drawingTablet.sendDown(pointerId, INJECTION_POINTS[i], UinputTouchDevice.MT_TOOL_PEN) in verifyTaps() 170 drawingTablet.sendUp(pointerId) in verifyTaps()
|
D | TouchScreenTest.kt | 284 val pointerId = 0 in verifyTapsOnFourCorners() constant 287 touchScreen.sendDown(pointerId, CORNERS[i]) in verifyTapsOnFourCorners() 294 touchScreen.sendUp(pointerId) in verifyTapsOnFourCorners()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPointView.java | 69 int pointerId = event.getPointerId(i); in onTouchEvent() local 70 int pointerIndex = event.findPointerIndex(pointerId); in onTouchEvent() 73 finger.pointerId = pointerId; in onTouchEvent() 87 int color = mColors[finger.pointerId % mColors.length]; in onDraw() 95 public int pointerId; field in TouchPointView.Finger
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualTouchEventTest.java | 38 final int pointerId = 1; in parcelAndUnparcel_matches() local 47 .setPointerId(pointerId) in parcelAndUnparcel_matches() 169 final int pointerId = 1; in touchEvent_palmAndCancelUsedProperly() local 177 .setPointerId(pointerId) in touchEvent_palmAndCancelUsedProperly() 187 assertWithMessage("Incorrect pointer id").that(event.getPointerId()).isEqualTo(pointerId); in touchEvent_palmAndCancelUsedProperly() 197 final int pointerId = 1; in touchEvent_valid_created() local 204 .setPointerId(pointerId) in touchEvent_valid_created() 213 assertWithMessage("Incorrect pointer id").that(event.getPointerId()).isEqualTo(pointerId); in touchEvent_valid_created() 222 final int pointerId = 1; in touchEvent_validWithPressureAndAxis_created() local 230 .setPointerId(pointerId) in touchEvent_validWithPressureAndAxis_created() [all …]
|
/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/ |
D | EmulateInputDevice.kt | 84 val pointerId = 0 in <lambda>() constant 88 sendDown(pointerId, pointer) in <lambda>() 93 sendMove(pointerId, pointer) in <lambda>() 98 sendUp(pointerId) in <lambda>()
|
/cts/libs/input/src/com/android/cts/input/ |
D | UinputTouchDevice.kt | 192 val pointerId = firstUnusedPointerId() in touchDown() constant 193 pointerIds.add(pointerId) in touchDown() 194 return Pointer(pointerId, x, y) in touchDown()
|
D | InputJsonParser.java | 648 int pointerId; in motionActionFromString() local 652 pointerId = entry.getInt("pointerId"); in motionActionFromString() 654 pointerId = entry.optInt("pointerId", 0); in motionActionFromString() 659 return motionAction | (pointerId << MotionEvent.ACTION_POINTER_INDEX_SHIFT); in motionActionFromString()
|