Home
last modified time | relevance | path

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

123

/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/
DIncrementalAppErrorStatsTestsHelper.java28 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
29 import org.apache.commons.compress.archivers.zip.ZipFile;
/cts/tests/tests/media/player/
DAndroid.bp37 // do not compress media files
78 // do not compress media files
/cts/tests/tests/media/codec/
DAndroid.bp38 // Do not compress these files:
81 // Do not compress these files:
/cts/tests/tests/media/decoder/
DAndroid.bp67 // Do not compress these files:
108 // Do not compress these files:
/cts/tests/tests/media/drmframework/
DAndroid.bp40 // Do not compress these files:
90 // Do not compress these files:
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSaveBitmapHelper.java54 failFrame.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in saveBitmap()
/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()
DGainmapTest.java464 assertTrue(sScalingRed8888.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompress8888()
485 assertTrue(sScalingRedA8.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompressA8ByImageDecoder()
507 assertTrue(sScalingRedA8.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompressA8ByBitmapRegionDecoder()
526 assertTrue(sScalingRedA8.compress(Bitmap.CompressFormat.JPEG, 100, stream)); in testCompressA8ByBitmapFactory()
DBitmapTest.java127 mBitmap.compress(CompressFormat.JPEG, 0, null); in testCompressRecycled()
132 mBitmap.compress(CompressFormat.JPEG, 0, null); in testCompressNullStream()
137 mBitmap.compress(CompressFormat.JPEG, -1, new ByteArrayOutputStream()); in testCompressQualityTooLow()
142 mBitmap.compress(CompressFormat.JPEG, 101, new ByteArrayOutputStream()); in testCompressQualityTooHigh()
152 assertTrue(mBitmap.compress(format, 50, new ByteArrayOutputStream())); in testCompress()
179 assertTrue(mBitmap.compress(CompressFormat.WEBP, quality, webp)); in testCompressWebpLossy()
184 assertTrue(mBitmap.compress(CompressFormat.WEBP_LOSSY, quality, webpLossy)); in testCompressWebpLossy()
207 assertTrue(mBitmap.compress(CompressFormat.WEBP_LOSSLESS, quality, webp)); in testCompressWebpLossless()
218 assertTrue(mBitmap.compress(CompressFormat.WEBP, 100, webp)); in testCompressWebp100MeansLossless()
230 bitmap.compress(format, 50, new ByteArrayOutputStream())); in testCompressAlpha8Fails()
[all …]
/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/hostsidetests/packagemanager/stats/device/
DAndroid.bp40 "apache-commons-compress",
/cts/tests/tests/media/misc/
DAndroid.bp86 // Do not compress these files:
152 // Do not compress these files:
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java82 success = bitmap.compress(CompressFormat.PNG, 100, stream); in doInBackground()
/cts/tests/tests/neuralnetworks/java_test/
DAndroid.bp42 // Do not compress model data files.
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DMediaStoreWriteOperation.java62 if (!bitmap.compress(Bitmap.CompressFormat.JPEG, 95, outputStream)) { in createImageFileToMediaStoreReturnUri()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java69 bitmap.compress(Bitmap.CompressFormat.PNG, 100, file); in sampleImage()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java111 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
/cts/tests/vibrator/
DAndroid.bp61 // Do not compress minijail policy files.
/cts/tests/tests/hibernation/
DAndroid.bp59 // Do not compress minijail policy files.
/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/view/src/android/view/cts/util/
DBitmapDumper.java137 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetTestImageProvider.java101 bitmap.compress(format, 100, fos); in sendBitmap()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java77 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in dumpBitmap()
/cts/tests/tests/content/src/android/content/pm/cts/
DResourcesHardeningTest.java53 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
54 import org.apache.commons.compress.archivers.zip.ZipFile;

123