Searched refs:quality (Results 1 - 25 of 37) sorted by last modified time

12

/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiDevice.java696 * Default scale of 1.0f (original size) and 90% quality is used
713 * @param quality quality of the PNG compression; range: 0-100
716 public boolean takeScreenshot(File storePath, float scale, int quality) { argument
768 screenShot.compress(Bitmap.CompressFormat.PNG, quality, fos);
/frameworks/rs/
H A Drs.spec481 param float quality
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/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java256 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
/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/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...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java279 * how pixels are stored. This affects the quality (color depth) as
321 * @deprecated Because of the poor quality of this configuration,
333 * quality. It should be used whenever possible.
859 * @param quality Hint to the compressor, 0-100. 0 meaning compress for
860 * small size, 100 meaning compress for max quality. Some
862 * quality setting
866 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
872 if (quality < 0 || quality > 100) {
873 throw new IllegalArgumentException("quality mus
1401 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
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/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/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/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/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/audioflinger/
H A DAudioMixer.cpp543 AudioResampler::src_quality quality; local
544 // force lowest quality level resampler if use case isn't music or video
546 // quality level based on the initial ratio, but that could change later.
550 quality = AudioResampler::LOW_QUALITY;
552 quality = AudioResampler::DEFAULT_QUALITY;
558 devSampleRate, quality);
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.cpp79 // for high quality resampler, the parameters for coefficients are compile-time constants
88 // for very high quality resampler, the parameters are load-time constants
203 int inChannelCount, int32_t sampleRate, src_quality quality)
204 : AudioResampler(bitDepth, inChannelCount, sampleRate, quality),
228 mConstants = (quality == VERY_HIGH_QUALITY) ? &veryHighQualityConstants : &highQualityConstants;
202 AudioResamplerSinc(int bitDepth, int inChannelCount, int32_t sampleRate, src_quality quality) argument
H A DAudioResamplerSinc.h38 src_quality quality = HIGH_QUALITY);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DBurstCapture.cpp78 int quality)
76 jpegEncode( CpuConsumer::LockedBuffer *imgBuffer, int quality) argument
H A DBurstCapture.h59 int quality);
/frameworks/base/core/java/android/app/admin/
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...]
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,
/frameworks/base/core/java/android/hardware/
H A DCamera.java1674 private static final String KEY_JPEG_THUMBNAIL_QUALITY = "jpeg-thumbnail-quality";
1675 private static final String KEY_JPEG_QUALITY = "jpeg-quality";
2265 * Sets the quality of the EXIF thumbnail in Jpeg picture.
2267 * @param quality the JPEG quality of the EXIF thumbnail. The range is 1
2270 public void setJpegThumbnailQuality(int quality) { argument
2271 set(KEY_JPEG_THUMBNAIL_QUALITY, quality);
2275 * Returns the quality setting for the EXIF thumbnail in Jpeg picture.
2277 * @return the JPEG quality setting of the EXIF thumbnail.
2284 * Sets Jpeg quality o
2289 setJpegQuality(int quality) argument
[all...]

Completed in 234 milliseconds

12