/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | IconTest.java | 82 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/ |
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/java/tests/Refocus/src/com/android/rs/test/ |
D | ImageCompare.java | 20 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()
|
D | MediaStoreSaver.java | 52 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut); in savePNG()
|
/frameworks/rs/java/tests/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/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapFactoryTest.java | 36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
|
/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/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 | TextureViewActivity.java | 62 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
D | HardwareCanvasSurfaceViewActivity.java | 68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
|
D | GLTextureViewActivity.java | 72 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/graphics/java/android/graphics/ |
D | Bitmap.java | 1031 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/ |
D | GenImage.java | 263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); in draw()
|
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
D | AnimatedVectorDrawableTest.java | 102 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveVectorDrawableIntoPNG()
|
/frameworks/base/docs/html/training/wearables/data-layer/ |
D | assets.jd | 46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLand.java | 234 bitmap.compress(Bitmap.CompressFormat.PNG, 0, os); in shareCat()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 42 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/ |
D | VectorDrawableTest.java | 185 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveVectorDrawableIntoPNG()
|