/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 85 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 …]
|
D | AdaptiveIconDrawableTest.java | 110 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/ |
D | MediaStoreSaver.java | 51 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/ |
D | MediaStoreSaver.java | 51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG; in save() 54 format = Bitmap.CompressFormat.JPEG; in save()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ImageEncoder.java | 27 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/ |
D | MediaStoreSaver.java | 47 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/ |
D | MediaStoreSaver.java | 47 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/ |
D | BitmapFactoryTest.java | 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | BitmapUtils.java | 46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveBitmapIntoPNG()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutBitmapSaver.java | 22 import android.graphics.Bitmap.CompressFormat; 158 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 20 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/ |
D | MediaStoreSaver.java | 53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut); in savePNG()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 27 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/ |
D | GetBitmapActivity.java | 59 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
D | VideoViewCaptureActivity.java | 68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
D | GetBitmapSurfaceViewActivity.java | 66 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
D | HardwareCanvasSurfaceViewActivity.java | 68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
D | TextureViewActivity.java | 62 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaMetadataRetrieverTest.java | 93 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/ |
D | UiAutomatorBridge.java | 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 27 import android.graphics.Bitmap.CompressFormat; 333 bitmap.compress(CompressFormat.JPEG, 50, bos); in openDocumentThumbnail()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentResolverTest.java | 81 bitmap.compress(Bitmap.CompressFormat.PNG, 90, mImage.getOutputStream()); in initImage()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockOptionsProvider.java | 179 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os); in writeDataToPipe()
|
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/ |
D | GenImage.java | 263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); in draw()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 1361 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()
|