Home
last modified time | relevance | path

Searched refs:cropBounds (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
DBitmapCropTask.java77 RectF cropBounds, int rotation, int outWidth, int outHeight, in BitmapCropTask() argument
80 init(cropBounds, rotation, in BitmapCropTask()
85 RectF cropBounds, int rotation, int outWidth, int outHeight, in BitmapCropTask() argument
89 init(cropBounds, rotation, in BitmapCropTask()
94 RectF cropBounds, int rotation, int outWidth, int outHeight, in BitmapCropTask() argument
99 init(cropBounds, rotation, in BitmapCropTask()
103 private void init(RectF cropBounds, int rotation, int outWidth, int outHeight, in init() argument
105 mCropBounds = cropBounds; in init()
164 public void setCropBounds(RectF cropBounds) { in setCropBounds() argument
165 mCropBounds = cropBounds; in setCropBounds()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java115 public static void drawWallpaperSelectionFrame(Canvas canvas, RectF cropBounds, float spotX, in drawWallpaperSelectionFrame() argument
117 float sx = cropBounds.width() * spotX; in drawWallpaperSelectionFrame()
118 float sy = cropBounds.height() * spotY; in drawWallpaperSelectionFrame()
119 float cx = cropBounds.centerX(); in drawWallpaperSelectionFrame()
120 float cy = cropBounds.centerY(); in drawWallpaperSelectionFrame()
127 canvas.clipRect(cropBounds); in drawWallpaperSelectionFrame()
DCropActivity.java322 RectF cropBounds, RectF photoBounds, RectF currentBitmapBounds, String format, in startBitmapIO() argument
324 if (cropBounds == null || photoBounds == null || currentBitmap == null in startBitmapIO()
326 || cropBounds.width() == 0 || cropBounds.height() == 0 || photoBounds.width() == 0 in startBitmapIO()
339 BitmapIOTask ioTask = new BitmapIOTask(sourceUri, destUri, format, flags, cropBounds, in startBitmapIO()
385 RectF cropBounds, RectF photoBounds, RectF originalBitmapBounds, int rotation, in BitmapIOTask() argument
392 mCrop = cropBounds; in BitmapIOTask()
617 protected static Bitmap getCroppedImage(Bitmap image, RectF cropBounds, RectF photoBounds) { in getCroppedImage() argument
619 RectF crop = CropMath.getScaledCropBounds(cropBounds, photoBounds, imageBounds); in getCroppedImage()
DCropMath.java217 public static RectF getScaledCropBounds(RectF cropBounds, RectF photoBounds, in getScaledCropBounds() argument
221 RectF trueCrop = new RectF(cropBounds); in getScaledCropBounds()