Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
H A DGestureLogParser.java36 final MotionEvent.PointerCoords[] pointerCoords; in getMotionEventFromLogLine() local
66 pointerCoords = findCoordinates(line, pointerCount); in getMotionEventFromLogLine()
69 pointerCount, properties, pointerCoords, metaState, buttonState, in getMotionEventFromLogLine()
107 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in findCoordinates() local
108 pointerCoords.x = x; in findCoordinates()
109 pointerCoords.y = y; in findCoordinates()
110 pointerCoords.pressure = 1; in findCoordinates()
111 pointerCoords.size = 1; in findCoordinates()
113 coords[i] = pointerCoords; in findCoordinates()
H A DTouchEventGenerator.java88 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in generateMultiplePointersEvent() local
89 pointerCoords.x = pointFs[i].x; in generateMultiplePointersEvent()
90 pointerCoords.y = pointFs[i].y; in generateMultiplePointersEvent()
91 pointerCoordsArray[i] = pointerCoords; in generateMultiplePointersEvent()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
H A DPointerCountClassifierTest.java72 MotionEvent.PointerCoords[] pointerCoords = MotionEvent.PointerCoords.createArray(2); in testFail_multiPointer() local
74 1, 1, MotionEvent.ACTION_DOWN, 2, pointerProperties, pointerCoords, 0, 0, 0, 0, 0, in testFail_multiPointer()
89 MotionEvent.PointerCoords[] pointerCoords = MotionEvent.PointerCoords.createArray(2); in testPass_multiPointerDragDown() local
91 1, 1, MotionEvent.ACTION_DOWN, 2, pointerProperties, pointerCoords, 0, 0, 0, 0, 0, in testPass_multiPointerDragDown()
H A DClassifierTest.java159 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[pointerCount]; in appendTrackpadMotionEvent() local
162 pointerCoords[i] = getPointerCoords(x, y); in appendTrackpadMotionEvent()
165 pointerCoords, 0, 0, 1.0f, 1.0f, 0, 0, in appendTrackpadMotionEvent()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DPinchZoomAction.java83 final MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[]{pc1, pc2}; in sendPinchZoomAction() local
86 eventTime, MotionEvent.ACTION_DOWN, 1, pointerProperties, pointerCoords, in sendPinchZoomAction()
93 2, pointerProperties, pointerCoords, 0, 0, 1, 1, 0, 0, 0, 0); in sendPinchZoomAction()
131 MotionEvent.ACTION_MOVE, 2, pointerProperties, pointerCoords, in sendPinchZoomAction()
151 MotionEvent.ACTION_POINTER_UP, 2, pointerProperties, pointerCoords, in sendPinchZoomAction()
166 MotionEvent.ACTION_POINTER_UP, 1, pointerProperties, pointerCoords, in sendPinchZoomAction()
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java697 PointerCoords[] pointerCoords = new PointerCoords[touches.length];
705 pointerCoords[x] = touches[x][0];
712 properties, pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
718 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
728 pointerCoords[x] = touches[x][i];
730 pointerCoords[x] = touches[x][touches[x].length - 1];
734 MotionEvent.ACTION_MOVE, touches.length, properties, pointerCoords, 0, 0, 1, 1,
743 pointerCoords[x] = touches[x][touches[x].length - 1];
749 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
753 Log.i(LOG_TAG, "x " + pointerCoords[0].x);
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
H A DSinglePointerTouchProcessorTest.kt590 val pointerCoords = regex
607 pointerCoords = pointerCoords
694 pointerCoords: Array<MotionEvent.PointerCoords>,
702 pointerCoords.size /* pointerCount */,
704 pointerCoords /* pointerCoords */,
731 pointerCoords: List<MotionEvent.PointerCoords>,
738 pointerCoords.toTypedArray(),
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java163 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[pointerCount]; in injectMotionEvent() local
168 pointerCoords[i] = new MotionEvent.PointerCoords(); in injectMotionEvent()
169 pointerCoords[i].x = x; in injectMotionEvent()
170 pointerCoords[i].y = y; in injectMotionEvent()
171 pointerCoords[i].pressure = pressure; in injectMotionEvent()
172 pointerCoords[i].size = DEFAULT_SIZE; in injectMotionEvent()
179 pointerProperties, pointerCoords, DEFAULT_META_STATE, DEFAULT_BUTTON_STATE, in injectMotionEvent()
/aosp14/frameworks/base/core/java/android/view/
H A DMotionEvent.java1692 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() argument
1695 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() argument
1869 @SuppressLint("ArrayReturn") @NonNull PointerCoords[] pointerCoords, int metaState, in obtain()
1876 pointerCoords); in obtain()
1917 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument
1955 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument
1994 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() argument
2005 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, in obtain()
2199 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) { in initialize() argument
2203 pointerCoords); in initialize()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingDataProvider.java338 PointerCoords pointerCoords = new PointerCoords();
339 motionEvent.getHistoricalPointerCoords(j, i, pointerCoords);
340 pointerCoordsList.add(pointerCoords);
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandlerTest.java980 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in pointerEvent() local
981 pointerCoords.x = pointersPosition[i].x; in pointerEvent()
982 pointerCoords.y = pointersPosition[i].y; in pointerEvent()
983 pointerCoordsArray[i] = pointerCoords; in pointerEvent()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...