Home
last modified time | relevance | path

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

123

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DIconTest.java82 bm1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
84 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
91 bm2.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
93 test2.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
100 bm3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
102 test3.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmap()
123 res1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmapResource()
125 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithBitmapResource()
139 bit1.compress(Bitmap.CompressFormat.PNG, 100, in testWithFile()
149 test1.compress(Bitmap.CompressFormat.PNG, 100, in testWithFile()
[all …]
/frameworks/base/core/jni/android/graphics/
DYuvToJpegEncoder.h44 virtual void compress(jpeg_compress_struct* cinfo,
59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
DYuvToJpegEncoder.cpp45 compress(&cinfo, (uint8_t*) inYuv, offsets); in encode()
73 void Yuv420SpToJpegEncoder::compress(jpeg_compress_struct* cinfo, in compress() function in Yuv420SpToJpegEncoder
149 void Yuv422IToJpegEncoder::compress(jpeg_compress_struct* cinfo, in compress() function in Yuv422IToJpegEncoder
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DImageCompare.java20 bitmap.compress(Bitmap.CompressFormat.PNG, 100, stream); in loadImageByteArray()
109 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, stream1); in printWrongIndex()
114 bitmap2.compress(Bitmap.CompressFormat.PNG, 100, stream2); in printWrongIndex()
DMediaStoreSaver.java52 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut); in savePNG()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtypeArray.java99 compressedData = compress(decompressedData); in writeToParcel()
200 private static byte[] compress(final byte[] data) { in compress() method in InputMethodSubtypeArray
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java47 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut); in insertImage()
144 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut); in storeThumbnail()
/frameworks/base/docs/html/training/wearables/apps/
Dpackaging.jd133 <p>Many build tools automatically compress any files added to the <code>res/raw</code>
134 directory of an Android app. Because the wearable APK is already zipped, these tools re-compress the
142 <p>Android Studio doesn't compress your APK by default, but if you are using another build process,
143 ensure that you don't doubly compress the wearable app.</p>
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapFactoryTest.java36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out); in testBitmapParcelFileDescriptor()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageEncoder.java56 bitmap.compress(CompressFormat.JPEG, mQuality, mOutputStream); in process()
/frameworks/base/docs/html/training/performance/battery/network/
Daction-any-traffic.jd11 <li><a href="#compress-data">Compress Data</a>
31 <h2 id="compress-data">Compress Data</h2>
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapActivity.java59 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DVideoViewCaptureActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DGetBitmapSurfaceViewActivity.java66 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DTextureViewActivity.java62 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
DHardwareCanvasSurfaceViewActivity.java68 b.compress(Bitmap.CompressFormat.PNG, 100, out); in onCreate()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java59 bitmap.compress(format, 100, fOut); in save()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); in testThumbnailCapture()
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream); in testBasicNormalMethodCallSequence()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()
/frameworks/base/docs/html/design/style/
Ddevices-displays.jd19 <p>Stretch and compress your layouts to accommodate various heights and widths.</p>
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
DGenImage.java263 bmp.compress(Bitmap.CompressFormat.PNG, 95, out); in draw()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java243 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java102 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); in saveVectorDrawableIntoPNG()
/frameworks/base/docs/html/training/wearables/data-layer/
Dassets.jd46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteStream);
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java234 bitmap.compress(Bitmap.CompressFormat.PNG, 0, os); in shareCat()

123