Searched refs:coord (Results 1 – 3 of 3) sorted by relevance
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CtsWindowInfoUtils.java | 472 final Point coord = new Point(bounds.left + bounds.width() / 2, in tapOnWindowCenter() local 474 sendTap(instrumentation, coord); in tapOnWindowCenter() 476 outCoords.set(coord.x, coord.y); in tapOnWindowCenter() 502 final Point coord = new Point(bounds.left + (offset != null ? offset.x : 0), in tapOnWindow() local 504 sendTap(instrumentation, coord); in tapOnWindow() 579 public static void sendTap(Instrumentation instrumentation, Point coord) { in sendTap() argument 584 ctsTouchUtils.injectDownEvent(instrumentation, downTime, coord.x, coord.y, in sendTap() 586 ctsTouchUtils.injectUpEvent(instrumentation, downTime, false, coord.x, coord.y, null); in sendTap()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | ASurfaceControlInputReceiverTest.java | 189 final Point coord = new Point(bounds.left + bounds.width() / 2, in testRemoteASurfaceControlReceivesInput() local 191 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testRemoteASurfaceControlReceivesInput() local 230 final Point coord = new Point(bounds.left + bounds.width() / 2, in testTransferGestureFromHostToEmbedded() local 232 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testTransferGestureFromHostToEmbedded() local 270 final Point coord = new Point(bounds.left + bounds.width() / 2, in testTransferGestureFromHostToEmbeddedRemote() local 272 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testTransferGestureFromHostToEmbeddedRemote() local 311 final Point coord = new Point(bounds.left + bounds.width() / 2, in testTransferGestureFromEmbeddedToHost() local 313 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testTransferGestureFromEmbeddedToHost() local 345 final Point coord = new Point(bounds.left + bounds.width() / 2, in testTransferGestureFromEmbeddedToHostRemote() local 347 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testTransferGestureFromEmbeddedToHostRemote() local
|
D | SurfaceControlInputReceiverTests.java | 389 final Point coord = new Point(bounds.left + bounds.width() / 2, in testTransferGestureFromHostToEmbeddedRemote() local 391 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testTransferGestureFromHostToEmbeddedRemote() local 479 final Point coord = new Point(bounds.left + bounds.width() / 2, in testTransferGestureFromEmbeddedToHostRemote() local 481 sendTap(InstrumentationRegistry.getInstrumentation(), coord); in testTransferGestureFromEmbeddedToHostRemote() local
|