/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 114 int yOnScreen = viewOnScreenXY[1] + offsetY; 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() 161 int yOnScreen = viewOnScreenXY[1] + offsetY; 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 | 286 yOnScreen: Int in injectUpEvent() 287 ) = injectEvent(uiAutomation, MotionEvent.ACTION_UP, downTime, upTime, xOnScreen, yOnScreen) in injectUpEvent() 301 yOnScreen: Int in injectUpEvent() 302 ) = injectEvent(uiAutomation, MotionEvent.ACTION_DOWN, downTime, downTime, xOnScreen, yOnScreen) in injectUpEvent() 310 yOnScreen: 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 | 98 val yOnScreen = bounds.height() / 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 | 181 final int yOnScreen = 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 | 637 final int yOnScreen = in testTriggerTouchExploration_topFocusDisplayIsLastNonProxyDisplay() local 641 click(new PointF(xOnScreen, yOnScreen))); in testTriggerTouchExploration_topFocusDisplayIsLastNonProxyDisplay() 950 final int yOnScreen = 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 | 4779 int yOnScreen = viewOnScreenXY[1] + decorView.getHeight() / 2; in startDragAndDrop() local 4783 MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, 1); in startDragAndDrop()
|