/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 | 137 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 145 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 152 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 173 assertFalse(BitmapUtils.compareBitmaps(originalIcon, currentIcon)); in testDisallowSetUserIcon_allowed()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 236 compareBitmaps(bPng, bWebp1, COLOR_TOLS[k], true, bPng.isPremultiplied()); in testDecodeStream4() 247 compareBitmaps(bPng, bWebp2, COLOR_TOLS[k], true, bPng.isPremultiplied()); in testDecodeStream4() 273 compareBitmaps(bPng, bWebP1, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied()); in testDecodeStream5() 285 compareBitmaps(bPng, bWebP2, COLOR_TOLS_RGBA[k], true, bPng.isPremultiplied()); in testDecodeStream5() 636 compareBitmaps(b, b2, 0, true, true); in testParcel() 833 compareBitmaps(reference, argb4444, 0, true, true); in decodeConfigs() 846 compareBitmaps(reference, rgb565.copy(Config.ARGB_8888, false), 30, true, true); in decodeConfigs() 859 compareBitmaps(reference, grayToARGB(alpha8), 0, true, true); in decodeConfigs() 875 compareBitmaps(reference, index8.copy(Config.ARGB_8888, false), 0, true, true); in decodeConfigs() 951 private static void compareBitmaps(Bitmap expected, Bitmap actual, in compareBitmaps() method in BitmapFactoryTest
|
D | YuvImageTest.java | 261 compareBitmaps(expected, actual, MSE_MARGIN, sameRect); in compressRects() 277 compareBitmaps(expected, actual, MSE_MARGIN, true); in compressOddRect() 339 private void compareBitmaps(Bitmap expected, Bitmap actual, in compareBitmaps() method in YuvImageTest
|
D | BitmapRegionDecoderTest.java | 424 compareBitmaps(reuseCropped, defaultCropped, 0, true); in testInBitmapReuse() 613 compareBitmaps(expected, actual, mseMargin, true); in compareRegionByRegion() 678 private void compareBitmaps(Bitmap expected, Bitmap actual, in compareBitmaps() method in BitmapRegionDecoderTest
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceActivityLegacyFlowTest.java | 142 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
|
D | PreferenceActivityFlowTest.java | 661 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 40 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() method in BitmapUtils
|