/frameworks/base/media/java/android/media/ |
H A D | CamcorderProfile.java | 93 // Start and end of quality list 98 * Time lapse quality level corresponding to the lowest available resolution. 103 * Time lapse quality level corresponding to the highest available resolution. 108 * Time lapse quality level corresponding to the qcif (176 x 144) resolution. 113 * Time lapse quality level corresponding to the cif (352 x 288) resolution. 118 * Time lapse quality level corresponding to the 480p (720 x 480) resolution. 123 * Time lapse quality level corresponding to the 720p (1280 x 720) resolution. 128 * Time lapse quality level corresponding to the 1080p (1920 x 1088) resolution. 133 * Time lapse quality level corresponding to the QVGA (320 x 240) resolution. 137 // Start and end of timelapse quality lis 150 public int quality; field in class:CamcorderProfile 212 get(int quality) argument 263 get(int cameraId, int quality) argument 279 hasProfile(int quality) argument 297 hasProfile(int cameraId, int quality) argument 307 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 336 native_get_camcorder_profile( int cameraId, int quality) argument 338 native_has_camcorder_profile( int cameraId, int quality) argument [all...] |
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 | MediaRecorder.java | 324 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW && 325 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) {
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Path.java | 69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); 71 Path newPath = new Path(id, rs, p, null, null, quality); 75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument 79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument 83 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
|
/frameworks/rs/ |
H A D | rsPath.cpp | 28 Allocation *vtx, Allocation *loops, float quality) 32 mHal.state.quality = quality; 74 RsAllocation vtx, RsAllocation loops, float quality) { 75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality); 27 Path(Context *rsc, RsPathPrimitive pp, bool isStatic, Allocation *vtx, Allocation *loops, float quality) argument 73 rsi_PathCreate(Context *rsc, RsPathPrimitive pp, bool isStatic, RsAllocation vtx, RsAllocation loops, float quality) argument
|
H A D | rsPath.h | 34 float quality; member in struct:android::renderscript::Path::__anon1560::State
|
/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 | 275 * how pixels are stored. This affects the quality (color depth) as 317 * @deprecated Because of the poor quality of this configuration, 329 * quality. It should be used whenever possible. 756 * @param quality Hint to the compressor, 0-100. 0 meaning compress for 757 * small size, 100 meaning compress for max quality. Some 759 * quality setting 763 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument 769 if (quality < 0 || quality > 100) { 770 throw new IllegalArgumentException("quality mus 1225 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | VideoEditorResampler.h | 26 M4OSA_Int32 sampleRate, M4OSA_Int32 quality);
|
/frameworks/av/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/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 164 static bool isCamcorderQualityKnown(int quality) argument 166 return ((quality >= CAMCORDER_QUALITY_LIST_START && 167 quality <= CAMCORDER_QUALITY_LIST_END) || 168 (quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && 169 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END)); 173 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument 175 ALOGV("native_get_camcorder_profile: %d %d", id, quality); 176 if (!isCamcorderQualityKnown(quality)) { 177 jniThrowException(env, "java/lang/RuntimeException", "Unknown camcorder profile quality"); 181 camcorder_quality q = static_cast<camcorder_quality>(quality); 222 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 314 CHECK(!strcmp("quality", atts[0]) && 319 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); local 320 CHECK(quality != -1); 332 profile->mQuality = static_cast<camcorder_quality>(quality); 352 CHECK(!strcmp("quality", atts[0])); 353 int quality = atoi(atts[1]); local 354 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); 363 levels->mLevels.add(quality); 459 static bool isCamcorderProfile(camcorder_quality quality) { argument 464 isTimelapseProfile(camcorder_quality quality) argument 507 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; local 665 createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) argument 682 createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) argument 715 createDefaultCamcorderQcifProfile(camcorder_quality quality) argument 734 createDefaultCamcorderCifProfile(camcorder_quality quality) argument [all...] |
/frameworks/av/include/media/ |
H A D | MediaProfiles.h | 89 * the given quality level, or -1 if error. 105 camcorder_quality quality) const; 108 * Returns true if a profile for the given camera at the given quality exists, 111 bool hasCamcorderProfile(int cameraId, camcorder_quality quality) const; 195 * Returns the number of image encoding quality levels supported. 384 int getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const; 427 static CamcorderProfile *createDefaultCamcorderQcifProfile(camcorder_quality quality); 428 static CamcorderProfile *createDefaultCamcorderCifProfile(camcorder_quality quality); 436 static CamcorderProfile *createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality); 437 static CamcorderProfile *createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality); [all...] |
/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/av/services/audioflinger/ |
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);
|
H A D | AudioResampler.cpp | 84 int32_t sampleRate, int quality) { 86 // can only create low quality resample now 90 if (property_get("af.resampler.quality", value, 0)) { 91 quality = atoi(value); 92 ALOGD("forcing AudioResampler quality to %d", quality); 95 if (quality == DEFAULT) 96 quality = LOW_QUALITY; 98 switch (quality) { 83 create(int bitDepth, int inChannelCount, int32_t sampleRate, int quality) argument
|
/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 28 void setPasswordQuality(in ComponentName who, int quality); 93 void setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase,
|
H A D | DevicePolicyManager.java | 210 * for the password. Note that quality constants are ordered so that higher 219 * Note that quality constants are ordered so that higher values are more restrictive. 225 * of password, but doesn't care what it is. Note that quality constants 232 * password containing at least numeric characters. Note that quality 240 * Note that quality constants are ordered so that higher values are more 248 * alphabetic (or other symbol) characters. Note that quality constants are 256 * symbol, by default. With this password quality, passwords can be 260 * that quality constants are ordered so that higher values are more 275 * thus the highest requested quality constant (between the policy set here, 284 * @param quality Th 289 setPasswordQuality(ComponentName admin, int quality) argument 811 getPasswordMaximumLength(int quality) argument 1341 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter) argument [all...] |
/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
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 362 int quality = 364 switch (quality) { 501 * Compute the password quality from the given password string. 553 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)} 555 public void saveLockPassword(String password, int quality) { argument 556 this.saveLockPassword(password, quality, false); 564 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)} 567 public void saveLockPassword(String password, int quality, boolean isFallback) { argument 584 setLong(PASSWORD_TYPE_KEY, Math.max(quality, computedQuality)); 608 dpm.setActivePasswordState(Math.max(quality, computedQualit [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PasswordUnlockScreen.java | 106 final int quality = lockPatternUtils.getKeyguardStoredPasswordQuality(); 107 mIsAlpha = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC == quality 108 || DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC == quality 109 || DevicePolicyManager.PASSWORD_QUALITY_COMPLEX == quality;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1101 camcorder_quality quality = CAMCORDER_QUALITY_LOW; local 1104 "duration", mCameraId, quality) * 1000000LL; 1107 "file.format", mCameraId, quality); 1110 "vid.codec", mCameraId, quality); 1113 "vid.bps", mCameraId, quality); 1116 "vid.fps", mCameraId, quality); 1119 "vid.width", mCameraId, quality); 1122 "vid.height", mCameraId, quality); 1125 "aud.codec", mCameraId, quality); 1128 "aud.bps", mCameraId, quality); [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | DevicePolicyManagerService.java | 199 out.startTag(null, "password-quality"); 201 out.endTag(null, "password-quality"); 302 } else if ("password-quality".equals(tag)) { 682 out.attribute(null, "quality", Integer.toString(mActivePasswordQuality)); 768 parser.getAttributeValue(null, "quality")); 810 // Validate that what we stored for the password quality matches 816 Slog.w(TAG, "Active password quality 0x" 818 + " does not match actual quality 0x" 835 static void validateQualityConstant(int quality) { argument 836 switch (quality) { 1020 setPasswordQuality(ComponentName who, int quality) argument 1748 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter) argument [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | VideoEditorResampler.cpp | 79 M4OSA_Int32 sampleRate, M4OSA_Int32 quality) { 78 LVAudioResamplerCreate(M4OSA_Int32 bitDepth, M4OSA_Int32 inChannelCount, M4OSA_Int32 sampleRate, M4OSA_Int32 quality) argument
|