Searched refs:CompressFormat (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DImageEncoder.java27 import android.graphics.Bitmap.CompressFormat;
56 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream);
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMediaStoreSaver.java51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
54 format = Bitmap.CompressFormat.JPEG;
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DMediaStoreSaver.java51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
54 format = Bitmap.CompressFormat.JPEG;
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapFactoryTest.java36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DIconTest.java84 bm1.compress(Bitmap.CompressFormat.PNG, 100,
86 test1.compress(Bitmap.CompressFormat.PNG, 100,
93 bm2.compress(Bitmap.CompressFormat.PNG, 100,
95 test2.compress(Bitmap.CompressFormat.PNG, 100,
102 bm3.compress(Bitmap.CompressFormat.PNG, 100,
104 test3.compress(Bitmap.CompressFormat.PNG, 100,
149 bm1.compress(Bitmap.CompressFormat.PNG, 100,
151 test1.compress(Bitmap.CompressFormat.PNG, 100,
172 res1.compress(Bitmap.CompressFormat.PNG, 100,
174 test1.compress(Bitmap.CompressFormat
[all...]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DBitmapUtils.java46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
H A DDrawableUtils.java62 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut);
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut);
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java59 b.compress(Bitmap.CompressFormat.PNG, 100, out);
H A DVideoViewCaptureActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out);
H A DGetBitmapSurfaceViewActivity.java66 b.compress(Bitmap.CompressFormat.PNG, 100, out);
H A DHardwareCanvasSurfaceViewActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out);
H A DTextureViewActivity.java62 b.compress(Bitmap.CompressFormat.PNG, 100, out);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DMediaStoreSaver.java53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DFileProviderExample.java75 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DFileProviderExample.java75 bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DChannelLogoUtils.java130 result = logo.compress(Bitmap.CompressFormat.PNG, 100, outputStream);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java20 import android.graphics.Bitmap.CompressFormat;
243 bitmap.compress(CompressFormat.JPEG, quality, baos);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutBitmapSaver.java22 import android.graphics.Bitmap.CompressFormat;
158 int maxDimension, CompressFormat format, int quality) {
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java21 import android.graphics.Bitmap.CompressFormat;
136 bitmap.compress(CompressFormat.JPEG, 90, outputStream);
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java21 import android.graphics.Bitmap.CompressFormat;
136 bitmap.compress(CompressFormat.JPEG, 90, outputStream);
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
H A DImageProcessingWorker.java126 if (!bitmap.compress(Bitmap.CompressFormat.JPEG, 25, os)) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);

Completed in 70 milliseconds

123