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

12

/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java419 * how pixels are stored. This affects the quality (color depth) as
465 * @deprecated Because of the poor quality of this configuration,
477 * quality. It should be used whenever possible.
1058 * @param quality Hint to the compressor, 0-100. 0 meaning compress for
1059 * small size, 100 meaning compress for max quality. Some
1061 * quality setting
1065 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
1071 if (quality < 0 || quality > 100) {
1072 throw new IllegalArgumentException("quality mus
1701 nativeCompress(long nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp1522 int quality = newParams.getInt(CameraParameters::KEY_JPEG_THUMBNAIL_QUALITY); local
1523 // also makes sure quality fits in uint8_t
1524 if (quality < 0 || quality > 100) {
1525 ALOGE("%s: Requested JPEG thumbnail quality %d is not supported",
1526 __FUNCTION__, quality);
1529 validatedParams.jpegThumbQuality = quality;
1532 quality = newParams.getInt(CameraParameters::KEY_JPEG_QUALITY);
1533 // also makes sure quality fits in uint8_t
1534 if (quality <
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java1221 * for the password. Note that quality constants are ordered so that higher
1230 * Note that quality constants are ordered so that higher values are more restrictive.
1236 * of password or pattern, but doesn't care what it is. Note that quality constants
1243 * password containing at least numeric characters. Note that quality
1251 * or ordered (1234, 4321, 2468) sequences. Note that quality
1259 * Note that quality constants are ordered so that higher values are more
1267 * alphabetic (or other symbol) characters. Note that quality constants are
1275 * symbol, by default. With this password quality, passwords can be
1279 * that quality constants are ordered so that higher values are more
1286 * modify password. In case this password quality i
1351 setPasswordQuality(@onNull ComponentName admin, int quality) argument
2020 getPasswordMaximumLength(int quality) argument
3541 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.java2100 private static final String KEY_JPEG_THUMBNAIL_QUALITY = "jpeg-thumbnail-quality";
2101 private static final String KEY_JPEG_QUALITY = "jpeg-quality";
2745 * Sets the quality of the EXIF thumbnail in Jpeg picture.
2747 * @param quality the JPEG quality of the EXIF thumbnail. The range is 1
2750 public void setJpegThumbnailQuality(int quality) { argument
2751 set(KEY_JPEG_THUMBNAIL_QUALITY, quality);
2755 * Returns the quality setting for the EXIF thumbnail in Jpeg picture.
2757 * @return the JPEG quality setting of the EXIF thumbnail.
2764 * Sets Jpeg quality o
2769 setJpegQuality(int quality) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java2626 * Returns the supported range of quality values.
2639 * intensive calculations) to improve the quality or the compression
2646 /** Constant quality mode */
2697 // no support for complexity or quality yet
2734 if (info.containsKey("quality-range")) {
2736 .parseIntRange(info.getString("quality-range"), mQualityRange);
2749 mDefaultQuality = Integer.parseInt((String)map.get("quality-default"));
2752 mQualityScale = (String)map.get("quality-scale");
2756 Integer complexity, Integer quality, Integer profile) {
2761 if (ok && quality !
2755 supports( Integer complexity, Integer quality, Integer profile) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java3273 public Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { argument
3289 Bitmap b = super.createSnapshot(quality, backgroundColor, skipChildren);
5697 * for instance, when the cache's quality is set to low.
H A DView.java1043 * <p>Enables low quality mode for the drawing cache.</p>
1048 * <p>Enables high quality mode for the drawing cache.</p>
1053 * <p>Enables automatic quality mode for the drawing cache.</p>
1063 * quality property.</p>
3892 * <p>A hardware layer can also be used to increase the rendering quality when
7496 * Returns the quality of the drawing cache.
7513 * Set the drawing cache quality of this view. This value is used only when the
7516 * @param quality One of {@link #DRAWING_CACHE_QUALITY_AUTO},
7525 public void setDrawingCacheQuality(@DrawingCacheQuality int quality) { argument
7526 setFlags(quality, DRAWING_CACHE_QUALITY_MAS
16492 createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java600 private static final String TAG_PASSWORD_QUALITY = "password-quality";
2348 out.attribute(null, "quality", Integer.toString(policy.mActivePasswordQuality));
2548 parser.getAttributeValue(null, "quality"));
2628 static void validateQualityConstant(int quality) { argument
2629 switch (quality) {
2641 throw new IllegalArgumentException("Invalid quality constant: 0x"
2642 + Integer.toHexString(quality));
3165 public void setPasswordQuality(ComponentName who, int quality, boolean parent) { argument
3170 validateQualityConstant(quality);
3175 if (ap.passwordQuality != quality) {
4890 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle) argument
[all...]

Completed in 2365 milliseconds

12