/external/glide/library/src/main/java/com/bumptech/glide/ |
BitmapTypeRequest.java | 79 * @see #toBytes(android.graphics.Bitmap.CompressFormat, int) 91 * @see android.graphics.Bitmap#compress(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream) 94 * @param compressFormat The {@link android.graphics.Bitmap.CompressFormat} to use to compress the {@link Bitmap}. 98 public BitmapRequestBuilder<ModelType, byte[]> toBytes(Bitmap.CompressFormat compressFormat, int quality) { 99 return transcode(new BitmapBytesTranscoder(compressFormat, quality), byte[].class);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiAutomatorBridge.java | 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
VideoViewCaptureActivity.java | 68 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
GetBitmapSurfaceViewActivity.java | 66 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
HardwareCanvasSurfaceViewActivity.java | 68 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
TextureViewActivity.java | 62 b.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
ShareMockupAction.java | 55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
BitmapUtils.java | 20 import android.graphics.Bitmap.CompressFormat; 243 bitmap.compress(CompressFormat.JPEG, quality, baos);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 20 import android.graphics.Bitmap.CompressFormat; 243 bitmap.compress(CompressFormat.JPEG, quality, baos);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 193 bitmap.compress(Bitmap.CompressFormat.JPEG, 85, thumbOut); 205 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, miniOutStream);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
BitmapDumper.java | 124 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/ |
RecommendationBuilder.java | 127 mBitmap.compress(Bitmap.CompressFormat.PNG, 85, fOut);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmap.java | 28 public boolean compress(Bitmap.CompressFormat format, int quality, OutputStream stream) {
|
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
ViESurfaceRenderer.java | 148 bitmap.compress(Bitmap.CompressFormat.JPEG, 100, byteOutStream);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactPhotoUtils.java | 113 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 191 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 29 import android.graphics.Bitmap.CompressFormat; 261 if (!bmp.compress(CompressFormat.PNG, 100, fout)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaMetadataRetrieverTest.java | 93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); 151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
|
/packages/apps/TV/src/com/android/tv/data/ |
ChannelLogoFetcher.java | 21 import android.graphics.Bitmap.CompressFormat; 270 bitmapInfo.bitmap.compress(CompressFormat.PNG, 100, os);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 29 import android.graphics.Bitmap.CompressFormat; 66 mBitmap.compress(CompressFormat.JPEG, 0, null); 75 mBitmap.compress(CompressFormat.JPEG, 0, null); 82 mBitmap.compress(CompressFormat.JPEG, -1, new ByteArrayOutputStream()); 89 mBitmap.compress(CompressFormat.JPEG, 101, new ByteArrayOutputStream()); 95 assertTrue(mBitmap.compress(CompressFormat.JPEG, 50, new ByteArrayOutputStream())); [all...] |
BitmapFactoryTest.java | 27 import android.graphics.Bitmap.CompressFormat; 215 assertTrue(bPng.compress(CompressFormat.WEBP, 90, oStreamWebp)); 251 assertTrue(bPng.compress(CompressFormat.WEBP, 90, oStreamWebp)); 598 assertTrue(b2.compress(Bitmap.CompressFormat.JPEG, 50, baos)); 716 bitmap.compress(Bitmap.CompressFormat.JPEG, 0, stm); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 27 import android.graphics.Bitmap.CompressFormat; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 26 import android.graphics.Bitmap.CompressFormat; 543 CompressFormat cf = 674 protected static CompressFormat convertExtensionToCompressFormat(String extension) { 675 return extension.equals("png") ? CompressFormat.PNG : CompressFormat.JPEG;
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
TestDocumentsProvider.java | 27 import android.graphics.Bitmap.CompressFormat; 333 bitmap.compress(CompressFormat.JPEG, 50, bos);
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetFragment.java | 22 import android.graphics.Bitmap.CompressFormat; 362 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg);
|