Home
last modified time | relevance | path

Searched refs:compress (Results 1 – 25 of 41) sorted by relevance

12

/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/
DIncrementalAppErrorStatsTestsHelper.java27 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
28 import org.apache.commons.compress.archivers.zip.ZipFile;
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java53 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut); in savePNG()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmap_CompressFormatTest.java58 assertTrue(b.compress(format, 24, new ByteArrayOutputStream())); in testValues()
DBitmapTest.java124 mBitmap.compress(CompressFormat.JPEG, 0, null); in testCompressRecycled()
129 mBitmap.compress(CompressFormat.JPEG, 0, null); in testCompressNullStream()
134 mBitmap.compress(CompressFormat.JPEG, -1, new ByteArrayOutputStream()); in testCompressQualityTooLow()
139 mBitmap.compress(CompressFormat.JPEG, 101, new ByteArrayOutputStream()); in testCompressQualityTooHigh()
149 assertTrue(mBitmap.compress(format, 50, new ByteArrayOutputStream())); in testCompress()
176 assertTrue(mBitmap.compress(CompressFormat.WEBP, quality, webp)); in testCompressWebpLossy()
181 assertTrue(mBitmap.compress(CompressFormat.WEBP_LOSSY, quality, webpLossy)); in testCompressWebpLossy()
204 assertTrue(mBitmap.compress(CompressFormat.WEBP_LOSSLESS, quality, webp)); in testCompressWebpLossless()
215 assertTrue(mBitmap.compress(CompressFormat.WEBP, 100, webp)); in testCompressWebp100MeansLossless()
227 bitmap.compress(format, 50, new ByteArrayOutputStream())); in testCompressAlpha8Fails()
[all …]
DBitmapFactoryTest.java272 assertTrue(bPng.compress(CompressFormat.WEBP, 90, oStreamWebp)); in testWebpStreamEncode()
305 assertTrue(bPng.compress(CompressFormat.WEBP, 90, oStreamWebp)); in testDecodeStream5()
705 assertTrue(b2.compress(Bitmap.CompressFormat.JPEG, 50, baos)); in testParcel()
874 source.compress(format, 100, output); in sendOverPipe()
1000 bitmap.compress(Bitmap.CompressFormat.JPEG, 0, stm); in obtainArray()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp204 bool compress(const void* data, size_t size) { in compress() function in Context
250 return c->compress(data, size); in compressWriteFn()
259 static jboolean compress(JNIEnv* env, jclass, jobject jbitmap, jint format, jint quality, in compress() function
466 { "nCompress", "(Landroid/graphics/Bitmap;IILjava/io/OutputStream;[B)Z", (void*) compress },
/cts/tests/tests/neuralnetworks/java_test/
DAndroid.bp41 // Do not compress model data files.
/cts/hostsidetests/packagemanager/stats/device/
DAndroid.bp39 "apache-commons-compress",
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java82 success = bitmap.compress(CompressFormat.PNG, 100, stream); in doInBackground()
/cts/tests/tests/view/src/android/view/cts/util/
DBitmapDumper.java137 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java152 bmp.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos); in bitmapToInputStream()
184 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
/cts/tests/tests/os/
DAndroid.bp72 // Do not compress minijail policy files.
/cts/tests/tests/media/
DAndroid.bp72 // do not compress VP9 video files
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java82 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in dumpBitmap()
/cts/tests/tests/content/
DAndroid.bp38 "apache-commons-compress",
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java185 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
/cts/tests/tests/content/src/android/content/pm/cts/
DResourcesHardeningTest.java48 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
49 import org.apache.commons.compress.archivers.zip.ZipFile;
/cts/tests/tests/media/src/android/media/cts/
DCodecUtils.java244 bitmap.compress(Bitmap.CompressFormat.JPEG, 90, outputStream); in saveBitmapToFile()
DTextureRender.java289 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame()
DDecodeAccuracyTest.java274 result.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in validateResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java293 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame()
/cts/tests/media/src/android/mediav2/cts/
DTextureRender.java289 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTestUtils.java264 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveVectorDrawableIntoPNG()
DAdaptiveIconDrawableTest.java202 bm_org.compress(Bitmap.CompressFormat.PNG, 100, in testDrawSetBounds()
204 bm_test.compress(Bitmap.CompressFormat.PNG, 100, in testDrawSetBounds()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java787 params.rawBitmap.compress(Bitmap.CompressFormat.JPEG, 90, params.fileStream); in debugDumpDng()
919 jpegPatch.compress(Bitmap.CompressFormat.JPEG, 90, fileStream); in validateRawJpegImagePair()
929 rawPatch.compress(Bitmap.CompressFormat.JPEG, 90, fileStream); in validateRawJpegImagePair()

12