Home
last modified time | relevance | path

Searched refs:pointerCoords (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/util/
DEventUtils.java27 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[1]; in generateMouseEvent() local
28 pointerCoords[0] = new MotionEvent.PointerCoords(); in generateMouseEvent()
29 pointerCoords[0].x = x; in generateMouseEvent()
30 pointerCoords[0].y = y; in generateMouseEvent()
37 pointerCoords, 0, buttonState, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); in generateMouseEvent()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java116 final PointerCoords pointerCoords = new PointerCoords(); in build() local
117 pointerCoords.x = x; in build()
118 pointerCoords.y = y; in build()
119 pointerCoords.pressure = pressure; in build()
120 pointerCoords.size = size; in build()
121 pointerCoords.touchMajor = touchMajor; in build()
122 pointerCoords.touchMinor = touchMinor; in build()
123 pointerCoords.toolMajor = toolMajor; in build()
124 pointerCoords.toolMinor = toolMinor; in build()
125 pointerCoords.orientation = orientation; in build()
[all …]
DMotionEvent_PointerCoordsTest.java97 final MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in testCopyFrom() local
98 pointerCoords.copyFrom(mPointerCoords); in testCopyFrom()
99 mBuilder.verifyMatchesPointerCoords(pointerCoords); in testCopyFrom()
DMotionEventTest.java641 final PointerCoords[] pointerCoords = new PointerCoords[pointerCount]; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local
647 pointerCoords[i] = c; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
654 pointerCount, pointerIds, pointerCoords, 0, 0, 0, 0, 0, 0, 0); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
681 final PointerCoords c = pointerCoords[i]; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
DViewTest.java496 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[1]; in testMouseEventCallsGetPointerIcon() local
497 pointerCoords[0] = new MotionEvent.PointerCoords(); in testMouseEventCallsGetPointerIcon()
498 pointerCoords[0].x = x; in testMouseEventCallsGetPointerIcon()
499 pointerCoords[0].y = y; in testMouseEventCallsGetPointerIcon()
505 1, pointerIds, pointerCoords, 0, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); in testMouseEventCallsGetPointerIcon()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java8626 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[1]; in createMouseHoverEvent() local
8627 pointerCoords[0] = new MotionEvent.PointerCoords(); in createMouseHoverEvent()
8628 pointerCoords[0].x = x; in createMouseHoverEvent()
8629 pointerCoords[0].y = y; in createMouseHoverEvent()
8633 pointerCoords, 0, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); in createMouseHoverEvent()