Home
last modified time | relevance | path

Searched refs:compareBitmaps (Results 1 – 10 of 10) 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.java122 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/quickaccesswallet/src/android/quickaccesswallet/cts/
DTestUtils.java43 assertThat(BitmapUtils.compareBitmaps(bitmap1, bitmap2)).isTrue(); in compareIcons()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityLegacyFlowTest.java106 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
DPreferenceActivityFlowTest.java485 if (!BitmapUtils.compareBitmaps(before, after, 0.99)) { in assertScreenshotsAreEqual()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java75 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() method in BitmapUtils
96 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2, double minimumPrecision) { in compareBitmaps() method in BitmapUtils
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java702 assertTrue(BitmapUtils.compareBitmaps(b, b2)); in testParcel()
942 assertTrue(BitmapUtils.compareBitmaps(reference, argb4444)); in decodeConfigs()
969 assertTrue(BitmapUtils.compareBitmaps(reference, grayToARGB(alpha8))); in decodeConfigs()
981 assertTrue(BitmapUtils.compareBitmaps(reference, defaultBitmap)); in decodeConfigs()
DImageDecoderTest.java445 assertTrue(BitmapUtils.compareBitmaps(bm, reference)); in testSetAllocatorDecodeBitmap()
1485 assertTrue(BitmapUtils.compareBitmaps(cropped, oneStepBm, .99)); in testScaleAndCrop()
2575 assertTrue(BitmapUtils.compareBitmaps(bm1, bm2)); in testReuse()
DBitmapTest.java209 BitmapUtils.compareBitmaps(mBitmap, result)); in testCompressWebpLossless()
219 BitmapUtils.compareBitmaps(mBitmap, result)); in testCompressWebp100MeansLossless()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java589 assertTrue(BitmapUtils.compareBitmaps(expected, actual)); in testPostProcess()
673 assertTrue(BitmapUtils.compareBitmaps(expected, test)); in drawAndCompare()