/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageExporter.java | 25 import android.graphics.Bitmap.CompressFormat; 84 private CompressFormat mCompressFormat = CompressFormat.PNG; 100 void setFormat(CompressFormat format) { in setFormat() 204 CompressFormat format; 228 private final CompressFormat mFormat; 234 CompressFormat format, int quality, boolean publish) { 299 private static Uri createEntry(ContentResolver resolver, CompressFormat format, 315 private static void writeImage(ContentResolver resolver, Bitmap bitmap, CompressFormat format, 380 static String createFilename(ZonedDateTime time, CompressFormat format) { 384 static ContentValues createMetadata(ZonedDateTime captureTime, CompressFormat format, [all …]
|
/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/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/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/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageExporterTest.java | 29 import android.graphics.Bitmap.CompressFormat; 73 ImageExporter.createFilename(CAPTURE_TIME, CompressFormat.PNG)); in testImageFilename() 109 assertEquals("The default CompressFormat should be PNG", CompressFormat.PNG, result.format); in testImageExport() 153 String name = ImageExporter.createFilename(CAPTURE_TIME, CompressFormat.PNG); in testMediaStoreMetadata() 154 ContentValues values = ImageExporter.createMetadata(CAPTURE_TIME, CompressFormat.PNG, name); in testMediaStoreMetadata()
|
/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/base/services/core/java/com/android/server/textclassifier/ |
D | IconsContentProvider.java | 60 getBitmap(drawable).compress(Bitmap.CompressFormat.PNG, 100, out); 107 getBitmap(one).compress(Bitmap.CompressFormat.PNG, 100, stream1); in sameIcon() 109 getBitmap(two).compress(Bitmap.CompressFormat.PNG, 100, stream2); in sameIcon()
|
/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/media/tests/MtpTests/src/android/mtp/ |
D | MtpDatabaseTest.java | 177 return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth, sourceHeight); in createJpegRawData() 181 return createRawData(Bitmap.CompressFormat.PNG, sourceWidth, sourceHeight); in createPngRawData() 184 private byte[] createRawData(Bitmap.CompressFormat format, int sourceWidth, int sourceHeight) in createRawData()
|
/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; 159 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked()
|
/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/gallery3d/common/ |
D | BitmapUtils.java | 20 import android.graphics.Bitmap.CompressFormat; 243 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()
|
/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()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | GraphicsUtils.java | 62 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in flattenBitmap()
|
D | BitmapInfo.java | 79 icon.compress(Bitmap.CompressFormat.PNG, 100, out); in toByteArray()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 27 import android.graphics.Bitmap.CompressFormat; 770 CompressFormat cf = 832 protected static CompressFormat convertExtensionToCompressFormat(String extension) { 833 return extension.equals("png") ? CompressFormat.PNG : CompressFormat.JPEG;
|
/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/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | SurfaceTracingTestBase.kt | 103 screenshot.compress(Bitmap.CompressFormat.PNG, 100, out) in <lambda>()
|