/packages/apps/Settings/src/com/android/settings/users/ |
D | EditUserPhotoController.java | 313 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/ |
D | EditUserPhotoController.java | 313 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/ |
D | EditUserPhotoController.java | 304 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/ |
D | PhotoDataAdapter.java | 333 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/ |
D | WallpaperManagerCompatVN.java | 46 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument 48 return mWallpaperManager.setBitmap(fullImage, visibleCropHint, allowBackup, whichWallpaper); in setBitmap()
|
D | WallpaperManagerCompatV16.java | 52 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument 54 mWallpaperManager.setBitmap(fullImage); in setBitmap()
|
D | WallpaperManagerCompat.java | 73 public abstract int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestWallpaperManagerCompat.java | 57 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, in setBitmap() argument
|