Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java247 Bitmap fullImage; in onPhotoNotCropped()
250 fullImage = BitmapFactory.decodeStream(imageStream); in onPhotoNotCropped()
252 if (fullImage == null) { in onPhotoNotCropped()
257 final int squareSize = Math.min(fullImage.getWidth(), in onPhotoNotCropped()
258 fullImage.getHeight()); in onPhotoNotCropped()
259 final int left = (fullImage.getWidth() - squareSize) / 2; in onPhotoNotCropped()
260 final int top = (fullImage.getHeight() - squareSize) / 2; in onPhotoNotCropped()
268 canvas.drawBitmap(fullImage, matrix, new Paint()); in onPhotoNotCropped()
/frameworks/base/core/java/android/app/
DDisabledWallpaperManager.java247 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup) in setBitmap() argument
254 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, int which) in setBitmap() argument
261 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, int which, in setBitmap() argument
DWallpaperManager.java2234 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup) in setBitmap() argument
2236 return setBitmap(fullImage, visibleCropHint, allowBackup, FLAG_SYSTEM | FLAG_LOCK); in setBitmap()
2260 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, in setBitmap() argument
2263 return setBitmap(fullImage, visibleCropHint, allowBackup, which, in setBitmap()
2274 public int setBitmap(Bitmap fullImage, Rect visibleCropHint, in setBitmap() argument
2280 return setBitmapWithCrops(fullImage, cropMap, allowBackup, which, userId); in setBitmap()
2298 fullImage.compress(Bitmap.CompressFormat.PNG, 90, fos); in setBitmap()
2324 public int setBitmapWithCrops(@Nullable Bitmap fullImage, @NonNull Map<Point, Rect> cropHints, in setBitmapWithCrops() argument
2328 return setBitmapWithCrops(fullImage, crops, allowBackup, which, mContext.getUserId()); in setBitmapWithCrops()
2332 private int setBitmapWithCrops(@Nullable Bitmap fullImage, @NonNull SparseArray<Rect> cropHints, in setBitmapWithCrops() argument
[all …]