/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsTouchUtils.java | 68 public void onDownInjected(int xOnScreen, int yOnScreen); in onDownInjected() argument 75 public void onMoveInjected(int[] xOnScreen, int[] yOnScreen); in onMoveInjected() argument 82 public void onUpInjected(int xOnScreen, int yOnScreen); in onUpInjected() argument 113 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView() local 117 injectDownEvent(instrumentation, downTime, xOnScreen, yOnScreen, in emulateTapOnView() 119 injectMoveEventForTap(instrumentation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateTapOnView() 121 xOnScreen, yOnScreen, /* eventInjectionListener= */ null); in emulateTapOnView() 160 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView() local 164 injectDownEvent(instrumentation, downTime, xOnScreen, yOnScreen, null); in emulateDoubleTapOnView() 165 injectMoveEventForTap(instrumentation, downTime, touchSlop, xOnScreen, yOnScreen); in emulateDoubleTapOnView() [all …]
|
D | CtsMouseUtil.java | 94 int xOnScreen, int yOnScreen) { in injectHoverEvent() argument 96 xOnScreen, yOnScreen, 0); in injectHoverEvent()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | StretchEdgeUtil.kt | 285 xOnScreen: Int, in injectUpEvent() 287 ) = injectEvent(uiAutomation, MotionEvent.ACTION_UP, downTime, upTime, xOnScreen, yOnScreen) in injectUpEvent() 300 xOnScreen: Int, in injectUpEvent() 302 ) = injectEvent(uiAutomation, MotionEvent.ACTION_DOWN, downTime, downTime, xOnScreen, yOnScreen) in injectUpEvent() 309 xOnScreen: Int, in injectUpEvent() 313 downTime, eventTime, action, xOnScreen.toFloat(), yOnScreen.toFloat(), 1) in injectUpEvent()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WallpaperWindowInputTests.kt | 97 val xOnScreen = bounds.width() / 2 in checkWallpaperEvent() constant 99 val pointer = touchScreen.touchDown(xOnScreen, yOnScreen) in checkWallpaperEvent() 109 withCoords(Point(xOnScreen, yOnScreen)), in checkWallpaperEvent()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 179 final int xOnScreen = in touchDisplay() local 185 downEventTime, MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, 0); in touchDisplay() 192 MotionEvent.ACTION_UP, xOnScreen, yOnScreen, 0); in touchDisplay()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsListView_ScrollTest.java | 609 public void onDownInjected(int xOnScreen, int yOnScreen) { 613 public void onMoveInjected(int[] xOnScreen, int[] yOnScreen) { 617 public void onUpInjected(int xOnScreen, int yOnScreen) {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityDisplayProxyTest.java | 635 final int xOnScreen = in testTriggerTouchExploration_topFocusDisplayIsLastNonProxyDisplay() local 641 click(new PointF(xOnScreen, yOnScreen))); in testTriggerTouchExploration_topFocusDisplayIsLastNonProxyDisplay() 948 final int xOnScreen = in getDownMotionEvent() local 954 downEventTime, MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, 0); in getDownMotionEvent()
|
D | AccessibilityEndToEndTest.java | 2429 int xOnScreen, int yOnScreen) { in injectHoverEvent() argument 2432 xOnScreen, yOnScreen, 0); in injectHoverEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 4778 int xOnScreen = viewOnScreenXY[0] + decorView.getWidth() / 2; in startDragAndDrop() local 4783 MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, 1); in startDragAndDrop()
|