Home
last modified time | relevance | path

Searched refs:imageBounds (Results 1 – 5 of 5) 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/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()