Searched refs:BitmapUtils (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/ |
D | CustomizationTest.java | 25 import com.android.compatibility.common.util.BitmapUtils; 39 final Bitmap originalWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 40 final Bitmap referenceWallpaper = BitmapUtils.generateRandomBitmap(97, 73); in testSetWallpaper_disallowed() 48 Bitmap newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 49 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed() 52 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(referenceWallpaper)); in testSetWallpaper_disallowed() 54 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 55 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed() 60 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); 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 | 28 import com.android.compatibility.common.util.BitmapUtils; 121 final Bitmap originalWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() 134 wallpaperManager.setBitmap(BitmapUtils.generateRandomBitmap(97, 73)); in testDisallowSetWallpaper_allowed() 136 Bitmap newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() 137 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 141 final Bitmap wallpaperForStream = BitmapUtils.generateRandomBitmap(83, 69); in testDisallowSetWallpaper_allowed() 142 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(wallpaperForStream)); in testDisallowSetWallpaper_allowed() 144 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() 145 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 151 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() [all …]
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceActivityLegacyFlowTest.java | 27 import com.android.compatibility.common.util.BitmapUtils; 142 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
|
D | PreferenceActivityFlowTest.java | 33 import com.android.compatibility.common.util.BitmapUtils; 661 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | BitmapDumper.java | 24 import com.android.compatibility.common.util.BitmapUtils; 103 BitmapUtils.saveBitmap(bitmap, CAPTURE_SUB_DIRECTORY + className, in saveFile()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 34 public class BitmapUtils { class 37 private BitmapUtils() {} in BitmapUtils() method in BitmapUtils
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 28 public class BitmapUtils { class
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 34 import android.hardware.camera2.cts.rs.BitmapUtils; 606 double difference = BitmapUtils.calcDifferenceMetric(jpegPatch, rawPatch); in validateRawJpegImagePair()
|
D | ImageReaderTest.java | 34 import android.hardware.camera2.cts.rs.BitmapUtils; 500 double difference = BitmapUtils.calcDifferenceMetric(yuvBmap, jpegBmap); in testAllOutputYUVResolutions()
|