Home
last modified time | relevance | path

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

/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.java96 final MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in testCopyFrom() local
97 pointerCoords.copyFrom(mPointerCoords); in testCopyFrom()
98 mBuilder.verifyMatchesPointerCoords(pointerCoords); in testCopyFrom()
DMotionEventTest.java599 final PointerCoords[] pointerCoords = new PointerCoords[pointerCount]; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local
604 pointerCoords[i] = c; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
610 pointerCount, pointerIds, pointerCoords, 0, 0, 0, 0, 0, 0, 0); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
635 final PointerCoords c = pointerCoords[i]; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
DViewTest.java427 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[1]; in testMouseEventCallsGetPointerIcon() local
428 pointerCoords[0] = new MotionEvent.PointerCoords(); in testMouseEventCallsGetPointerIcon()
429 pointerCoords[0].x = x; in testMouseEventCallsGetPointerIcon()
430 pointerCoords[0].y = y; in testMouseEventCallsGetPointerIcon()
436 1, pointerIds, pointerCoords, 0, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); in testMouseEventCallsGetPointerIcon()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java8128 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[1]; in createMouseHoverEvent() local
8129 pointerCoords[0] = new MotionEvent.PointerCoords(); in createMouseHoverEvent()
8130 pointerCoords[0].x = x; in createMouseHoverEvent()
8131 pointerCoords[0].y = y; in createMouseHoverEvent()
8135 pointerCoords, 0, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); in createMouseHoverEvent()