Home
last modified time | relevance | path

Searched refs:CompressFormat (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageEncoder.java29 import android.graphics.Bitmap.CompressFormat;
61 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream); in process()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapFactoryTest.java36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselViewUtilities.java31 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os); in writeBitmapToFile()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapActivity.java59 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DTextureViewActivity.java62 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DGLTextureViewActivity.java72 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java20 import android.graphics.Bitmap.CompressFormat;
244 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); in testThumbnailCapture()
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); in testBasicNormalMethodCallSequence()
/frameworks/base/media/java/android/media/videoeditor/
DOverlayFrame.java33 import android.graphics.Bitmap.CompressFormat;
195 mBitmap.compress(CompressFormat.PNG, 100, out); in save()
DMediaImageItem.java168 imageBitmap.compress(Bitmap.CompressFormat.JPEG, 50,f1); in MediaImageItem()
DVideoEditorImpl.java1865 projectBitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream); in generateProjectThumbnail()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java28 import android.graphics.Bitmap.CompressFormat;
750 CompressFormat cf =
846 protected static CompressFormat convertExtensionToCompressFormat(String extension) {
847 return extension.equals("png") ? CompressFormat.PNG : CompressFormat.JPEG;
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java27 import android.graphics.Bitmap.CompressFormat;
333 bitmap.compress(CompressFormat.JPEG, 50, bos); in openDocumentThumbnail()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java951 public enum CompressFormat { enum in Bitmap
956 CompressFormat(int nativeInt) { in CompressFormat() method in Bitmap.CompressFormat
985 public boolean compress(CompressFormat format, int quality, OutputStream stream) { in compress()
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
DGenImage.java263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); in draw()
/frameworks/base/core/java/android/provider/
DMediaStore.java866 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in StoreThumbnail()
904 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut); in insertImage()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s); in writeExif()
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) { in setCompressedThumbnail()
/frameworks/base/services/java/com/android/server/
DAssetAtlasService.java352 mAtlasBitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in releaseCanvas()
/frameworks/base/core/java/android/view/
DViewDebug.java686 b.compress(Bitmap.CompressFormat.PNG, 100, arrayOut); in captureViewLayer()
741 b.compress(Bitmap.CompressFormat.PNG, 100, out); in capture()
/frameworks/base/core/java/android/app/
DWallpaperManager.java770 bitmap.compress(Bitmap.CompressFormat.PNG, 90, fos); in setBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java235 image.compress(Bitmap.CompressFormat.PNG, 100, out);
/frameworks/base/docs/html/training/tv/
Doptimizing-layouts-tv.jd243 scaledBitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
/frameworks/base/services/java/com/android/server/pm/
DUserManagerService.java464 if (bitmap.compress(Bitmap.CompressFormat.PNG, 100, os = new FileOutputStream(file))) { in writeBitmapLocked()
/frameworks/base/api/
Dcurrent.txt8896 … method public boolean compress(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream);
8954 public static final class Bitmap.CompressFormat extends java.lang.Enum {
8955 method public static android.graphics.Bitmap.CompressFormat valueOf(java.lang.String);
8956 method public static final android.graphics.Bitmap.CompressFormat[] values();
8957 enum_constant public static final android.graphics.Bitmap.CompressFormat JPEG;
8958 enum_constant public static final android.graphics.Bitmap.CompressFormat PNG;
8959 enum_constant public static final android.graphics.Bitmap.CompressFormat WEBP;

12