Searched refs:quality (Results 26 - 37 of 37) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java279 * how pixels are stored. This affects the quality (color depth) as
321 * @deprecated Because of the poor quality of this configuration,
333 * quality. It should be used whenever possible.
859 * @param quality Hint to the compressor, 0-100. 0 meaning compress for
860 * small size, 100 meaning compress for max quality. Some
862 * quality setting
866 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
872 if (quality < 0 || quality > 100) {
873 throw new IllegalArgumentException("quality mus
1401 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DVideoEditorResampler.cpp79 M4OSA_Int32 sampleRate, M4OSA_Int32 quality) {
78 LVAudioResamplerCreate(M4OSA_Int32 bitDepth, M4OSA_Int32 inChannelCount, M4OSA_Int32 sampleRate, M4OSA_Int32 quality) argument
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp51 int width, int height, int quality) {
58 jpeg_set_quality(cinfo, quality, TRUE);
50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
H A DBitmap.cpp282 int format, int quality,
315 success = encoder->encodeStream(strm, *bitmap, quality);
281 Bitmap_compress(JNIEnv* env, jobject clazz, SkBitmap* bitmap, int format, int quality, jobject jstream, jbyteArray jstorage) argument
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp79 // for high quality resampler, the parameters for coefficients are compile-time constants
88 // for very high quality resampler, the parameters are load-time constants
203 int inChannelCount, int32_t sampleRate, src_quality quality)
204 : AudioResampler(bitDepth, inChannelCount, sampleRate, quality),
228 mConstants = (quality == VERY_HIGH_QUALITY) ? &veryHighQualityConstants : &highQualityConstants;
202 AudioResamplerSinc(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
H A DAudioMixer.cpp543 AudioResampler::src_quality quality; local
544 // force lowest quality level resampler if use case isn't music or video
546 // quality level based on the initial ratio, but that could change later.
550 quality = AudioResampler::LOW_QUALITY;
552 quality = AudioResampler::DEFAULT_QUALITY;
558 devSampleRate, quality);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiDevice.java696 * Default scale of 1.0f (original size) and 90% quality is used
713 * @param quality quality of the PNG compression; range: 0-100
716 public boolean takeScreenshot(File storePath, float scale, int quality) { argument
768 screenShot.compress(Bitmap.CompressFormat.PNG, quality, fos);
/frameworks/base/core/java/android/hardware/
H A DCamera.java1674 private static final String KEY_JPEG_THUMBNAIL_QUALITY = "jpeg-thumbnail-quality";
1675 private static final String KEY_JPEG_QUALITY = "jpeg-quality";
2265 * Sets the quality of the EXIF thumbnail in Jpeg picture.
2267 * @param quality the JPEG quality of the EXIF thumbnail. The range is 1
2270 public void setJpegThumbnailQuality(int quality) { argument
2271 set(KEY_JPEG_THUMBNAIL_QUALITY, quality);
2275 * Returns the quality setting for the EXIF thumbnail in Jpeg picture.
2277 * @return the JPEG quality setting of the EXIF thumbnail.
2284 * Sets Jpeg quality o
2289 setJpegQuality(int quality) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java256 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
/frameworks/rs/
H A Drs.spec481 param float quality
/frameworks/base/core/java/android/view/
H A DView.java882 * <p>Enables low quality mode for the drawing cache.</p>
887 * <p>Enables high quality mode for the drawing cache.</p>
892 * <p>Enables automatic quality mode for the drawing cache.</p>
902 * quality property.</p>
3175 * <p>A hardware layer can also be used to increase the rendering quality when
5364 * Returns the quality of the drawing cache.
5380 * Set the drawing cache quality of this view. This value is used only when the
5383 * @param quality One of {@link #DRAWING_CACHE_QUALITY_AUTO},
5392 public void setDrawingCacheQuality(int quality) { argument
5393 setFlags(quality, DRAWING_CACHE_QUALITY_MAS
12978 createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) argument
[all...]
H A DViewGroup.java2659 Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { argument
2674 Bitmap b = super.createSnapshot(quality, backgroundColor, skipChildren);
4493 * for instance, when the cache's quality is set to low.

Completed in 360 milliseconds

12