Home
last modified time | relevance | path

Searched refs:fullImage (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
DEditUserPhotoController.java313 Bitmap fullImage = null; in onPhotoCropped() local
317 fullImage = BitmapFactory.decodeStream(imageStream); in onPhotoCropped()
321 if (fullImage != null) { in onPhotoCropped()
322 final int squareSize = Math.min(fullImage.getWidth(), in onPhotoCropped()
323 fullImage.getHeight()); in onPhotoCropped()
324 final int left = (fullImage.getWidth() - squareSize) / 2; in onPhotoCropped()
325 final int top = (fullImage.getHeight() - squareSize) / 2; in onPhotoCropped()
330 canvas.drawBitmap(fullImage, rectSource, rectDest, paint); in onPhotoCropped()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserPhotoController.java313 Bitmap fullImage = null; in onPhotoCropped() local
317 fullImage = BitmapFactory.decodeStream(imageStream); in onPhotoCropped()
321 if (fullImage != null) { in onPhotoCropped()
322 final int squareSize = Math.min(fullImage.getWidth(), in onPhotoCropped()
323 fullImage.getHeight()); in onPhotoCropped()
324 final int left = (fullImage.getWidth() - squareSize) / 2; in onPhotoCropped()
325 final int top = (fullImage.getHeight() - squareSize) / 2; in onPhotoCropped()
330 canvas.drawBitmap(fullImage, rectSource, rectDest, paint); in onPhotoCropped()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java304 Bitmap fullImage = null; in onPhotoCropped() local
308 fullImage = imageStream != null ? BitmapFactory.decodeStream(imageStream) in onPhotoCropped()
314 if (fullImage != null) { in onPhotoCropped()
318 final int squareSize = Math.min(fullImage.getWidth(), in onPhotoCropped()
319 fullImage.getHeight()); in onPhotoCropped()
320 final int left = (fullImage.getWidth() - squareSize) / 2; in onPhotoCropped()
321 final int top = (fullImage.getHeight() - squareSize) / 2; in onPhotoCropped()
326 canvas.drawBitmap(fullImage, rectSource, rectDest, paint); in onPhotoCropped()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java333 BitmapRegionDecoder fullImage = future.get(); in updateFullImage() local
334 if (fullImage != null) fullImage.recycle(); in updateFullImage()
339 entry.fullImage = future.get(); in updateFullImage()
340 if (entry.fullImage != null) { in updateFullImage()
612 BitmapRegionDecoder fullImage = entry.fullImage; in updateTileProvider() local
614 if (fullImage != null) { in updateTileProvider()
616 fullImage.getWidth(), fullImage.getHeight()); in updateTileProvider()
617 mTileProvider.setRegionDecoder(fullImage); in updateTileProvider()
822 entry.fullImage = null; in updateImageCache()
896 public BitmapRegionDecoder fullImage; field in PhotoDataAdapter.ImageEntry
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/
DWallpaperManagerCompatVN.java46 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument
48 return mWallpaperManager.setBitmap(fullImage, visibleCropHint, allowBackup, whichWallpaper); in setBitmap()
DWallpaperManagerCompatV16.java52 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument
54 mWallpaperManager.setBitmap(fullImage); in setBitmap()
DWallpaperManagerCompat.java73 public abstract int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperManagerCompat.java57 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument