Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DImageLoader.java328 Bitmap bmap = loadConstrainedBitmap(uri, context, maxSideLength, originalBounds, false); in loadOrientedConstrainedBitmap() local
329 if (bmap != null) { in loadOrientedConstrainedBitmap()
330 bmap = orientBitmap(bmap, orientation); in loadOrientedConstrainedBitmap()
331 if (bmap.getConfig()!= Bitmap.Config.ARGB_8888){ in loadOrientedConstrainedBitmap()
332 bmap = bmap.copy( Bitmap.Config.ARGB_8888,true); in loadOrientedConstrainedBitmap()
335 return bmap; in loadOrientedConstrainedBitmap()
348 Bitmap bmap = null; in loadBitmapWithBackouts() local
352 bmap = loadDownsampledBitmap(context, sourceUri, sampleSize); in loadBitmapWithBackouts()
359 bmap = null; in loadBitmapWithBackouts()
364 return bmap; in loadBitmapWithBackouts()
[all …]
/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/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/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/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/Mms/src/com/android/mms/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/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()
/packages/apps/Launcher3/WallpaperPicker/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()
/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()
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()