Home
last modified time | relevance | path

Searched refs:CompressFormat (Results 1 – 25 of 45) 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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG; in save()
54 format = Bitmap.CompressFormat.JPEG; in save()
/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/Refocus/src/com/android/rs/test/
DImageCompare.java20 bitmap.compress(Bitmap.CompressFormat.PNG, 100, stream); in loadImageByteArray()
109 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, stream1); in printWrongIndex()
114 bitmap2.compress(Bitmap.CompressFormat.PNG, 100, stream2); in printWrongIndex()
DMediaStoreSaver.java52 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut); in savePNG()
/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/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/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapActivity.java59 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DVideoViewCaptureActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DGetBitmapSurfaceViewActivity.java66 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DTextureViewActivity.java62 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DHardwareCanvasSurfaceViewActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DGLTextureViewActivity.java72 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
/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.java1031 public enum CompressFormat { enum in Bitmap
1036 CompressFormat(int nativeInt) { in CompressFormat() method in Bitmap.CompressFormat
1065 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/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java102 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveVectorDrawableIntoPNG()
/frameworks/base/docs/html/training/wearables/data-layer/
Dassets.jd46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java234 bitmap.compress(Bitmap.CompressFormat.PNG, 0, os); in shareCat()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java42 import android.graphics.Bitmap.CompressFormat;
150 static final String DEFAULT_ICON_PERSIST_FORMAT = CompressFormat.PNG.name();
256 private CompressFormat mIconPersistFormat;
536 mIconPersistFormat = CompressFormat.valueOf( in updateConfigurationLocked()
2656 CompressFormat getIconPersistFormatForTest() { in getIconPersistFormatForTest()
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
DVectorDrawableTest.java185 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveVectorDrawableIntoPNG()

12