Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java405 Bitmap bmap = loadConstrainedBitmap(uri, context, maxSideLength, originalBounds, false); in loadOrientedConstrainedBitmap() local
406 if (bmap != null) { in loadOrientedConstrainedBitmap()
407 bmap = orientBitmap(bmap, orientation); in loadOrientedConstrainedBitmap()
408 if (bmap.getConfig()!= Bitmap.Config.ARGB_8888){ in loadOrientedConstrainedBitmap()
409 bmap = bmap.copy( Bitmap.Config.ARGB_8888,true); in loadOrientedConstrainedBitmap()
412 return bmap; in loadOrientedConstrainedBitmap()
446 Bitmap bmap = null; in loadBitmapWithBackouts() local
450 bmap = loadDownsampledBitmap(context, sourceUri, sampleSize); in loadBitmapWithBackouts()
457 bmap = null; in loadBitmapWithBackouts()
462 return bmap; in loadBitmapWithBackouts()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DStyleChooser.java62 public void available(Bitmap bmap) { in setUp()
64 if (bmap == null) { in setUp()
67 button.setImageBitmap(bmap); in setUp()
DBitmapCaller.java22 public void available(Bitmap bmap); in available() argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java389 Bitmap bmap = image; in applyGeometryRepresentations() local
392 bmap = applyFullGeometryMatrix(bmap, holder); in applyGeometryRepresentations()
393 if (bmap != image) { in applyGeometryRepresentations()
398 return bmap; in applyGeometryRepresentations()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropMath.java233 public static int getBitmapSize(Bitmap bmap) { in getBitmapSize() argument
234 return bmap.getRowBytes() * bmap.getHeight(); in getBitmapSize()
DCropActivity.java267 Bitmap bmap = ImageLoader.loadConstrainedBitmap(uri, mContext, mBitmapSize, in doInBackground() local
270 return bmap; in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifInterface.java367 public void writeExif(Bitmap bmap, OutputStream exifOutStream) throws IOException { in writeExif() argument
368 if (bmap == null || exifOutStream == null) { in writeExif()
371 bmap.compress(Bitmap.CompressFormat.JPEG, 90, exifOutStream); in writeExif()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java816 public void writeExif(Bitmap bmap, OutputStream exifOutStream) throws IOException { in writeExif() argument
817 if (bmap == null || exifOutStream == null) { in writeExif()
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
880 public void writeExif(Bitmap bmap, String exifOutFileName) throws FileNotFoundException, in writeExif() argument
882 if (bmap == null || exifOutFileName == null) { in writeExif()
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java816 public void writeExif(Bitmap bmap, OutputStream exifOutStream) throws IOException { in writeExif() argument
817 if (bmap == null || exifOutStream == null) { in writeExif()
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
875 public void writeExif(Bitmap bmap, String exifOutFileName) throws FileNotFoundException, in writeExif() argument
877 if (bmap == null || exifOutFileName == null) { in writeExif()
883 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java816 public void writeExif(Bitmap bmap, OutputStream exifOutStream) throws IOException { in writeExif() argument
817 if (bmap == null || exifOutStream == null) { in writeExif()
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
880 public void writeExif(Bitmap bmap, String exifOutFileName) throws FileNotFoundException, in writeExif() argument
882 if (bmap == null || exifOutFileName == null) { in writeExif()
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()