Home
last modified time | relevance | path

Searched refs:compareBitmaps (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/
DCustomizationTest.java49 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/
DCustomizationRestrictionsTest.java137 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/
DBitmapFactoryTest.java236 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
DYuvImageTest.java261 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
DBitmapRegionDecoderTest.java424 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/
DPreferenceActivityLegacyFlowTest.java142 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
DPreferenceActivityFlowTest.java661 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBitmapUtils.java40 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() method in BitmapUtils