Home
last modified time | relevance | path

Searched refs:yOnScreen (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java68 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 …]
DCtsMouseUtil.java94 int xOnScreen, int yOnScreen) { in injectHoverEvent() argument
96 xOnScreen, yOnScreen, 0); in injectHoverEvent()
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt286 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/
DWallpaperWindowInputTests.kt98 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/
DDisplayUtils.java181 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/
DAbsListView_ScrollTest.java609 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/
DAccessibilityDisplayProxyTest.java637 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()
DAccessibilityEndToEndTest.java2429 int xOnScreen, int yOnScreen) { in injectHoverEvent() argument
2432 xOnScreen, yOnScreen, 0); in injectHoverEvent()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4779 int yOnScreen = viewOnScreenXY[1] + decorView.getHeight() / 2; in startDragAndDrop() local
4783 MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, 1); in startDragAndDrop()