Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DIconTest.java82 bm1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
84 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
91 bm2.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
93 test2.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
100 bm3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
102 test3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
123 res1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmapResource()
125 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmapResource()
139 bit1.compress(Bitmap.CompressFormat.PNG, 100, in testWithFile()
149 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithFile()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageEncoder.java27 import android.graphics.Bitmap.CompressFormat;
56 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream); in process()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut); in insertImage()
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in storeThumbnail()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapFactoryTest.java36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java20 import android.graphics.Bitmap.CompressFormat;
243 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()
/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/wallpapercropper/
DWallpaperCropActivity.java27 import android.graphics.Bitmap.CompressFormat;
773 CompressFormat cf =
835 protected static CompressFormat convertExtensionToCompressFormat(String extension) {
836 return extension.equals("png") ? CompressFormat.PNG : CompressFormat.JPEG;
/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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()
/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.java983 public enum CompressFormat { enum in Bitmap
988 CompressFormat(int nativeInt) { in CompressFormat() method in Bitmap.CompressFormat
1017 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/docs/html/training/wearables/data-layer/
Dassets.jd46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
/frameworks/base/core/java/android/provider/
DMediaStore.java929 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in StoreThumbnail()
967 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/graphics/java/android/graphics/drawable/
DIcon.java404 getBitmap().compress(Bitmap.CompressFormat.PNG, 100, dataStream); in writeToStream()
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java557 bitmap.compress(Bitmap.CompressFormat.PNG, 100, imageFile); in run()
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java321 atlasBitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in releaseCanvas()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java21 import android.graphics.Bitmap.CompressFormat;
1656 value.compress(CompressFormat.PNG, 90, os); in writeBitmapAttribute()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java56 import android.graphics.Bitmap.CompressFormat;
494 params.appIcon.compress(CompressFormat.PNG, 90, os); in writeSessionLocked()
/frameworks/base/core/java/android/view/
DViewDebug.java707 b.compress(Bitmap.CompressFormat.PNG, 100, arrayOut); in captureViewLayer()
762 b.compress(Bitmap.CompressFormat.PNG, 100, out); in capture()
/frameworks/base/core/java/android/app/
DWallpaperManager.java778 bitmap.compress(Bitmap.CompressFormat.PNG, 90, fos); in setBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java238 image.compress(Bitmap.CompressFormat.PNG, 100, out); in doInBackground()

12