Searched defs:photoBounds (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropMath.java209 * Stretches/Scales/Translates photoBounds to match displayBounds, and
213 * @param photoBounds original bounds containing crop bounds
217 public static RectF getScaledCropBounds(RectF cropBounds, RectF photoBounds, argument
220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL);
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
327 || photoBounds.height() == 0) {
340 photoBounds, currentBitmapBounds, rotation, mOutputX, mOutputY);
385 RectF cropBounds, RectF photoBounds, RectF originalBitmapBounds, int rotation,
393 mPhoto = photoBounds;
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
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPhotoSelectionActivity.java261 * @param photoBounds The pixel bounds of the current photo.
270 byte[] photoBytes, Rect photoBounds, RawContactDeltaList delta, boolean isProfile,
276 intent.setSourceBounds(photoBounds);
269 buildIntent(Context context, Uri photoUri, Bitmap photoBitmap, byte[] photoBytes, Rect photoBounds, RawContactDeltaList delta, boolean isProfile, boolean isDirectoryContact, boolean expandPhotoOnClick) argument

Completed in 73 milliseconds