Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java85 bm1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
87 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
94 bm2.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
96 test2.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
103 bm3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
105 test3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
150 bm1.compress(Bitmap.CompressFormat.PNG, 100, in testWithAdaptiveBitmap()
152 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithAdaptiveBitmap()
173 res1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmapResource()
175 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmapResource()
[all …]
DAdaptiveIconDrawableTest.java110 bm_org.compress(Bitmap.CompressFormat.PNG, 100, in testDraw_withBounds()
112 bm_test.compress(Bitmap.CompressFormat.PNG, 100, in testDraw_withBounds()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG; in save()
54 format = Bitmap.CompressFormat.JPEG; in save()
/frameworks/rs/tests/java_api/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/tests/java_api/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/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut); in insertImage()
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in storeThumbnail()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapFactoryTest.java36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBitmapUtils.java46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveBitmapIntoPNG()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutBitmapSaver.java22 import android.graphics.Bitmap.CompressFormat;
158 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked()
/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/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut); in savePNG()
/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()
DHardwareCanvasSurfaceViewActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DTextureViewActivity.java62 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/core/tests/coretests/src/android/content/
DContentResolverTest.java81 bitmap.compress(Bitmap.CompressFormat.PNG, 90, mImage.getOutputStream()); in initImage()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java179 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os); in writeDataToPipe()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); in draw()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1361 public enum CompressFormat { enum in Bitmap
1366 CompressFormat(int nativeInt) { in CompressFormat() method in Bitmap.CompressFormat
1396 public boolean compress(CompressFormat format, int quality, OutputStream stream) { in compress()

123