Home
last modified time | relevance | path

Searched refs:imageBounds (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java269 Rect imageBounds = new Rect(bounds); in loadRegionBitmap() local
271 if (!r.contains(imageBounds)) { in loadRegionBitmap()
272 imageBounds.intersect(r); in loadRegionBitmap()
273 bounds.left = imageBounds.left; in loadRegionBitmap()
274 bounds.top = imageBounds.top; in loadRegionBitmap()
276 Bitmap reuse = cache.getBitmap(imageBounds.width(), in loadRegionBitmap()
277 imageBounds.height(), BitmapCache.REGION); in loadRegionBitmap()
279 Bitmap bitmap = decoder.decodeRegion(imageBounds, options); in loadRegionBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java161 public static Matrix getBitmapToDisplayMatrix(RectF imageBounds, RectF displayBounds) { in getBitmapToDisplayMatrix() argument
163 CropDrawingUtils.setBitmapToDisplayMatrix(m, imageBounds, displayBounds); in getBitmapToDisplayMatrix()
167 public static boolean setBitmapToDisplayMatrix(Matrix m, RectF imageBounds, in setBitmapToDisplayMatrix() argument
170 return m.setRectToRect(imageBounds, displayBounds, Matrix.ScaleToFit.CENTER); in setBitmapToDisplayMatrix()
DCropActivity.java618 RectF imageBounds = new RectF(0, 0, image.getWidth(), image.getHeight()); in getCroppedImage() local
619 RectF crop = CropMath.getScaledCropBounds(cropBounds, photoBounds, imageBounds); in getCroppedImage()
688 private RectF getBitmapCrop(RectF imageBounds) { in getBitmapCrop() argument
695 RectF scaledCrop = CropMath.getScaledCropBounds(crop, photo, imageBounds); in getBitmapCrop()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java662 public void displayPhoto(final Uri photoUri, final Rect imageBounds, final boolean isDraft) { in displayPhoto() argument
663 displayPhoto(photoUri, imageBounds, isDraft, mConversationId, getActivity()); in displayPhoto()
666 public static void displayPhoto(final Uri photoUri, final Rect imageBounds, in displayPhoto() argument
672 activity, photoUri, imageBounds, imagesUri); in displayPhoto()
1262 final MessagePartData attachment, final Rect imageBounds, final boolean longPress) { in onAttachmentClick() argument
1272 displayPhoto(attachment.getContentUri(), imageBounds, false /* isDraft */); in onAttachmentClick() local
DComposeMessageView.java92 void displayPhoto(Uri photoUri, Rect imageBounds, boolean isDraft); in displayPhoto() argument
926 public void displayPhoto(final Uri photoUri, final Rect imageBounds) { in displayPhoto() argument
927 mHost.displayPhoto(photoUri, imageBounds, true /* isDraft */); in displayPhoto()
DConversationMessageView.java86 Rect imageBounds, boolean longPress); in onAttachmentClick() argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGradControl.java119 public void setScrImageInfo(Matrix scrToImg, Rect imageBounds) { in setScrImageInfo() argument
121 mImageBounds = new Rect(imageBounds); in setScrImageInfo()
DEclipseControl.java102 public void setScrImageInfo(Matrix scrToImg, Rect imageBounds) { in setScrImageInfo() argument
104 mImageBounds = new Rect(imageBounds); in setScrImageInfo()