HomeSort by relevance Sort by last modified time
    Searched refs:BitmapUtils (Results 1 - 22 of 22) sorted by null

  /cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/
CustomizationTest.java 25 import com.android.compatibility.common.util.BitmapUtils;
39 final Bitmap originalWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
40 final Bitmap referenceWallpaper = BitmapUtils.generateRandomBitmap(97, 73);
48 Bitmap newWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
49 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper));
52 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(referenceWallpaper));
54 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
55 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper));
60 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
61 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper))
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
CustomizationRestrictionsTest.java 27 import com.android.compatibility.common.util.BitmapUtils;
104 final Bitmap originalWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
119 wallpaperManager.setBitmap(BitmapUtils.generateRandomBitmap(97, 73));
121 Bitmap newWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
122 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper));
126 final Bitmap wallpaperForStream = BitmapUtils.generateRandomBitmap(83, 69);
127 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(wallpaperForStream));
129 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext);
130 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper));
136 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext)
    [all...]
  /cts/tests/tests/preference/src/android/preference/cts/
PreferenceActivityLegacyFlowTest.java 27 import com.android.compatibility.common.util.BitmapUtils;
97 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after));
PreferenceActivityFlowTest.java 38 import com.android.compatibility.common.util.BitmapUtils;
485 if (!BitmapUtils.compareBitmaps(before, after, 0.99)) {
504 BitmapUtils.saveBitmap(bitmap, file.getParent(), file.getName());
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
DumpOnFailure.java 22 import com.android.compatibility.common.util.BitmapUtils;
97 BitmapUtils.saveBitmap(entry.getValue(), root.toString(), fileName);
LocationOnScreenTests.java 55 import com.android.compatibility.common.util.BitmapUtils;
175 BitmapUtils.saveBitmap(screenshot, path, file);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/util/
BitmapDumper.java 23 import com.android.compatibility.common.util.BitmapUtils;
102 BitmapUtils.saveBitmap(bitmap, CAPTURE_SUB_DIRECTORY + className,
  /cts/tests/tests/uirendering27/src/android/uirendering/cts/util/
BitmapDumper.java 23 import com.android.compatibility.common.util.BitmapUtils;
102 BitmapUtils.saveBitmap(bitmap, CAPTURE_SUB_DIRECTORY + className,
  /development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
ActivityAnimations.java 52 BitmapUtils mBitmapUtils = new BitmapUtils();
BitmapUtils.java 29 public class BitmapUtils {
PictureDetailsActivity.java 80 Bitmap bitmap = BitmapUtils.getBitmap(getResources(),
  /frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
VectorDrawablePerfTest.java 27 import android.perftests.utils.BitmapUtils;
86 BitmapUtils.saveBitmapIntoPNG(activity, bmp, resId);
  /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
BitmapUtils.java 27 public class BitmapUtils {
28 private static final String TAG = "BitmapUtils";
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
BitmapUtils.java 33 public class BitmapUtils {
34 private static final String TAG = "BitmapUtils";
36 private BitmapUtils() {}
  /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
BitmapUtils.java 33 public class BitmapUtils {
34 private static final String TAG = "BitmapUtils";
36 private BitmapUtils() {}
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
BitmapUtils.java 28 public class BitmapUtils {
29 private static final String TAG = "BitmapUtils";
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedImageDrawableTest.java 50 import com.android.compatibility.common.util.BitmapUtils;
522 BitmapUtils.compareBitmaps(expected, actual);
601 BitmapUtils.compareBitmaps(expected, test);
  /cts/tests/camera/src/android/hardware/camera2/cts/
MultiViewTest.java 32 import android.hardware.camera2.cts.rs.BitmapUtils;
    [all...]
DngCreatorTest.java 34 import android.hardware.camera2.cts.rs.BitmapUtils;
604 double difference = BitmapUtils.calcDifferenceMetric(jpegPatch, rawPatch);
    [all...]
ImageReaderTest.java 37 import android.hardware.camera2.cts.rs.BitmapUtils;
630 double difference = BitmapUtils.calcDifferenceMetric(yuvBmap, jpegBmap);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
ImageDecoderTest.java 56 import com.android.compatibility.common.util.BitmapUtils;
413 BitmapUtils.compareBitmaps(bm, reference);
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
Helper.java 65 import com.android.compatibility.common.util.BitmapUtils;
    [all...]

Completed in 1502 milliseconds