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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropDrawingUtils.java115 public static void drawWallpaperSelectionFrame(Canvas canvas, RectF cropBounds, float spotX, argument
117 float sx = cropBounds.width() * spotX;
118 float sy = cropBounds.height() * spotY;
119 float cx = cropBounds.centerX();
120 float cy = cropBounds.centerY();
127 canvas.clipRect(cropBounds);
H A DCropActivity.java322 RectF cropBounds, RectF photoBounds, RectF currentBitmapBounds, String format,
324 if (cropBounds == null || photoBounds == null || currentBitmap == null
326 || cropBounds.width() == 0 || cropBounds.height() == 0 || photoBounds.width() == 0
339 BitmapIOTask ioTask = new BitmapIOTask(sourceUri, destUri, format, flags, cropBounds,
385 RectF cropBounds, RectF photoBounds, RectF originalBitmapBounds, int rotation,
392 mCrop = cropBounds;
617 protected static Bitmap getCroppedImage(Bitmap image, RectF cropBounds, RectF photoBounds) { argument
619 RectF crop = CropMath.getScaledCropBounds(cropBounds, photoBounds, imageBounds);
321 startBitmapIO(int flags, Bitmap currentBitmap, Uri sourceUri, Uri destUri, RectF cropBounds, RectF photoBounds, RectF currentBitmapBounds, String format, int rotation) argument
384 BitmapIOTask(Uri sourceUri, Uri destUri, String outputFormat, int flags, RectF cropBounds, RectF photoBounds, RectF originalBitmapBounds, int rotation, int outputX, int outputY) argument
H A DCropMath.java210 * and returns an equivalent stretched/scaled/translated cropBounds or null
212 * @param cropBounds cropBounds to transform
217 public static RectF getScaledCropBounds(RectF cropBounds, RectF photoBounds, argument
221 RectF trueCrop = new RectF(cropBounds);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperCropActivity.java478 RectF cropBounds, int rotation, int outWidth, int outHeight,
482 init(cropBounds, rotation,
487 RectF cropBounds, int rotation, int outWidth, int outHeight,
490 init(cropBounds, rotation,
495 RectF cropBounds, int rotation, int outWidth, int outHeight,
499 init(cropBounds, rotation,
504 RectF cropBounds, int rotation, int outWidth, int outHeight,
509 init(cropBounds, rotation,
513 private void init(RectF cropBounds, int rotation, int outWidth, int outHeight, argument
515 mCropBounds = cropBounds;
477 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
486 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
494 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
503 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
574 setCropBounds(RectF cropBounds) argument
[all...]

Completed in 88 milliseconds