/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 57 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() argument 61 final int x = screenPos[0] + offsetX; in obtainMouseEvent() 77 public static void emulateHoverOnView(Instrumentation instrumentation, View anchor, int offsetX, in emulateHoverOnView() argument 83 final int x = screenPos[0] + offsetX; in emulateHoverOnView()
|
D | CtsTouchUtils.java | 86 int offsetX, int offsetY) { in emulateTapOnView() argument 91 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView() 132 int offsetX, int offsetY) { in emulateDoubleTapOnView() argument 137 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView() 553 ActivityTestRule<?> activityTestRule, View view, int offsetX, int offsetY) { in emulateLongPressOnView() argument 557 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateLongPressOnView()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 57 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() argument 61 final int x = screenPos[0] + offsetX; in obtainMouseEvent() 77 public static void emulateHoverOnView(Instrumentation instrumentation, View anchor, int offsetX, in emulateHoverOnView() argument 83 final int x = screenPos[0] + offsetX; in emulateHoverOnView()
|
D | CtsTouchUtils.java | 87 int offsetX, int offsetY) { in emulateTapOnView() argument 92 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView() 133 int offsetX, int offsetY) { in emulateDoubleTapOnView() argument 138 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView() 554 ActivityTestRule<?> activityTestRule, View view, int offsetX, int offsetY) { in emulateLongPressOnView() argument 558 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateLongPressOnView()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TooltipTest.java | 186 private void injectHoverMove(int source, View target, int offsetX, int offsetY) { in injectHoverMove() argument 188 source, target, MotionEvent.ACTION_HOVER_MOVE, offsetX, offsetY)); in injectHoverMove() 191 private void injectHoverMove(View target, int offsetX, int offsetY) { in injectHoverMove() argument 192 injectHoverMove(InputDevice.SOURCE_MOUSE, target, offsetX, offsetY); in injectHoverMove() 204 private static MotionEvent obtainMouseEvent(View target, int action, int offsetX, int offsetY) { in obtainMouseEvent() argument 205 return obtainMotionEvent(InputDevice.SOURCE_MOUSE, target, action, offsetX, offsetY); in obtainMouseEvent() 209 int source, View target, int action, int offsetX, int offsetY) { in obtainMotionEvent() argument 214 xy[0] + target.getWidth() / 2 + offsetX, xy[1] + target.getHeight() / 2 + offsetY, in obtainMotionEvent()
|
D | HoverTest.java | 106 private void injectHoverMove(View view, int offsetX, int offsetY) { in injectHoverMove() argument 108 obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, view, offsetX, offsetY)); in injectHoverMove()
|
D | MotionEventTest.java | 320 float offsetX = 1.0f; in testOffsetLocation() local 322 mMotionEvent2.offsetLocation(offsetX, offsetY); in testOffsetLocation() 323 withCoords(X_3F + offsetX, Y_4F + offsetY).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testOffsetLocation()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 80 int offsetX = 0; in getCombinedBackgroundBitmap() local 86 ancestorOffsets.add(Pair.create(offsetX, offsetY)); in getCombinedBackgroundBitmap() 96 offsetX += view.getLeft(); in getCombinedBackgroundBitmap()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 461 final int offsetX = mActivity.findViewById(R.id.anchor_upper).getWidth() / 2; in testShowAsDropDown_ClipToScreen_Overlap_Offset() local 467 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 470 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 473 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 477 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 480 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 483 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 487 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 490 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 493 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() [all …]
|
D | TextViewTest.java | 8101 int offsetX = end.x - start.x; in testSmartSelection_dragSelection() local 8105 mInstrumentation, mActivityRule, startX, startY, offsetX, 0 /* offsetY */); in testSmartSelection_dragSelection() 8496 private void emulateClickOnView(View view, int offsetX, int offsetY) { in emulateClickOnView() argument 8497 CtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, view, offsetX, offsetY); in emulateClickOnView() 8501 private void emulateLongPressOnView(View view, int offsetX, int offsetY) { in emulateLongPressOnView() argument 8503 offsetX, offsetY); in emulateLongPressOnView()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 37 uint offsetX; // X offset into inputRawBuffer 357 uint xP = x + offsetX;
|