/external/skia/src/images/ |
SkImageEncoder.cpp | 25 int quality) { 26 quality = SkMin32(100, SkMax32(0, quality)); 27 return this->onEncode(stream, bm, quality); 31 int quality) { 32 quality = SkMin32(100, SkMax32(0, quality)); 34 return this->onEncode(&stream, bm, quality); 38 int quality) { 40 return enc.get() && enc.get()->encodeFile(file, bm, quality); [all...] |
/external/skia/include/images/ |
SkImageEncoder.h | 19 /* Quality ranges from 0..100 */ 24 bool encodeFile(const char file[], const SkBitmap&, int quality); 25 bool encodeStream(SkWStream*, const SkBitmap&, int quality); 28 int quality); 30 int quality); 33 virtual bool onEncode(SkWStream*, const SkBitmap&, int quality) = 0;
|
/frameworks/base/media/java/android/media/ |
CamcorderProfile.java | 46 * The output from camcorder recording sessions can have different quality levels. 48 * Currently, we define two quality levels: high quality and low quality. 49 * A camcorder recording session with high quality level usually has higher output bit 50 * rate, better video and/or audio recording quality, larger video frame 51 * resolution and higher audio sampling rate, etc, than those with low quality 67 * The quality level of the camcorder profile 69 public int quality; field in class:CamcorderProfile 126 * device at the given quality level. If the device has no back-facin [all...] |
CameraProfile.java | 27 * capture (jpeg) quality levels (0-100) used for low, medium, and high 28 * quality settings in the Camera application. 34 * Define three quality levels for JPEG image encoding. 45 * Cache the Jpeg encoding quality parameters 50 * Returns a pre-defined still image capture (jpeg) quality level 51 * used for the given quality level in the Camera application for 55 * @param quality The target quality level 57 public static int getJpegEncodingQualityParameter(int quality) { 63 return getJpegEncodingQualityParameter(i, quality); [all...] |
/external/skia/src/animator/ |
SkSnapshot.h | 32 SkScalar quality; member in class:SkSnapshot
|
SkSnapshot.cpp | 29 SK_MEMBER(quality, Float), 40 quality = 100 * SK_Scalar1; 69 SkScalarFloor(quality));
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/netrom/ |
netrom.h | 46 unsigned int quality; member in struct:nr_route_struct 64 unsigned int quality; member in struct:nr_parms_struct
|
/packages/apps/Settings/src/com/android/settings/ |
ChooseLockGeneric.java | 105 int quality = getIntent().getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); local 106 if (quality == -1) { 107 // If caller didn't specify password quality, show the UI and allow the user to choose. 108 quality = mChooseLockSettingsHelper.utils().getKeyguardStoredPasswordQuality(); 116 updateUnlockMethodAndFinish(quality); 121 * Disables preferences that are less secure than required quality. 123 * @param quality the requested quality. 125 private void disableUnusablePreferences(final int quality) { 135 enabled = quality <= DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
netrom.h | 26 unsigned int quality; member in struct:nr_route_struct
|
meye.h | 39 unsigned char quality; member in struct:meye_params
|
/frameworks/base/graphics/java/android/graphics/ |
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) { 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);
|
/external/chromium/third_party/icu/source/i18n/ |
csr2022.cpp | 30 * @return match quality, in the range of 0-100. 39 int32_t quality; local 84 // Initial quality is based on relative proportion of recongized vs. 86 // All good: quality = 100; 87 // half or less good: quality = 0; 89 quality = (100*hits - 100*misses) / (hits + misses); 91 // Back off quality if there were too few escape sequences seen. 95 quality -= (5-(hits+shifts))*10; 98 if (quality < 0) { 99 quality = 0 [all...] |
/external/icu4c/i18n/ |
csr2022.cpp | 30 * @return match quality, in the range of 0-100. 39 int32_t quality; local 84 // Initial quality is based on relative proportion of recongized vs. 86 // All good: quality = 100; 87 // half or less good: quality = 0; 89 quality = (100*hits - 100*misses) / (hits + misses); 91 // Back off quality if there were too few escape sequences seen. 95 quality -= (5-(hits+shifts))*10; 98 if (quality < 0) { 99 quality = 0 [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
CamcorderProfileTest.java | 37 Log.v(TAG, String.format("profile: duration=%d, quality=%d, " + 42 profile.quality, 54 assertTrue(profile.quality == CamcorderProfile.QUALITY_LOW || 55 profile.quality == CamcorderProfile.QUALITY_HIGH);
|
/frameworks/base/core/java/android/app/admin/ |
IDevicePolicyManager.aidl | 28 void setPasswordQuality(in ComponentName who, int quality); 56 void setActivePasswordState(int quality, int length);
|
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 226 * <p>Quality constants are ordered so that higher values are more restrictive; 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) { [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/ |
pvgsmamrdecoderinterface.h | 147 * This value is the quality indicator. 1 (good) 0 (bad) 149 uint8_t quality; member in struct:tPVAmrDecoderExternal
|
/packages/apps/Camera/src/com/android/camera/ |
CameraSettings.java | 334 // Change jpeg quality {65,75,85} to {normal,fine,superfine} 335 String quality = pref.getString(KEY_JPEG_QUALITY, "85"); local 336 if (quality.equals("65")) { 337 quality = "normal"; 338 } else if (quality.equals("75")) { 339 quality = "fine"; 341 quality = "superfine"; 343 editor.putString(KEY_JPEG_QUALITY, quality); 354 // Just use video quality to replace it and 368 public static boolean getVideoQuality(String quality) { [all...] |
/external/speex/include/speex/ |
speex_resampler.h | 9 - Good *perceptual* quality (and not best SNR) 118 * @param quality Resampling quality between 0 and 10, where 0 has poor quality 119 * and 10 has very high quality. 126 int quality, 137 * @param quality Resampling quality between 0 and 10, where 0 has poor quality 138 * and 10 has very high quality [all...] |
/external/jpeg/ |
jcparam.c | 66 /* Set or change the 'quality' (quantization) setting, using default tables 67 * and a straight percentage-scaling quality scale. In most cases it's better 73 * The spec says that the values given produce "good" quality, and 74 * when divided by 2, "very good" quality. 106 jpeg_quality_scaling (int quality) 107 /* Convert a user-specified quality rating to a percentage scaling factor 109 * The input 'quality' factor should be 0 (terrible) to 100 (very good). 112 /* Safety limit on quality factor. Convert 0 to 1 to avoid zero divide. */ 113 if (quality <= 0) quality = 1 [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 223 int quality = MessageUtils.IMAGE_COMPRESSION_QUALITY; local 249 // In case that the image byte size is still too large reduce the quality in 250 // proportion to the desired byte size. Should the quality fall below 254 b.compress(CompressFormat.JPEG, quality, os); 257 int reducedQuality = quality * byteLimit / jpgFileSize; 259 quality = reducedQuality; 262 Log.v(TAG, "getResizedImageData: compress(2) w/ quality=" + quality); 266 b.compress(CompressFormat.JPEG, quality, os); 281 + " quality=" + quality) [all...] |
/external/speex/libspeex/ |
resample.c | 39 - Good *perceptual* quality (and not best SNR) 117 int quality; member in struct:SpeexResamplerState_ 214 /* This table maps conversion quality to internal parameters. There are two 555 st->oversample = quality_map[st->quality].oversample; 556 st->filt_len = quality_map[st->quality].base_length; 561 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; 578 st->cutoff = quality_map[st->quality].upsample_bandwidth; 597 st->sinc_table[i*st->filt_len+j] = sinc(st->cutoff,((j-(spx_int32_t)st->filt_len/2+1)-((float)i)/st->den_rate), st->filt_len, quality_map[st->quality].window_func); 603 if (st->quality>8) 619 st->sinc_table[i+4] = sinc(st->cutoff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, quality_map[st->quality].window_func) [all...] |
/frameworks/base/services/java/com/android/server/ |
DevicePolicyManagerService.java | 111 out.startTag(null, "password-quality"); 113 out.endTag(null, "password-quality"); 144 } else if ("password-quality".equals(tag)) { 366 out.attribute(null, "quality", Integer.toString(mActivePasswordQuality)); 445 parser.getAttributeValue(null, "quality")); 475 // Validate that what we stored for the password quality matches 481 Slog.w(TAG, "Active password quality 0x" 483 + " does not match actual quality 0x" 502 static void validateQualityConstant(int quality) { 503 switch (quality) { 745 int quality; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
mime_io.cpp | 533 uint8 quality, 680 if (quality) 691 if (quality)
|
/frameworks/base/media/jni/ |
android_media_MediaProfiles.cpp | 165 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) 167 LOGV("native_get_camcorder_profile: %d %d", id, 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,
|