Home
last modified time | relevance | path

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

123

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveRegistry.java19 import static org.apache.commons.compress.archivers.ArchiveStreamFactory.TAR;
20 import static org.apache.commons.compress.compressors.CompressorStreamFactory.BROTLI;
21 import static org.apache.commons.compress.compressors.CompressorStreamFactory.BZIP2;
22 import static org.apache.commons.compress.compressors.CompressorStreamFactory.GZIP;
23 import static org.apache.commons.compress.compressors.CompressorStreamFactory.XZ;
31 import org.apache.commons.compress.compressors.brotli.BrotliUtils;
32 import org.apache.commons.compress.compressors.xz.XZUtils;
DArchiveHandle.java44 import org.apache.commons.compress.archivers.ArchiveEntry;
45 import org.apache.commons.compress.archivers.ArchiveException;
46 import org.apache.commons.compress.archivers.ArchiveInputStream;
47 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
48 import org.apache.commons.compress.archivers.sevenz.SevenZFile;
49 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
50 import org.apache.commons.compress.archivers.zip.ZipFile;
51 import org.apache.commons.compress.compressors.CompressorException;
52 import org.apache.commons.compress.compressors.CompressorStreamFactory;
DArchiveEntryInputStream.java27 import org.apache.commons.compress.archivers.ArchiveEntry;
28 import org.apache.commons.compress.archivers.ArchiveInputStream;
29 import org.apache.commons.compress.archivers.sevenz.SevenZFile;
30 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
31 import org.apache.commons.compress.archivers.zip.ZipFile;
DProxy.java27 import org.apache.commons.compress.archivers.ArchiveEntry;
28 import org.apache.commons.compress.archivers.ArchiveException;
29 import org.apache.commons.compress.compressors.CompressorException;
DReadableArchive.java42 import org.apache.commons.compress.archivers.ArchiveEntry;
43 import org.apache.commons.compress.archivers.ArchiveException;
44 import org.apache.commons.compress.compressors.CompressorException;
45 import org.apache.commons.compress.utils.IOUtils;
DLoader.java30 import org.apache.commons.compress.archivers.ArchiveException;
31 import org.apache.commons.compress.compressors.CompressorException;
DWriteableArchive.java44 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
45 import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream;
DArchive.java46 import org.apache.commons.compress.archivers.ArchiveEntry;
47 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java154 public void runTestHeaderReaderProcessorWithOneSpec(final boolean compress, final boolean crypt) in runTestHeaderReaderProcessorWithOneSpec() argument
182 if (compress) { in runTestHeaderReaderProcessorWithOneSpec()
202 assertEquals("raw" + (crypt ? " > encryption" : "") + (compress ? " > compression" : ""), in runTestHeaderReaderProcessorWithOneSpec()
/packages/inputmethods/LatinIME/tests/
DAndroid.bp21 // Do not compress dictionary files to mmap dict data runtime
24 // Do not compress test data file
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DMenuManager.java191 protected void updateCompress(MenuItem compress, SelectionDetails selectionDetails) { in updateCompress() argument
193 compress.setVisible(mFeatures.isArchiveCreationEnabled()); in updateCompress()
194 compress.setEnabled(!readOnly && !selectionDetails.containsPartialFiles() && in updateCompress()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveHandleTest.java39 import org.apache.commons.compress.archivers.ArchiveEntry;
40 import org.apache.commons.compress.archivers.ArchiveException;
41 import org.apache.commons.compress.compressors.CompressorException;
DReadableArchiveTest.java47 import org.apache.commons.compress.archivers.ArchiveException;
48 import org.apache.commons.compress.compressors.CompressorException;
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DDefaultWallpaperInfo.java93 if (defaultWallpaper.compress(Bitmap.CompressFormat.PNG, 100, tmpOut)) { in setDefaultOnLock()
216 b.compress(Bitmap.CompressFormat.JPEG, 95, thumbFileStream); in saveDefaultWallpaperThumb()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java332 protected void updateCompress(MenuItem compress, SelectionDetails selectionDetails) { in updateCompress() argument
333 compress.setVisible(false); in updateCompress()
/packages/apps/DocumentsUI/
Dbuild_apk.mk5 apache-commons-compress \
DAndroid.bp26 "apache-commons-compress",
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DGraphicsUtils.java57 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in flattenBitmap()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUriBitmap.java70 bitmap.compress(Bitmap.CompressFormat.PNG, 100, fs); in bitmapToUri()
/packages/apps/Tag/src/com/android/apps/tag/record/
DImageRecord.java80 bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out); in newImageRecord()
/packages/inputmethods/LatinIME/java/
DAndroid.bp31 // Do not compress dictionary files to mmap dict data runtime
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCopyAndResizeImageWorker.java72 bitmap.compress(CompressFormat.JPEG, 80, outputStream); in doInBackground()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DCropAndSetWallpaperTask.java81 if (crop.compress(CompressFormat.JPEG, DEFAULT_COMPRESS_QUALITY, tmpOut)) { in cropBitmap()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DBitmapUtilTests.java116 b.compress(format, 50, outputStream); in createRawData()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp1790 result = compress(scratchBuffer, &tmpDestSize, (const Bytef *) tmpStrip, in Encapsulate()
1796 result = compress(scratchBuffer, &tmpDestSize, (const Bytef *) tmpStrip, in Encapsulate()
1806 result = compress(scratchBuffer, &destSize, (const Bytef *) newStripPtr, in Encapsulate()
1812 result = compress(scratchBuffer, &destSize, (const Bytef *) localInBuffer, in Encapsulate()

123