Home
last modified time | relevance | path

Searched refs:offsetInScreen (Results 1 – 2 of 2) sorted by relevance

/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest5DetailFragment.java131 int offsetInScreen[] = new int[2]; in collectStartAction() local
132 view.getLocationOnScreen(offsetInScreen); in collectStartAction()
133 mPointerEvent.startX = (int)(event.getX() + offsetInScreen[0]); in collectStartAction()
134 mPointerEvent.startY = (int)(event.getY() + offsetInScreen[1]); in collectStartAction()
146 int offsetInScreen[] = new int[2]; in collectEndAction() local
147 view.getLocationOnScreen(offsetInScreen); in collectEndAction()
148 mPointerEvent.endX = (int)(event.getX() + offsetInScreen[0]); in collectEndAction()
149 mPointerEvent.endY = (int)(event.getY() + offsetInScreen[1]); in collectEndAction()
DTestGenericDetailFragment.java143 int offsetInScreen[] = new int[2]; in collectStartAction() local
144 view.getLocationOnScreen(offsetInScreen); in collectStartAction()
146 (int)(event.getX(pointerIndex) + offsetInScreen[0]); in collectStartAction()
148 (int)(event.getY(pointerIndex) + offsetInScreen[1]); in collectStartAction()
160 int offsetInScreen[] = new int[2]; in collectEndAction() local
161 view.getLocationOnScreen(offsetInScreen); in collectEndAction()
163 (int)(event.getX(pointerIndex) + offsetInScreen[0]); in collectEndAction()
165 (int)(event.getY(pointerIndex) + offsetInScreen[1]); in collectEndAction()