Searched defs:quality (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/media/java/android/media/
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 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...]
/frameworks/rs/
H A DrsPath.h34 float quality; member in struct:android::renderscript::Path::__anon1647::State
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
/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/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/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/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java242 public static byte[] compressToBytes(Bitmap bitmap, int quality) { argument
244 bitmap.compress(CompressFormat.JPEG, quality, baos);
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java108 public boolean takeScreenshot(File storePath, int quality) { argument
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
H A DUiDevice.java824 * 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/uiautomator/src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java108 public boolean takeScreenshot(File storePath, int quality) { argument
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos);
H A DUiDevice.java829 * Default scale of 1.0f (original size) and 90% quality is used
848 * @param quality quality of the PNG compression; range: 0-100
852 public boolean takeScreenshot(File storePath, float scale, int quality) { argument
853 Tracer.trace(storePath, scale, quality);
854 return getAutomatorBridge().takeScreenshot(storePath, quality);
/frameworks/av/libvideoeditor/vss/src/
H A DVideoEditorResampler.cpp79 M4OSA_Int32 sampleRate, M4OSA_Int32 quality) {
78 LVAudioResamplerCreate(M4OSA_Int32 bitDepth, M4OSA_Int32 inChannelCount, M4OSA_Int32 sampleRate, M4OSA_Int32 quality) argument
/frameworks/av/services/audioflinger/
H A DAudioResampler.cpp80 bool AudioResampler::qualityIsSupported(src_quality quality) argument
82 switch (quality) {
102 if (property_get("af.resampler.quality", value, NULL) > 0) {
107 ALOGD("forcing AudioResampler quality to %d", defaultQuality);
115 uint32_t AudioResampler::qualityMHz(src_quality quality) argument
117 switch (quality) {
136 int32_t sampleRate, src_quality quality) {
139 if (quality == DEFAULT_QUALITY) {
140 // read the resampler default quality property the first time it is needed
145 quality
135 create(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
210 AudioResampler(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
234 src_quality quality = getQuality(); local
[all...]
H A Dtest-resample.cpp70 fprintf(stderr," -q resampler quality\n");
71 fprintf(stderr," dq : default quality\n");
72 fprintf(stderr," lq : low quality\n");
73 fprintf(stderr," mq : medium quality\n");
74 fprintf(stderr," hq : high quality\n");
75 fprintf(stderr," vhq : very high quality\n");
89 AudioResampler::src_quality quality = AudioResampler::DEFAULT_QUALITY; local
105 quality = AudioResampler::DEFAULT_QUALITY;
107 quality = AudioResampler::LOW_QUALITY;
109 quality
[all...]
H A DAudioResamplerSinc.cpp336 // for high quality resampler, the parameters for coefficients are compile-time constants
345 // for very high quality resampler, the parameters are load-time constants
453 int inChannelCount, int32_t sampleRate, src_quality quality)
454 : AudioResampler(bitDepth, inChannelCount, sampleRate, quality),
481 mConstants = (quality == VERY_HIGH_QUALITY) ?
452 AudioResamplerSinc(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
H A DAudioMixer.cpp555 AudioResampler::src_quality quality; local
556 // force lowest quality level resampler if use case isn't music or video
558 // quality level based on the initial ratio, but that could change later.
562 quality = AudioResampler::LOW_QUALITY;
564 quality = AudioResampler::DEFAULT_QUALITY;
570 devSampleRate, quality);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp51 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
H A DBitmap.cpp384 int format, int quality,
417 success = encoder->encodeStream(strm, *bitmap, quality);
383 Bitmap_compress(JNIEnv* env, jobject clazz, SkBitmap* bitmap, int format, int quality, jobject jstream, jbyteArray jstorage) argument
/frameworks/base/location/java/android/location/
H A DLocationRequest.java27 * A data object that contains quality of service parameters for requests
30 * <p>LocationRequest objects are used to request a quality of service
66 * at least swap the request to a larger interval and lower quality.
174 int quality;
176 quality = POWER_NONE;
178 quality = ACCURACY_FINE;
180 quality = POWER_LOW;
185 .setQuality(quality)
199 int quality;
202 quality
264 setQuality(int quality) argument
549 checkQuality(int quality) argument
618 qualityToString(int quality) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java317 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
/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/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/base/core/java/android/app/admin/
H A DDevicePolicyManager.java220 * for the password. Note that quality constants are ordered so that higher
229 * Note that quality constants are ordered so that higher values are more restrictive.
235 * of password, but doesn't care what it is. Note that quality constants
242 * password containing at least numeric characters. Note that quality
250 * Note that quality constants are ordered so that higher values are more
258 * alphabetic (or other symbol) characters. Note that quality constants are
266 * symbol, by default. With this password quality, passwords can be
270 * that quality constants are ordered so that higher values are more
285 * thus the highest requested quality constant (between the policy set here,
294 * @param quality Th
299 setPasswordQuality(ComponentName admin, int quality) argument
866 getPasswordMaximumLength(int quality) argument
1550 setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java394 int quality =
396 switch (quality) {
542 * Compute the password quality from the given password string.
595 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)}
597 public void saveLockPassword(String password, int quality) { argument
598 this.saveLockPassword(password, quality, false, getCurrentOrCallingUserId());
606 * @param quality {@see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)}
609 public void saveLockPassword(String password, int quality, boolean isFallback) { argument
610 saveLockPassword(password, quality, isFallback, getCurrentOrCallingUserId());
618 * @param quality {
622 saveLockPassword(String password, int quality, boolean isFallback, int userHandle) argument
[all...]

Completed in 1903 milliseconds

12