/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
H A D | CtsMouseUtil.java | 55 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { argument 59 final int x = screenPos[0] + offsetX;
|
H A D | CtsTouchUtils.java | 78 * @param offsetX extra X offset for the tap 82 int offsetX, int offsetY) { 87 int xOnScreen = viewOnScreenXY[0] + offsetX; 116 * @param offsetX extra X offset for the taps 120 int offsetX, int offsetY) { 125 int xOnScreen = viewOnScreenXY[0] + offsetX; 512 * @param offsetX extra X offset for the tap 516 int offsetX, int offsetY) { 520 int xOnScreen = viewOnScreenXY[0] + offsetX; 81 emulateTapOnView(Instrumentation instrumentation, View anchorView, int offsetX, int offsetY) argument 119 emulateDoubleTapOnView(Instrumentation instrumentation, View anchorView, int offsetX, int offsetY) argument 515 emulateLongPressOnView(Instrumentation instrumentation, View view, int offsetX, int offsetY) argument
|
/cts/tests/tests/view/src/android/view/cts/ |
H A D | HoverTest.java | 105 private void injectHoverMove(View view, int offsetX, int offsetY) { argument 107 obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, view, offsetX, offsetY));
|
H A D | TooltipTest.java | 185 private void injectHoverMove(int source, View target, int offsetX, int offsetY) { argument 187 source, target, MotionEvent.ACTION_HOVER_MOVE, offsetX, offsetY)); 190 private void injectHoverMove(View target, int offsetX, int offsetY) { argument 191 injectHoverMove(InputDevice.SOURCE_MOUSE, target, offsetX, offsetY); 203 private static MotionEvent obtainMouseEvent(View target, int action, int offsetX, int offsetY) { argument 204 return obtainMotionEvent(InputDevice.SOURCE_MOUSE, target, action, offsetX, offsetY); 208 int source, View target, int action, int offsetX, int offsetY) { 213 xy[0] + target.getWidth() / 2 + offsetX, xy[1] + target.getHeight() / 2 + offsetY, 207 obtainMotionEvent( int source, View target, int action, int offsetX, int offsetY) argument
|
/cts/tests/tests/widget/src/android/widget/cts/ |
H A D | PopupWindowTest.java | 449 final int offsetX = mActivity.findViewById(R.id.anchor_upper).getWidth() / 2; 455 offsetX, offsetY, gravity); 458 offsetX, offsetY, gravity); 461 offsetX, offsetY, gravity); 465 offsetX, offsetY, gravity); 468 offsetX, offsetY, gravity); 471 offsetX, offsetY, gravity); 475 offsetX, offsetY, gravity); 478 offsetX, offsetY, gravity); 481 offsetX, offset 531 verifyPosition(PopupWindow popup, int anchorId, int contentEdgeX, int operatorX, int anchorEdgeX, int contentEdgeY, int operatorY, int anchorEdgeY, int offsetX, int offsetY, int gravity) argument 549 verifyPosition(PopupWindow popup, View anchor, int contentEdgeX, int operatorX, int anchorEdgeX, int contentEdgeY, int operatorY, int anchorEdgeY, int offsetX, int offsetY, int gravity) argument [all...] |
H A D | TextViewTest.java | 7742 int offsetX = end.x - start.x; 7746 mInstrumentation, startX, startY, offsetX, 0 /* offsetY */); 8001 private void emulateClickOnView(View view, int offsetX, int offsetY) { argument 8002 CtsTouchUtils.emulateTapOnView(mInstrumentation, view, offsetX, offsetY); 8006 private void emulateLongPressOnView(View view, int offsetX, int offsetY) { argument 8007 CtsTouchUtils.emulateLongPressOnView(mInstrumentation, view, offsetX, offsetY);
|