/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 55 public static MotionEvent obtainMouseEvent(int action, View anchor, int offsetX, int offsetY) { in obtainMouseEvent() argument 59 final int x = screenPos[0] + offsetX; in obtainMouseEvent()
|
D | CtsTouchUtils.java | 82 int offsetX, int offsetY) { in emulateTapOnView() argument 87 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView() 120 int offsetX, int offsetY) { in emulateDoubleTapOnView() argument 125 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView() 516 int offsetX, int offsetY) { in emulateLongPressOnView() argument 520 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateLongPressOnView()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TooltipTest.java | 185 private void injectHoverMove(int source, View target, int offsetX, int offsetY) { in injectHoverMove() argument 187 source, target, MotionEvent.ACTION_HOVER_MOVE, offsetX, offsetY)); in injectHoverMove() 190 private void injectHoverMove(View target, int offsetX, int offsetY) { in injectHoverMove() argument 191 injectHoverMove(InputDevice.SOURCE_MOUSE, target, offsetX, offsetY); in injectHoverMove() 203 private static MotionEvent obtainMouseEvent(View target, int action, int offsetX, int offsetY) { in obtainMouseEvent() argument 204 return obtainMotionEvent(InputDevice.SOURCE_MOUSE, target, action, offsetX, offsetY); in obtainMouseEvent() 208 int source, View target, int action, int offsetX, int offsetY) { in obtainMotionEvent() argument 213 xy[0] + target.getWidth() / 2 + offsetX, xy[1] + target.getHeight() / 2 + offsetY, in obtainMotionEvent()
|
D | HoverTest.java | 105 private void injectHoverMove(View view, int offsetX, int offsetY) { in injectHoverMove() argument 107 obtainMouseEvent(MotionEvent.ACTION_HOVER_MOVE, view, offsetX, offsetY)); in injectHoverMove()
|
D | MotionEventTest.java | 315 float offsetX = 1.0f; in testOffsetLocation() local 317 mMotionEvent2.offsetLocation(offsetX, offsetY); in testOffsetLocation() 318 withCoords(X_3F + offsetX, Y_4F + offsetY).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testOffsetLocation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 449 final int offsetX = mActivity.findViewById(R.id.anchor_upper).getWidth() / 2; in testShowAsDropDown_ClipToScreen_Overlap_Offset() local 455 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 458 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 461 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 465 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 468 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 471 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 475 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 478 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 481 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() [all …]
|
D | TextViewTest.java | 7742 int offsetX = end.x - start.x; in testSmartSelection_dragSelection() local 7746 mInstrumentation, startX, startY, offsetX, 0 /* offsetY */); in testSmartSelection_dragSelection() 8001 private void emulateClickOnView(View view, int offsetX, int offsetY) { in emulateClickOnView() argument 8002 CtsTouchUtils.emulateTapOnView(mInstrumentation, view, offsetX, offsetY); in emulateClickOnView() 8006 private void emulateLongPressOnView(View view, int offsetX, int offsetY) { in emulateLongPressOnView() argument 8007 CtsTouchUtils.emulateLongPressOnView(mInstrumentation, view, offsetX, offsetY); in emulateLongPressOnView()
|
/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/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 36 uint offsetX; // X offset into inputRawBuffer 356 uint xP = x + offsetX;
|