/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | Watermark.java | 102 boolean robustMatch(@NonNull BitmapImage targetImage, int offsetX, int offsetY) { in robustMatch() argument 108 if (offsetX < 0 || targetWidth <= mWidth - 1 + offsetX) return false; in robustMatch() 113 final int targetX = x + offsetX; in robustMatch() 238 for (int offsetX = 0; offsetX < targetImageWidth; ++offsetX) { in detect() 239 if (sImage.robustMatch(targetImage, offsetX, offsetY)) { in detect()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | Watermark.java | 206 for (int offsetX = 0; offsetX < targetImage.getWidth(); ++offsetX) { in isContainedIn() 207 if (mImage.robustMatch(targetImage, offsetX, offsetY)) { in isContainedIn()
|
D | BitmapImage.java | 125 boolean robustMatch(@NonNull BitmapImage targetImage, int offsetX, int offsetY) { in robustMatch() argument 131 final int targetX = x + offsetX; in robustMatch()
|
/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 | 105 int offsetX, int offsetY) { in emulateTapOnView() argument 106 emulateTapOnView(instrumentation, activityTestRule, anchorView, offsetX, offsetY, true); in emulateTapOnView() 121 int offsetX, int offsetY, boolean waitForAnimations) { in emulateTapOnView() argument 126 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateTapOnView() 168 int offsetX, int offsetY) { in emulateDoubleTapOnView() argument 173 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateDoubleTapOnView() 769 ActivityTestRule<?> activityTestRule, View view, int offsetX, int offsetY) { in emulateLongPressOnView() argument 773 int xOnScreen = viewOnScreenXY[0] + offsetX; in emulateLongPressOnView()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | RenderNodeTests.java | 410 final int offsetX = 20; in testOffsetImplicitInputRenderEffect() local 412 RenderEffect offsetEffect = RenderEffect.createOffsetEffect(offsetX, offsetY); in testOffsetImplicitInputRenderEffect() 444 offsetX + 1, in testOffsetImplicitInputRenderEffect() 454 offsetX - 1, in testOffsetImplicitInputRenderEffect() 552 final int offsetX = 20; in testOffsetRenderEffect() local 555 RenderEffect offsetEffect = RenderEffect.createOffsetEffect(offsetX, offsetY, bitmapEffect); in testOffsetRenderEffect() 580 offsetX + 1, in testOffsetRenderEffect() 588 new Rect(0, 0, offsetX - 1, TEST_HEIGHT - 1), in testOffsetRenderEffect() 792 final int offsetX = 20; in testChainRenderEffect() local 795 RenderEffect offsetEffect = RenderEffect.createOffsetEffect(offsetX, offsetY); in testChainRenderEffect() [all …]
|
/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 | 470 final int offsetX = mActivity.findViewById(R.id.anchor_upper).getWidth() / 2; in testShowAsDropDown_ClipToScreen_Overlap_Offset() local 476 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 479 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 482 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 486 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 489 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 492 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 496 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 499 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() 502 offsetX, offsetY, gravity); in testShowAsDropDown_ClipToScreen_Overlap_Offset() [all …]
|
D | TextViewTest.java | 8338 int offsetX = end.x - start.x; in testSmartSelection_dragSelection() local 8342 mInstrumentation, mActivityRule, startX, startY, offsetX, 0 /* offsetY */); in testSmartSelection_dragSelection() 8756 private void emulateClickOnView(View view, int offsetX, int offsetY) { in emulateClickOnView() argument 8757 CtsTouchUtils.emulateTapOnView(mInstrumentation, mActivityRule, view, offsetX, offsetY); in emulateClickOnView() 8761 private void emulateLongPressOnView(View view, int offsetX, int offsetY) { in emulateLongPressOnView() argument 8763 offsetX, offsetY); in emulateLongPressOnView()
|
/cts/tests/tests/view/src/android/view/cts/ |
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 | 327 float offsetX = 1.0f; in testOffsetLocationForPointerSource() local 329 mMotionEvent2.offsetLocation(offsetX, offsetY); in testOffsetLocationForPointerSource() 330 withCoords(X_3F + offsetX, Y_4F + offsetY) in testOffsetLocationForPointerSource() 342 float offsetX = 1.0f; in testNoLocationOffsetForNonPointerSource() local 344 mMotionEvent2.offsetLocation(offsetX, offsetY); in testNoLocationOffsetForNonPointerSource()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rscript | 37 uint offsetX; // X offset into inputRawBuffer 357 uint xP = x + offsetX;
|