Home
last modified time | relevance | path

Searched refs:newBitmap (Results 1 – 5 of 5) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java40 Bitmap newBitmap = LogoUtils.getBitmapPartiallyResized(tempFile.getPath(), 10, 15); in testPartiallyResizedBitmap() local
42 assertEquals(10, newBitmap.getWidth()); in testPartiallyResizedBitmap()
43 assertEquals(15, newBitmap.getHeight()); in testPartiallyResizedBitmap()
44 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(5, 5)); in testPartiallyResizedBitmap()
54 Bitmap newBitmap = LogoUtils.getBitmapPartiallyResized(tempFile.getPath(), 8, 8); in testPartiallyResizedElongatedBitmap() local
56 assertEquals(2, newBitmap.getWidth()); in testPartiallyResizedElongatedBitmap()
57 assertEquals(8, newBitmap.getHeight()); in testPartiallyResizedElongatedBitmap()
58 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(1, 1)); in testPartiallyResizedElongatedBitmap()
66 Bitmap newBitmap = LogoUtils.resizeBitmap(bitmap, 8, 8); in testResizeBitmapKeepRatio() local
68 assertEquals(4, newBitmap.getWidth()); in testResizeBitmapKeepRatio()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java233 public void onBitmapDecoded(@Nullable Bitmap newBitmap) { in loadDrawableWithTransition()
250 layers[1] = new BitmapDrawable(resources, newBitmap); in loadDrawableWithTransition()
421 protected void onPostExecute(Bitmap newBitmap) { in onPostExecute() argument
422 mBitmapReceiver.onBitmapDecoded(newBitmap); in onPostExecute()
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java107 Bitmap newBitmap = Bitmap.createBitmap( in decodeRegion() local
111 mTempCanvas.setBitmap(newBitmap); in decodeRegion()
117 return newBitmap; in decodeRegion()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java214 Bitmap newBitmap = bitmap.copy(Config.ARGB_8888, false); in ensureGLCompatibleBitmap() local
216 return newBitmap; in ensureGLCompatibleBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java193 Bitmap newBitmap = bitmap.copy(Config.ARGB_8888, false); in ensureGLCompatibleBitmap()
195 return newBitmap; in ensureGLCompatibleBitmap()