Home
last modified time | relevance | path

Searched refs:pointerProperties (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DPinchToZoomTestPlayerListener.java126 PointerProperties[] pointerProperties, PointerCoords[] pointerCoords) { in obtainAndSendPointerEvent() argument
128 SystemClock.uptimeMillis() /* eventTime */, action, pointerCount, pointerProperties, in obtainAndSendPointerEvent()
181 PointerProperties[] pointerProperties = getPointerProperties(); in pinchAndZoom() local
186 pointerProperties, pointerCoords); in pinchAndZoom()
187 obtainAndSendPointerEvent(inst, MotionEvent.ACTION_POINTER_DOWN + (pointerProperties[1].id in pinchAndZoom()
188 << MotionEvent.ACTION_POINTER_INDEX_SHIFT), 2 /* pointerCount */, pointerProperties, in pinchAndZoom()
200 pointerProperties, pointerCoords); in pinchAndZoom()
204 obtainAndSendPointerEvent(inst, MotionEvent.ACTION_POINTER_UP + (pointerProperties[1].id in pinchAndZoom()
205 << MotionEvent.ACTION_POINTER_INDEX_SHIFT), 2 /* pointerCount */, pointerProperties, in pinchAndZoom()
208 pointerProperties, pointerCoords); in pinchAndZoom()
/cts/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/
DVirtualInputEventCreator.java30 final MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createMouseEvent() local
31 pointerProperties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in createMouseEvent()
45 new MotionEvent.PointerProperties[]{pointerProperties}, in createMouseEvent()
65 final MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createTouchscreenEvent() local
66 pointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER; in createTouchscreenEvent()
81 new MotionEvent.PointerProperties[]{pointerProperties}, in createTouchscreenEvent()
95 final MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createNavigationTouchpadMotionEvent() local
96 pointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER; in createNavigationTouchpadMotionEvent()
111 new MotionEvent.PointerProperties[]{pointerProperties}, in createNavigationTouchpadMotionEvent()
157 final MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createStylusEvent() local
[all …]
/cts/tests/tests/view/src/android/view/cts/
DMotionEvent_PointerPropertiesTest.java54 final MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in testCopyFrom() local
55 pointerProperties.copyFrom(mPointerProperties); in testCopyFrom()
56 mBuilder.verifyMatchesPointerProperties(pointerProperties); in testCopyFrom()
DMotionEventUtils.java50 final PointerProperties pointerProperties = in build() local
52 pointerProperties.id = id; in build()
53 pointerProperties.toolType = toolType; in build()
54 return pointerProperties; in build()
/cts/tests/input/src/android/input/cts/
DInputShellCommandTest.kt153 val pointerProperties = MotionEvent.PointerProperties() in assertToolType() constant
155 event.getPointerProperties(i, pointerProperties) in assertToolType()
156 assertThat(toolType).isEqualTo(pointerProperties.toolType) in assertToolType()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseMovementMethodTest.java286 final PointerProperties[] pointerProperties = new PointerProperties[1]; in createScrollEvent() local
287 pointerProperties[0] = new PointerProperties(); in createScrollEvent()
288 pointerProperties[0].id = 0; in createScrollEvent()
295 pointerProperties, coords, meta, 0, 1.0f, 1.0f, 0, 0, in createScrollEvent()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java1256 MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createScrollEvent() local
1257 pointerProperties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in createScrollEvent()
1268 new MotionEvent.PointerProperties[] { pointerProperties }, in createScrollEvent()
DScrollViewTest.java1393 MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createScrollEvent() local
1394 pointerProperties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in createScrollEvent()
1405 new MotionEvent.PointerProperties[] { pointerProperties }, in createScrollEvent()
DListViewTest.java1518 MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in createScrollEvent() local
1519 pointerProperties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in createScrollEvent()
1530 new MotionEvent.PointerProperties[] { pointerProperties }, in createScrollEvent()