Searched refs:quality (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/media/java/android/media/
H A DCamcorderProfile.java93 // 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 DCameraProfile.java27 * 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 DMediaRecorder.java335 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW &&
336 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) {
/frameworks/base/graphics/java/android/renderscript/
H A DPath.java69 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 DrsPath.cpp28 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 DrsPath.h34 float quality; member in struct:android::renderscript::Path::__anon1552::State
/frameworks/base/location/java/android/location/
H A DLocationRequest.java26 * A data object that contains quality of service parameters for requests
29 * <p>LocationRequest objects are used to request a quality of service
65 * at least swap the request to a larger interval and lower quality.
171 int quality;
173 quality = POWER_NONE;
175 quality = ACCURACY_FINE;
177 quality = POWER_LOW;
182 .setQuality(quality)
196 int quality;
199 quality
259 setQuality(int quality) argument
502 checkQuality(int quality) argument
566 qualityToString(int quality) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResampler.cpp80 bool AudioResampler::qualityIsSupported(src_quality quality) argument
82 switch (quality) {
104 if (property_get("af.resampler.quality", value, NULL) > 0) {
109 ALOGD("forcing AudioResampler quality to %d", defaultQuality);
117 uint32_t AudioResampler::qualityMHz(src_quality quality) argument
119 switch (quality) {
138 int32_t sampleRate, src_quality quality) {
141 if (quality == DEFAULT_QUALITY) {
142 // read the resampler default quality property the first time it is needed
147 quality
137 create(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
214 AudioResampler(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
238 src_quality quality = getQuality(); local
[all...]
H A DAudioResampler.h30 // Determines quality of SRC.
34 // NOTE: high quality SRC will only be supported for
46 int32_t sampleRate, src_quality quality=DEFAULT_QUALITY);
77 AudioResampler(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality);
104 // Return 'true' if the quality level is supported without explicit request
105 static bool qualityIsSupported(src_quality quality);
112 static uint32_t qualityMHz(src_quality quality);
H A DAudioResamplerSinc.h38 src_quality quality = HIGH_QUALITY);
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java116 * @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/av/libvideoeditor/vss/common/inc/
H A DVideoEditorResampler.h26 M4OSA_Int32 sampleRate, M4OSA_Int32 quality);
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp164 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/services/camera/libcameraservice/camera2/
H A DBurstCapture.h59 int quality);
H A DBurstCapture.cpp78 int quality)
76 jpegEncode( CpuConsumer::LockedBuffer *imgBuffer, int quality) argument
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp314 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 DMediaProfiles.h89 * 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 Dmime_io.cpp533 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/core/java/com/android/internal/widget/
H A DLockPatternUtils.java404 int quality =
406 switch (quality) {
543 * Compute the password quality from the given password string.
596 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)}
598 public void saveLockPassword(String password, int quality) { argument
599 this.saveLockPassword(password, quality, false, getCurrentOrCallingUserId());
607 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)}
610 public void saveLockPassword(String password, int quality, boolean isFallback) { argument
611 saveLockPassword(password, quality, isFallback, getCurrentOrCallingUserId());
619 * @param quality {
623 saveLockPassword(String password, int quality, boolean isFallback, int userHandle) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.h30 * @param jpegQuality Picture quality in [0, 100].
42 int height, int quality);
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl28 void setPasswordQuality(in ComponentName who, int quality, int userHandle);
96 void setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase,
H A DDevicePolicyManager.java213 * for the password. Note that quality constants are ordered so that higher
222 * Note that quality constants are ordered so that higher values are more restrictive.
228 * of password, but doesn't care what it is. Note that quality constants
235 * password containing at least numeric characters. Note that quality
243 * Note that quality constants are ordered so that higher values are more
251 * alphabetic (or other symbol) characters. Note that quality constants are
259 * symbol, by default. With this password quality, passwords can be
263 * that quality constants are ordered so that higher values are more
278 * thus the highest requested quality constant (between the policy set here,
287 * @param quality Th
292 setPasswordQuality(ComponentName admin, int quality) argument
859 getPasswordMaximumLength(int quality) argument
1479 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DPasswordUnlockScreen.java106 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 DStagefrightRecorder.cpp1101 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 DDevicePolicyManagerService.java243 out.startTag(null, "password-quality");
245 out.endTag(null, "password-quality");
351 } else if ("password-quality".equals(tag)) {
776 out.attribute(null, "quality", Integer.toString(policy.mActivePasswordQuality));
873 parser.getAttributeValue(null, "quality"));
915 // Validate that what we stored for the password quality matches
921 Slog.w(TAG, "Active password quality 0x"
923 + " does not match actual quality 0x"
940 static void validateQualityConstant(int quality) { argument
941 switch (quality) {
1134 setPasswordQuality(ComponentName who, int quality, int userHandle) argument
1929 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle) argument
[all...]

Completed in 128 milliseconds

12