Home
last modified time | relevance | path

Searched refs:compareBitmaps (Results 1 – 12 of 12) 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/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java240 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
DYuvImageTest.java262 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
DBitmapRegionDecoderTest.java429 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
DImageDecoderTest.java413 BitmapUtils.compareBitmaps(bm, reference); in testSetAllocatorDecodeBitmap()
1931 BitmapUtils.compareBitmaps(bm, reference);
2370 BitmapUtils.compareBitmaps(bm1, bm2); in testReuse()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBitmapUtils.java65 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-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java65 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/
DPreferenceActivityLegacyFlowTest.java97 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
DPreferenceActivityFlowTest.java485 if (!BitmapUtils.compareBitmaps(before, after, 0.99)) { in assertScreenshotsAreEqual()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DLoginActivityTest.java524 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/
DAnimatedImageDrawableTest.java525 BitmapUtils.compareBitmaps(expected, actual); in testPostProcess()
604 BitmapUtils.compareBitmaps(expected, test); in drawAndCompare()