Searched defs:quality (Results 26 - 34 of 34) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp1494 int quality = newParams.getInt(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY); local
1495 // also makes sure quality fits in uint8_t
1496 if (quality < 0 || quality > 100) {
1497 ALOGE("%s: Requested JPEG thumbnail quality %d is not supported",
1498 __FUNCTION__, quality);
1501 validatedParams.jpegThumbQuality = quality;
1504 quality = newParams.getInt(CameraParameters::KEY_JPEG_QUALITY);
1505 // also makes sure quality fits in uint8_t
1506 if (quality <
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp824 jint format, jint quality,
859 success = encoder->encodeStream(strm.get(), skbitmap, quality);
823 Bitmap_compress(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint format, jint quality, jobject jstream, jbyteArray jstorage) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java387 * how pixels are stored. This affects the quality (color depth) as
433 * @deprecated Because of the poor quality of this configuration,
445 * quality. It should be used whenever possible.
1010 * @param quality Hint to the compressor, 0-100. 0 meaning compress for
1011 * small size, 100 meaning compress for max quality. Some
1013 * quality setting
1017 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
1023 if (quality < 0 || quality > 100) {
1024 throw new IllegalArgumentException("quality mus
1687 nativeCompress(long nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java937 * for the password. Note that quality constants are ordered so that higher
946 * Note that quality constants are ordered so that higher values are more restrictive.
952 * of password or pattern, but doesn't care what it is. Note that quality constants
959 * password containing at least numeric characters. Note that quality
967 * or ordered (1234, 4321, 2468) sequences. Note that quality
975 * Note that quality constants are ordered so that higher values are more
983 * alphabetic (or other symbol) characters. Note that quality constants are
991 * symbol, by default. With this password quality, passwords can be
995 * that quality constants are ordered so that higher values are more
1010 * thus the highest requested quality constan
1025 setPasswordQuality(@onNull ComponentName admin, int quality) argument
1600 getPasswordMaximumLength(int quality) argument
2639 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java2094 private static final String KEY_JPEG_THUMBNAIL_QUALITY = "jpeg-thumbnail-quality";
2095 private static final String KEY_JPEG_QUALITY = "jpeg-quality";
2739 * Sets the quality of the EXIF thumbnail in Jpeg picture.
2741 * @param quality the JPEG quality of the EXIF thumbnail. The range is 1
2744 public void setJpegThumbnailQuality(int quality) { argument
2745 set(KEY_JPEG_THUMBNAIL_QUALITY, quality);
2749 * Returns the quality setting for the EXIF thumbnail in Jpeg picture.
2751 * @return the JPEG quality setting of the EXIF thumbnail.
2758 * Sets Jpeg quality o
2763 setJpegQuality(int quality) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java2204 * Returns the supported range of quality values.
2217 * intensive calculations) to improve the quality or the compression
2224 /** Constant quality mode */
2275 // no support for complexity or quality yet
2312 if (info.containsKey("quality-range")) {
2314 .parseIntRange(info.getString("quality-range"), mQualityRange);
2327 mDefaultQuality = Integer.parseInt((String)map.get("quality-default"));
2330 mQualityScale = (String)map.get("quality-scale");
2334 Integer complexity, Integer quality, Integer profile) {
2339 if (ok && quality !
2333 supports( Integer complexity, Integer quality, Integer profile) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java3160 Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { argument
3175 Bitmap b = super.createSnapshot(quality, backgroundColor, skipChildren);
5562 * for instance, when the cache's quality is set to low.
H A DView.java955 * <p>Enables low quality mode for the drawing cache.</p>
960 * <p>Enables high quality mode for the drawing cache.</p>
965 * <p>Enables automatic quality mode for the drawing cache.</p>
975 * quality property.</p>
3672 * <p>A hardware layer can also be used to increase the rendering quality when
6869 * Returns the quality of the drawing cache.
6886 * Set the drawing cache quality of this view. This value is used only when the
6889 * @param quality One of {@link #DRAWING_CACHE_QUALITY_AUTO},
6898 public void setDrawingCacheQuality(@DrawingCacheQuality int quality) { argument
6899 setFlags(quality, DRAWING_CACHE_QUALITY_MAS
15490 createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java431 private static final String TAG_PASSWORD_QUALITY = "password-quality";
1479 out.attribute(null, "quality", Integer.toString(policy.mActivePasswordQuality));
1613 parser.getAttributeValue(null, "quality"));
1664 // Validate that what we stored for the password quality matches
1672 Slog.w(LOG_TAG, "Active password quality 0x"
1674 + " does not match actual quality 0x"
1723 static void validateQualityConstant(int quality) { argument
1724 switch (quality) {
1735 throw new IllegalArgumentException("Invalid quality constant: 0x"
1736 + Integer.toHexString(quality));
2105 setPasswordQuality(ComponentName who, int quality) argument
3457 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle) argument
[all...]

Completed in 364 milliseconds

12