/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/ |
D | CustomizationTest.java | 49 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed() 55 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed() 61 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CustomizationRestrictionsTest.java | 122 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 130 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 137 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 240 compareBitmaps(bPng, bWebp1, COLOR_TOLS[k], true, bPng.isPremultiplied()); in testDecodeStream4() 251 compareBitmaps(bPng, bWebp2, COLOR_TOLS[k], true, bPng.isPremultiplied()); in testDecodeStream4() 277 compareBitmaps(bPng, bWebP1, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied()); in testDecodeStream5() 289 compareBitmaps(bPng, bWebP2, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied()); in testDecodeStream5() 680 compareBitmaps(b, b2, 0, true, true); in testParcel() 917 compareBitmaps(reference, argb4444, 0, true, true); in decodeConfigs() 930 compareBitmaps(reference, rgb565.copy(Config.ARGB_8888, false), 30, true, true); in decodeConfigs() 943 compareBitmaps(reference, grayToARGB(alpha8), 0, true, true); in decodeConfigs() 955 compareBitmaps(reference, defaultBitmap, 0, true, true); in decodeConfigs() 1030 private static void compareBitmaps(Bitmap expected, Bitmap actual, in compareBitmaps() method in BitmapFactoryTest
|
D | YuvImageTest.java | 262 compareBitmaps(expected, actual, MSE_MARGIN, sameRect); in compressRects() 278 compareBitmaps(expected, actual, MSE_MARGIN, true); in compressOddRect() 340 private void compareBitmaps(Bitmap expected, Bitmap actual, in compareBitmaps() method in YuvImageTest
|
D | BitmapRegionDecoderTest.java | 429 compareBitmaps(reuseCropped, defaultCropped, 0, true); in testInBitmapReuse() 687 compareBitmaps(expected, actual, mseMargin, true); in compareRegionByRegion() 752 private void compareBitmaps(Bitmap expected, Bitmap actual, in compareBitmaps() method in BitmapRegionDecoderTest
|
D | ImageDecoderTest.java | 413 BitmapUtils.compareBitmaps(bm, reference); in testSetAllocatorDecodeBitmap() 1930 BitmapUtils.compareBitmaps(bm, reference); 2368 BitmapUtils.compareBitmaps(bm1, bm2); in testReuse()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 65 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() method in BitmapUtils 86 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2, double minimumPrecision) { in compareBitmaps() method in BitmapUtils
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 65 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() method in BitmapUtils 86 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2, double minimumPrecision) { in compareBitmaps() method in BitmapUtils
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceActivityLegacyFlowTest.java | 97 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
|
D | PreferenceActivityFlowTest.java | 485 if (!BitmapUtils.compareBitmaps(before, after, 0.99)) { in assertScreenshotsAreEqual()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LoginActivityTest.java | 524 final boolean compareBitmaps = false; in testDatasetPickerPosition() 547 final Bitmap usernameScreenshot1 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 561 final Bitmap passwordScreenshot1 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 575 final Bitmap usernameScreenshot2 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 584 final Bitmap passwordScreenshot2 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 592 if (compareBitmaps) { in testDatasetPickerPosition() 598 if (compareBitmaps) { in testDatasetPickerPosition()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 522 BitmapUtils.compareBitmaps(expected, actual); in testPostProcess() 601 BitmapUtils.compareBitmaps(expected, test); in drawAndCompare()
|