Home
last modified time | relevance | path

Searched refs:xOnScreen (Results 1 – 6 of 6) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java47 public void onDownInjected(int xOnScreen, int yOnScreen); in onDownInjected() argument
54 public void onMoveInjected(int[] xOnScreen, int[] yOnScreen); in onMoveInjected() argument
61 public void onUpInjected(int xOnScreen, int yOnScreen); in onUpInjected() argument
122 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView() local
127 injectDownEvent(uiAutomation, downTime, xOnScreen, yOnScreen, waitForAnimations, null); in emulateTapOnView()
128 … injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen, waitForAnimations); in emulateTapOnView()
129 injectUpEvent(uiAutomation, downTime, false, xOnScreen, yOnScreen, in emulateTapOnView()
169 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView() local
174 injectDownEvent(uiAutomation, downTime, xOnScreen, yOnScreen, null); in emulateDoubleTapOnView()
175 injectMoveEventForTap(uiAutomation, downTime, touchSlop, xOnScreen, yOnScreen, true); in emulateDoubleTapOnView()
[all …]
DCtsMouseUtil.java89 private static void injectHoverEvent(UiAutomation uiAutomation, long downTime, int xOnScreen, in injectHoverEvent() argument
92 xOnScreen, yOnScreen, 0); in injectHoverEvent()
/cts/tests/tests/widget/src/android/widget/cts/util/
DStretchEdgeUtil.kt272 xOnScreen: Int, in injectUpEvent()
274 ) = injectEvent(uiAutomation, MotionEvent.ACTION_UP, downTime, upTime, xOnScreen, yOnScreen) in injectUpEvent()
287 xOnScreen: Int, in injectUpEvent()
289 ) = injectEvent(uiAutomation, MotionEvent.ACTION_DOWN, downTime, downTime, xOnScreen, yOnScreen) in injectUpEvent()
296 xOnScreen: Int, in injectUpEvent()
300 downTime, eventTime, action, xOnScreen.toFloat(), yOnScreen.toFloat(), 1) in injectUpEvent()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListView_ScrollTest.java600 public void onDownInjected(int xOnScreen, int yOnScreen) {
604 public void onMoveInjected(int[] xOnScreen, int[] yOnScreen) {
608 public void onUpInjected(int xOnScreen, int yOnScreen) {
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowReportingTest.java282 final int xOnScreen = in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() local
288 downEventTime, MotionEvent.ACTION_DOWN, xOnScreen, yOnScreen, 0); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
295 MotionEvent.ACTION_UP, xOnScreen, yOnScreen, 0); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
DAccessibilityEndToEndTest.java1048 int xOnScreen, int yOnScreen) { in injectHoverEvent() argument
1051 xOnScreen, yOnScreen, 0); in injectHoverEvent()