/frameworks/base/media/java/android/media/ |
D | CamcorderProfile.java | 150 public int quality; field in CamcorderProfile 212 public static CamcorderProfile get(int quality) { in get() argument 218 return get(i, quality); in get() 263 public static CamcorderProfile get(int cameraId, int quality) { in get() argument 264 if (!((quality >= QUALITY_LIST_START && in get() 265 quality <= QUALITY_LIST_END) || in get() 266 (quality >= QUALITY_TIME_LAPSE_LIST_START && in get() 267 quality <= QUALITY_TIME_LAPSE_LIST_END))) { in get() 268 String errMessage = "Unsupported quality level: " + quality; in get() 271 return native_get_camcorder_profile(cameraId, quality); in get() [all …]
|
D | CameraProfile.java | 57 public static int getJpegEncodingQualityParameter(int quality) { in getJpegEncodingQualityParameter() argument 63 return getJpegEncodingQualityParameter(i, quality); in getJpegEncodingQualityParameter() 77 public static int getJpegEncodingQualityParameter(int cameraId, int quality) { in getJpegEncodingQualityParameter() argument 78 if (quality < QUALITY_LOW || quality > QUALITY_HIGH) { in getJpegEncodingQualityParameter() 79 throw new IllegalArgumentException("Unsupported quality level: " + quality); in getJpegEncodingQualityParameter() 87 return levels[quality]; in getJpegEncodingQualityParameter()
|
D | MediaRecorder.java | 324 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW && in setProfile() 325 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) { in setProfile()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Path.java | 69 … public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createStaticPath() argument 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); in createStaticPath() 71 Path newPath = new Path(id, rs, p, null, null, quality); in createStaticPath() 75 …public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, A… in createStaticPath() argument 79 …public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createDynamicPath() argument 83 …public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, … in createDynamicPath() argument
|
/frameworks/rs/ |
D | rsPath.cpp | 28 Allocation *vtx, Allocation *loops, float quality) in Path() argument 32 mHal.state.quality = quality; in Path() 74 RsAllocation vtx, RsAllocation loops, float quality) { in rsi_PathCreate() argument 75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality); in rsi_PathCreate()
|
D | rsPath.h | 34 float quality; member
|
/frameworks/base/media/jni/ |
D | android_media_MediaProfiles.cpp | 164 static bool isCamcorderQualityKnown(int quality) in isCamcorderQualityKnown() argument 166 return ((quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderQualityKnown() 167 quality <= CAMCORDER_QUALITY_LIST_END) || in isCamcorderQualityKnown() 168 (quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isCamcorderQualityKnown() 169 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END)); in isCamcorderQualityKnown() 173 …_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) in android_media_MediaProfiles_native_get_camcorder_profile() argument 175 ALOGV("native_get_camcorder_profile: %d %d", id, quality); in android_media_MediaProfiles_native_get_camcorder_profile() 176 if (!isCamcorderQualityKnown(quality)) { in android_media_MediaProfiles_native_get_camcorder_profile() 181 camcorder_quality q = static_cast<camcorder_quality>(quality); in android_media_MediaProfiles_native_get_camcorder_profile() 208 quality, in android_media_MediaProfiles_native_get_camcorder_profile() [all …]
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 319 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local 320 CHECK(quality != -1); in createCamcorderProfile() 332 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile() 353 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local 354 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel() 363 levels->mLevels.add(quality); in addImageEncodingQualityLevel() 459 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument 460 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile() 461 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile() 464 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { in compressToJpeg() argument 130 if (quality < 0 || quality > 100) { in compressToJpeg() 142 rectangle.height(), offsets, mStrides, quality, stream, in compressToJpeg() 239 int quality, OutputStream stream, byte[] tempStorage); in nativeCompressToJpeg() argument
|
D | Bitmap.java | 763 public boolean compress(CompressFormat format, int quality, OutputStream stream) { in compress() argument 769 if (quality < 0 || quality > 100) { in compress() 772 return nativeCompress(mNativeBitmap, format.nativeInt, quality, in compress() 1226 int quality, OutputStream stream, in nativeCompress() argument
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 105 camcorder_quality quality) const; 111 bool hasCamcorderProfile(int cameraId, camcorder_quality quality) const; 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);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 362 int quality = in getActivePasswordQuality() local 364 switch (quality) { in getActivePasswordQuality() 555 public void saveLockPassword(String password, int quality) { in saveLockPassword() argument 556 this.saveLockPassword(password, quality, false); in saveLockPassword() 567 public void saveLockPassword(String password, int quality, boolean isFallback) { in saveLockPassword() argument 584 setLong(PASSWORD_TYPE_KEY, Math.max(quality, computedQuality)); in saveLockPassword() 608 dpm.setActivePasswordState(Math.max(quality, computedQuality), in saveLockPassword() 620 setLong(PASSWORD_TYPE_ALTERNATE_KEY, Math.max(quality, computedQuality)); in saveLockPassword() 666 int quality = in getKeyguardStoredPasswordQuality() local 670 if (quality == DevicePolicyManager.PASSWORD_QUALITY_BIOMETRIC_WEAK) { in getKeyguardStoredPasswordQuality() [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioResampler.cpp | 84 int32_t sampleRate, int quality) { in create() argument 91 quality = atoi(value); in create() 92 ALOGD("forcing AudioResampler quality to %d", quality); in create() 95 if (quality == DEFAULT) in create() 96 quality = LOW_QUALITY; in create() 98 switch (quality) { in create()
|
D | AudioResampler.h | 45 int32_t sampleRate, int quality=DEFAULT);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | mime_io.cpp | 533 uint8 quality, in mime_unsorting() argument 680 if (quality) in mime_unsorting() 691 if (quality) in mime_unsorting()
|
/frameworks/base/services/java/com/android/server/ |
D | DevicePolicyManagerService.java | 835 static void validateQualityConstant(int quality) { in validateQualityConstant() argument 836 switch (quality) { in validateQualityConstant() 847 + Integer.toHexString(quality)); in validateQualityConstant() 1020 public void setPasswordQuality(ComponentName who, int quality) { in setPasswordQuality() argument 1021 validateQualityConstant(quality); in setPasswordQuality() 1029 if (ap.passwordQuality != quality) { in setPasswordQuality() 1030 ap.passwordQuality = quality; in setPasswordQuality() 1475 int quality; in resetPassword() local 1481 quality = getPasswordQuality(null); in resetPassword() 1482 if (quality != DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED) { in resetPassword() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 28 void setPasswordQuality(in ComponentName who, int quality); in setPasswordQuality() argument 93 void setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, in setActivePasswordState() argument
|
D | DevicePolicyManager.java | 289 public void setPasswordQuality(ComponentName admin, int quality) { in setPasswordQuality() argument 292 mService.setPasswordQuality(admin, quality); in setPasswordQuality() 811 public int getPasswordMaximumLength(int quality) { in getPasswordMaximumLength() argument 1341 public void setActivePasswordState(int quality, int length, int letters, int uppercase, in setActivePasswordState() argument 1345 mService.setActivePasswordState(quality, length, letters, uppercase, lowercase, in setActivePasswordState()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PasswordUnlockScreen.java | 106 final int quality = lockPatternUtils.getKeyguardStoredPasswordQuality(); in PasswordUnlockScreen() local 107 mIsAlpha = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC == quality in PasswordUnlockScreen() 108 || DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC == quality in PasswordUnlockScreen() 109 || DevicePolicyManager.PASSWORD_QUALITY_COMPLEX == quality; in PasswordUnlockScreen()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1101 camcorder_quality quality = CAMCORDER_QUALITY_LOW; in setDefaultProfileIfNecessary() local 1104 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary() 1107 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary() 1110 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary() 1113 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary() 1116 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary() 1119 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary() 1122 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary() 1125 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary() 1128 "aud.bps", mCameraId, quality); in setDefaultProfileIfNecessary() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/ |
D | pvgsmamrdecoderinterface.h | 149 uint8_t quality; member
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
D | VideoEditorResampler.h | 26 M4OSA_Int32 sampleRate, M4OSA_Int32 quality);
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.h | 42 int height, int quality);
|
D | YuvToJpegEncoder.cpp | 51 int width, int height, int quality) { in setJpegCompressStruct() argument 58 jpeg_set_quality(cinfo, quality, TRUE); in setJpegCompressStruct()
|
/frameworks/base/docs/html/distribute/googleplay/strategies/ |
D | app-quality.jd | 23 …quality app will translate to higher user ratings, generally better rankings, more downloads, and … 25 …quality app is obvious. However, it's not always clear how to make an app "better". The path to im… 29 …ren't doing so already, it's a good idea to start thinking of your app's quality as it relates to … 116 One particular detail to pay close attention to is your app's icon quality and consistency. Make su…
|