/frameworks/base/media/java/android/media/ |
H A D | 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) { argument 63 return getJpegEncodingQualityParameter(i, quality); 77 getJpegEncodingQualityParameter(int cameraId, int quality) argument [all...] |
H A D | CamcorderProfile.java | 98 // Start and end of quality list 103 * Time lapse quality level corresponding to the lowest available resolution. 108 * Time lapse quality level corresponding to the highest available resolution. 113 * Time lapse quality level corresponding to the qcif (176 x 144) resolution. 118 * Time lapse quality level corresponding to the cif (352 x 288) resolution. 123 * Time lapse quality level corresponding to the 480p (720 x 480) resolution. 128 * Time lapse quality level corresponding to the 720p (1280 x 720) resolution. 133 * Time lapse quality level corresponding to the 1080p (1920 x 1088) resolution. 138 * Time lapse quality level corresponding to the QVGA (320 x 240) resolution. 143 * Time lapse quality leve 218 public int quality; field in class:CamcorderProfile 325 get(int quality) argument 388 get(int cameraId, int quality) argument 424 hasProfile(int quality) argument 460 hasProfile(int cameraId, int quality) argument 470 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 499 native_get_camcorder_profile( int cameraId, int quality) argument 501 native_has_camcorder_profile( int cameraId, int quality) argument [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | TargetRegistry.cpp | 39 unsigned int quality = (*target)->getTripleQuality(triple); local 40 if (quality > 0) { 41 if (best == NULL || highest < quality) { 42 highest = quality; 45 } else if (highest == quality) {
|
/frameworks/av/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_wb *st) argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 108 public boolean takeScreenshot(File storePath, int quality) { argument 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
|
H A D | UiDevice.java | 824 * Default scale of 1.0f (original size) and 90% quality is used 843 * @param quality quality of the PNG compression; range: 0-100 847 public boolean takeScreenshot(File storePath, float scale, int quality) { argument 848 Tracer.trace(storePath, scale, quality); 849 return getAutomatorBridge().takeScreenshot(storePath, quality);
|
/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
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 241 public static byte[] compressToBytes(Bitmap bitmap, int quality) { argument 243 bitmap.compress(CompressFormat.JPEG, quality, baos);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.cpp | 82 bool AudioResampler::qualityIsSupported(src_quality quality) argument 84 switch (quality) { 107 if (property_get("af.resampler.quality", value, NULL) > 0) { 112 ALOGD("forcing AudioResampler quality to %d", defaultQuality); 120 uint32_t AudioResampler::qualityMHz(src_quality quality) argument 122 switch (quality) { 147 int32_t sampleRate, src_quality quality) { 150 if (quality == DEFAULT_QUALITY) { 151 // read the resampler default quality property the first time it is needed 156 quality 146 create(audio_format_t format, int inChannelCount, int32_t sampleRate, src_quality quality) argument 260 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality) argument [all...] |
H A D | test-resample.cpp | 49 fprintf(stderr," -q resampler quality\n"); 50 fprintf(stderr," dq : default quality\n"); 51 fprintf(stderr," lq : low quality\n"); 52 fprintf(stderr," mq : medium quality\n"); 53 fprintf(stderr," hq : high quality\n"); 54 fprintf(stderr," vhq : very high quality\n"); 55 fprintf(stderr," dlq : dynamic low quality\n"); 56 fprintf(stderr," dmq : dynamic medium quality\n"); 57 fprintf(stderr," dhq : dynamic high quality\n"); 112 AudioResampler::src_quality quality local [all...] |
H A D | AudioResamplerDyn.cpp | 167 int inChannelCount, int32_t sampleRate, src_quality quality) 168 : AudioResampler(inChannelCount, sampleRate, quality), 166 AudioResamplerDyn( int inChannelCount, int32_t sampleRate, src_quality quality) argument
|
H A D | AudioResamplerSinc.cpp | 87 // for high quality resampler, the parameters for coefficients are compile-time constants 96 // for very high quality resampler, the parameters are load-time constants 204 int inChannelCount, int32_t sampleRate, src_quality quality) 205 : AudioResampler(inChannelCount, sampleRate, quality), 232 mConstants = (quality == VERY_HIGH_QUALITY) ? 203 AudioResamplerSinc( int inChannelCount, int32_t sampleRate, src_quality quality) argument
|
H A D | AudioMixer.cpp | 767 AudioResampler::src_quality quality; local 768 // force lowest quality level resampler if use case isn't music or video 770 // quality level based on the initial ratio, but that could change later. 773 quality = AudioResampler::DEFAULT_QUALITY; 775 quality = AudioResampler::DYN_LOW_QUALITY; 783 " format(%#x) channels(%d) devSampleRate(%u) quality(%d)\n", 784 mMixerInFormat, resamplerChannelCount, devSampleRate, quality); 788 devSampleRate, quality);
|
/frameworks/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 74 enum android::AudioResampler::src_quality quality) 98 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); 116 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); 166 enum android::AudioResampler::src_quality quality) 186 channels, outputFreq, quality); 255 // all of these work except low quality 272 // only dynamic quality 285 // only dynamic quality 72 testBufferIncrement(size_t channels, bool useFloat, unsigned inputFreq, unsigned outputFreq, enum android::AudioResampler::src_quality quality) argument 163 testStopbandDownconversion(size_t channels, unsigned inputFreq, unsigned outputFreq, unsigned passband, unsigned stopband, enum android::AudioResampler::src_quality quality) argument
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 33 /** Very low, but still intelligible quality of speech synthesis */ 36 /** Low, not human-like quality of speech synthesis */ 39 /** Normal quality of speech synthesis */ 42 /** High, human-like quality of speech synthesis */ 45 /** Very high, almost human-indistinguishable quality of speech synthesis */ 72 int quality, 78 this.mQuality = quality; 130 * @return The voice's quality (higher is better) 190 .append(", quality: ").append(mQuality) 70 Voice(String name, Locale locale, int quality, int latency, boolean requiresNetworkConnection, Set<String> features) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 53 int width, int height, int quality) { 60 jpeg_set_quality(cinfo, quality, TRUE); 52 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 27 * "Unknown" video quality. 32 * "High" video quality. 37 * "Medium" video quality. 42 * "Low" video quality. 47 * Use default video quality. 118 * @param quality The video quality. 120 public VideoProfile(int videoState, int quality) { argument 122 mQuality = quality; 138 * The desired video quality fo [all...] |
/frameworks/base/location/java/android/location/ |
H A D | LocationRequest.java | 28 * A data object that contains quality of service parameters for requests 31 * <p>LocationRequest objects are used to request a quality of service 67 * at least swap the request to a larger interval and lower quality. 177 int quality; 179 quality = POWER_NONE; 181 quality = ACCURACY_FINE; 183 quality = POWER_LOW; 188 .setQuality(quality) 203 int quality; 206 quality 269 setQuality(int quality) argument 562 checkQuality(int quality) argument 631 qualityToString(int quality) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 166 static bool isCamcorderQualityKnown(int quality) argument 168 return ((quality >= CAMCORDER_QUALITY_LIST_START && 169 quality <= CAMCORDER_QUALITY_LIST_END) || 170 (quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && 171 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END) || 172 (quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && 173 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END)); 178 jint quality) 180 ALOGV("native_get_camcorder_profile: %d %d", id, quality); 181 if (!isCamcorderQualityKnown(quality)) { 177 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject , jint id, jint quality) argument 227 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv* , jobject , jint id, jint quality) argument [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsConfig.java | 456 * Gets the value for IMS feature item for video call quality. 473 * Sets the value for IMS feature item video quality. 475 * @param quality, defines the value of video quality. 481 public void setVideoQuality(int quality, ImsConfigListener listener) throws ImsException { argument 483 miConfig.setVideoQuality(quality, listener);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 302 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 302 * Sets the JPEG compression quality. 304 * @param quality The quality for JPEG. 306 public void setPhotoJpegCompressionQuality(int quality) { argument 307 if (quality < MIN_JPEG_COMPRESSION_QUALITY || quality > MAX_JPEG_COMPRESSION_QUALITY) { 308 Log.w(TAG, "Ignoring JPEG quality that falls outside the expected range"); 312 mJpegCompressQuality = (byte) quality;
|
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 319 CHECK(!strcmp("quality", atts[0]) && 325 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); local 326 CHECK(quality != -1); 338 profile->mQuality = static_cast<camcorder_quality>(quality); 358 CHECK(!strcmp("quality", atts[0])); 359 int quality = atoi(atts[1]); local 360 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); 369 levels->mLevels.add(quality); 425 static bool isCamcorderProfile(camcorder_quality quality) { argument 430 isTimelapseProfile(camcorder_quality quality) argument 435 isHighSpeedProfile(camcorder_quality quality) argument 478 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; local 638 createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) argument 655 createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) argument 692 createDefaultCamcorderQcifProfile(camcorder_quality quality) argument 711 createDefaultCamcorderCifProfile(camcorder_quality quality) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 423 int quality = getKeyguardStoredPasswordQuality(userId); 425 if (isLockPasswordEnabled(quality, userId)) { 426 // Quality is a password and a password exists. Return the quality. 427 return quality; 430 if (isLockPatternEnabled(quality, userId)) { 431 // Quality is a pattern and a pattern exists. Return the quality. 432 return quality; 573 * Compute the password quality from the given password string. 693 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)} 696 public void saveLockPassword(String password, String savedPassword, int quality, argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1245 camcorder_quality quality = CAMCORDER_QUALITY_LOW; local 1248 "duration", mCameraId, quality) * 1000000LL; 1251 "file.format", mCameraId, quality); 1254 "vid.codec", mCameraId, quality); 1257 "vid.bps", mCameraId, quality); 1260 "vid.fps", mCameraId, quality); 1263 "vid.width", mCameraId, quality); 1266 "vid.height", mCameraId, quality); 1269 "aud.codec", mCameraId, quality); 1272 "aud.bps", mCameraId, quality); [all...] |