Searched refs:targetImage (Results 1 – 3 of 3) sorted by relevance
/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 103 final int targetWidth = targetImage.getWidth(); in robustMatch() 104 final int targetHeight = targetImage.getHeight(); in robustMatch() 105 final int[] targetPixels = targetImage.mPixels; in robustMatch() 232 final BitmapImage targetImage = BitmapImage.createFromBitmap(bitmap); in detect() local 235 final int targetImageHeight = targetImage.getHeight(); in detect() 236 final int targetImageWidth = targetImage.getWidth(); in detect() 239 if (sImage.robustMatch(targetImage, offsetX, offsetY)) { in detect()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | BitmapImage.java | 125 boolean robustMatch(@NonNull BitmapImage targetImage, int offsetX, int offsetY) { in robustMatch() argument 126 final int targetWidth = targetImage.getWidth(); in robustMatch() 127 final int targetHeight = targetImage.getHeight(); in robustMatch() 139 if (!robustMatchInternal(targetImage.getPixel(targetX, targetY), getPixel(x, y))) { in robustMatch()
|
D | Watermark.java | 203 final BitmapImage targetImage = BitmapImage.createFromBitmap(bitmap); in isContainedIn() local 205 for (int offsetY = targetImage.getHeight() - 1; offsetY >= 0; --offsetY) { in isContainedIn() 206 for (int offsetX = 0; offsetX < targetImage.getWidth(); ++offsetX) { in isContainedIn() 207 if (mImage.robustMatch(targetImage, offsetX, offsetY)) { in isContainedIn()
|