/frameworks/base/media/java/android/media/ |
H A D | CamcorderProfile.java | 43 * The output from camcorder recording sessions can have different quality levels. 45 * Currently, we define two quality levels: high quality and low quality. 46 * A camcorder recording session with high quality level usually has higher output bit 47 * rate, better video and/or audio recording quality, larger video frame 48 * resolution and higher audio sampling rate, etc, than those with low quality 64 * The quality level of the camcorder profile 66 public int quality; field in class:CamcorderProfile 122 * Returns the camcorder profile for the given quality leve 125 get(int quality) argument 139 CamcorderProfile(int duration, int quality, int fileFormat, int videoCodec, int videoBitRate, int videoFrameRate, int videoWidth, int videoHeight, int audioCodec, int audioBitRate, int audioSampleRate, int audioChannels) argument 168 native_get_camcorder_profile(int quality) argument [all...] |
H A D | CameraProfile.java | 23 * capture (jpeg) quality levels (0-100) used for low, medium, and high 24 * quality settings in the Camera application. 30 * Define three quality levels for JPEG image encoding. 41 * Cache the Jpeg encoding quality parameters 46 * Returns a pre-defined still image capture (jpeg) quality level 47 * used for the given quality level in the Camera application. 49 * @param quality The target quality level 51 public static int getJpegEncodingQualityParameter(int quality) { argument 52 if (quality < QUALITY_LO [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | YuvImage.java | 116 * @param quality Hint to the compressor, 0-100. 0 meaning compress for 117 * small size, 100 meaning compress for max quality. 120 * @throws IllegalArgumentException if rectangle is invalid; quality is not within [0, 123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { argument 130 if (quality < 0 || quality > 100) { 131 throw new IllegalArgumentException("quality must be 0..100"); 142 rectangle.height(), offsets, mStrides, quality, stream, 239 int quality, OutputStream stream, byte[] tempStorage); 237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
|
H A D | Bitmap.java | 564 * @param quality Hint to the compressor, 0-100. 0 meaning compress for 565 * small size, 100 meaning compress for max quality. Some 567 * quality setting 571 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument 577 if (quality < 0 || quality > 100) { 578 throw new IllegalArgumentException("quality must be 0..100"); 580 return nativeCompress(mNativeBitmap, format.nativeInt, quality, 1022 int quality, OutputStream stream, 1021 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
|
/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 28 void setPasswordQuality(in ComponentName who, int quality); 56 void setActivePasswordState(int quality, int length);
|
H A D | DevicePolicyManager.java | 182 * for the password. Note that quality constants are ordered so that higher 189 * of password, but doesn't care what it is. Note that quality constants 196 * password containing at least numeric characters. Note that quality 204 * Note that quality constants are ordered so that higher values are more 212 * alphabetic (or other symbol) characters. Note that quality constants are 227 * thus the highest requested quality constant (between the policy set here, 236 * @param quality The new desired quality. One of 241 public void setPasswordQuality(ComponentName admin, int quality) { argument 244 mService.setPasswordQuality(admin, quality); 322 getPasswordMaximumLength(int quality) argument 590 setActivePasswordState(int quality, int length) argument [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/ |
H A D | pvgsmamrdecoderinterface.h | 147 * This value is the quality indicator. 1 (good) 0 (bad) 149 uint8_t quality; member in struct:tPVAmrDecoderExternal
|
/frameworks/base/awt/javax/imageio/ |
H A D | ImageWriteParam.java | 136 * The compression quality. 175 * Returns true if images can be written using increasing quality passes by 178 * @return true if images can be written using increasing quality passes by 187 * progressive sequence of increasing quality during writing. The 297 * output data for each bit of input image data with the specified quality. 299 * @param quality 300 * the quality. 303 public float getBitRate(float quality) { argument 307 if (quality < 0 || quality > 537 setCompressionQuality(float quality) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | DevicePolicyManagerService.java | 107 out.startTag(null, "password-quality"); 109 out.endTag(null, "password-quality"); 140 } else if ("password-quality".equals(tag)) { 360 out.attribute(null, "quality", Integer.toString(mActivePasswordQuality)); 439 parser.getAttributeValue(null, "quality")); 467 // Validate that what we stored for the password quality matches 473 Slog.w(TAG, "Active password quality 0x" 475 + " does not match actual quality 0x" 494 static void validateQualityConstant(int quality) { argument 495 switch (quality) { 607 setPasswordQuality(ComponentName who, int quality) argument 911 setActivePasswordState(int quality, int length) argument [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | mime_io.cpp | 533 uint8 quality, 680 if (quality) 691 if (quality) 529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State *st) argument
|
/frameworks/base/libs/audioflinger/ |
H A D | AudioResampler.cpp | 78 int32_t sampleRate, int quality) { 80 // can only create low quality resample now 84 if (property_get("af.resampler.quality", value, 0)) { 85 quality = atoi(value); 86 LOGD("forcing AudioResampler quality to %d", quality); 89 if (quality == DEFAULT) 90 quality = LOW_QUALITY; 92 switch (quality) { 77 create(int bitDepth, int inChannelCount, int32_t sampleRate, int quality) argument
|
H A D | AudioResampler.h | 30 // Determines quality of SRC. 34 // NOTE: high quality SRC will only be supported for 45 int32_t sampleRate, int quality=DEFAULT);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 165 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint quality) argument 167 LOGV("native_get_camcorder_profile: %d", quality); 168 if (quality != CAMCORDER_QUALITY_HIGH && quality != CAMCORDER_QUALITY_LOW) { 169 jniThrowException(env, "java/lang/RuntimeException", "Unknown camcorder profile quality"); 173 camcorder_quality q = static_cast<camcorder_quality>(quality); 200 quality,
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.h | 30 * @param jpegQuality Picture quality in [0, 100]. 42 int height, int quality);
|
H A D | YuvToJpegEncoder.cpp | 51 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 D | Bitmap.cpp | 268 int format, int quality,
288 success = encoder->encodeStream(strm, *bitmap, quality);
267 Bitmap_compress(JNIEnv* env, jobject clazz, SkBitmap* bitmap, int format, int quality, jobject jstream, jbyteArray jstorage) argument
|
/frameworks/policies/base/phone/com/android/internal/policy/impl/ |
H A D | PasswordUnlockScreen.java | 89 final int quality = lockPatternUtils.getKeyguardStoredPasswordQuality(); 90 final boolean isAlpha = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC == quality 91 || DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC == quality;
|
/frameworks/base/media/libmedia/ |
H A D | MediaProfiles.cpp | 277 CHECK(!strcmp("quality", atts[0]) && 282 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); local 283 CHECK(quality != -1); 291 profile->mQuality = static_cast<camcorder_quality>(quality); 299 CHECK(!strcmp("quality", atts[0])); 632 int MediaProfiles::getCamcorderProfileParamByName(const char *name, camcorder_quality quality) const 634 LOGV("getCamcorderProfileParamByName: %s for quality %d", name, quality); 638 if (mCamcorderProfiles[i]->mQuality == quality) { 644 LOGE("The given camcorder profile quality [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 723 private static final String KEY_JPEG_THUMBNAIL_QUALITY = "jpeg-thumbnail-quality"; 724 private static final String KEY_JPEG_QUALITY = "jpeg-quality"; 1054 * Sets the quality of the EXIF thumbnail in Jpeg picture. 1056 * @param quality the JPEG quality of the EXIF thumbnail. The range is 1 1059 public void setJpegThumbnailQuality(int quality) { argument 1060 set(KEY_JPEG_THUMBNAIL_QUALITY, quality); 1064 * Returns the quality setting for the EXIF thumbnail in Jpeg picture. 1066 * @return the JPEG quality setting of the EXIF thumbnail. 1073 * Sets Jpeg quality o 1078 setJpegQuality(int quality) argument [all...] |
/frameworks/base/include/media/ |
H A D | MediaProfiles.h | 51 * Returns the value for the given param name at the given quality level, 67 int getCamcorderProfileParamByName(const char *name, camcorder_quality quality) const; 125 * Returns the number of image encoding quality levels supported.
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 780 * <p>Enables low quality mode for the drawing cache.</p> 785 * <p>Enables high quality mode for the drawing cache.</p> 790 * <p>Enables automatic quality mode for the drawing cache.</p> 800 * quality property.</p> 2822 * Returns the quality of the drawing cache. 2838 * Set the drawing cache quality of this view. This value is used only when the 2841 * @param quality One of {@link #DRAWING_CACHE_QUALITY_AUTO}, 2850 public void setDrawingCacheQuality(int quality) { argument 2851 setFlags(quality, DRAWING_CACHE_QUALITY_MASK); 6411 Bitmap.Config quality; 6518 createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) argument [all...] |
H A D | ViewGroup.java | 1276 Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { argument 1291 Bitmap b = super.createSnapshot(quality, backgroundColor, skipChildren); 2775 * for instance, when the cache's quality is set to low.
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 330 * Compute the password quality from the given password string. 361 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)} 363 public void saveLockPassword(String password, int quality) { argument 401 * Retrieves the quality mode we're in. 404 * @return stored password quality
|