Searched refs:photoBounds (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 322 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() 327 || photoBounds.height() == 0) { in startBitmapIO() 340 photoBounds, currentBitmapBounds, rotation, mOutputX, mOutputY); in startBitmapIO() 385 RectF cropBounds, RectF photoBounds, RectF originalBitmapBounds, int rotation, in BitmapIOTask() argument 393 mPhoto = photoBounds; 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()
|
D | CropMath.java | 217 public static RectF getScaledCropBounds(RectF cropBounds, RectF photoBounds, in getScaledCropBounds() argument 220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); in getScaledCropBounds()
|