Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/base/media/java/android/media/
DCamcorderProfile.java199 public int quality; field in CamcorderProfile
261 public static CamcorderProfile get(int quality) { in get() argument
267 return get(i, quality); in get()
324 public static CamcorderProfile get(int cameraId, int quality) { in get() argument
325 if (!((quality >= QUALITY_LIST_START && in get()
326 quality <= QUALITY_LIST_END) || in get()
327 (quality >= QUALITY_TIME_LAPSE_LIST_START && in get()
328 quality <= QUALITY_TIME_LAPSE_LIST_END) || in get()
329 (quality >= QUALITY_HIGH_SPEED_LIST_START && in get()
330 quality <= QUALITY_HIGH_SPEED_LIST_END))) { in get()
[all …]
DCameraProfile.java57 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()
/frameworks/av/services/audioflinger/
DAudioResampler.cpp85 bool AudioResampler::qualityIsSupported(src_quality quality) in qualityIsSupported() argument
87 switch (quality) { in qualityIsSupported()
123 uint32_t AudioResampler::qualityMHz(src_quality quality) in qualityMHz() argument
125 switch (quality) { in qualityMHz()
150 int32_t sampleRate, src_quality quality) { in create() argument
153 if (quality == DEFAULT_QUALITY) { in create()
159 quality = defaultQuality; in create()
171 if (quality == DEFAULT_QUALITY) { in create()
172 quality = DYN_MED_QUALITY; in create()
178 uint32_t deltaMHz = qualityMHz(quality); in create()
[all …]
Dtest-resample.cpp112 AudioResampler::src_quality quality = AudioResampler::DEFAULT_QUALITY; in main() local
136 quality = AudioResampler::DEFAULT_QUALITY; in main()
138 quality = AudioResampler::LOW_QUALITY; in main()
140 quality = AudioResampler::MED_QUALITY; in main()
142 quality = AudioResampler::HIGH_QUALITY; in main()
144 quality = AudioResampler::VERY_HIGH_QUALITY; in main()
146 quality = AudioResampler::DYN_LOW_QUALITY; in main()
148 quality = AudioResampler::DYN_MED_QUALITY; in main()
150 quality = AudioResampler::DYN_HIGH_QUALITY; in main()
182 || channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { in main()
[all …]
DAudioResampler.h53 int32_t sampleRate, src_quality quality=DEFAULT_QUALITY);
92 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality);
160 static bool qualityIsSupported(src_quality quality);
167 static uint32_t qualityMHz(src_quality quality);
/frameworks/base/location/java/android/location/
DLocationRequest.java177 int quality; in createFromDeprecatedProvider() local
179 quality = POWER_NONE; in createFromDeprecatedProvider()
181 quality = ACCURACY_FINE; in createFromDeprecatedProvider()
183 quality = POWER_LOW; in createFromDeprecatedProvider()
188 .setQuality(quality) in createFromDeprecatedProvider()
203 int quality; in createFromDeprecatedCriteria() local
206 quality = ACCURACY_BLOCK; in createFromDeprecatedCriteria()
209 quality = ACCURACY_FINE; in createFromDeprecatedCriteria()
214 quality = POWER_HIGH; in createFromDeprecatedCriteria()
216 quality = POWER_LOW; in createFromDeprecatedCriteria()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp164 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()
170 (quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && in isCamcorderQualityKnown()
171 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END)); in isCamcorderQualityKnown()
175 …_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality) in android_media_MediaProfiles_native_get_camcorder_profile() argument
177 ALOGV("native_get_camcorder_profile: %d %d", id, quality); in android_media_MediaProfiles_native_get_camcorder_profile()
178 if (!isCamcorderQualityKnown(quality)) { in android_media_MediaProfiles_native_get_camcorder_profile()
[all …]
/frameworks/base/rs/java/android/renderscript/
DPath.java66 … public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createStaticPath() argument
67 long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); in createStaticPath()
68 Path newPath = new Path(id, rs, p, null, null, quality); in createStaticPath()
72 …public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, A… in createStaticPath() argument
76 …public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { in createDynamicPath() argument
80 …public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, … in createDynamicPath() argument
/frameworks/rs/
DrsPath.cpp28 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()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp334 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local
335 CHECK(quality != -1); in createCamcorderProfile()
347 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile()
368 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local
369 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel()
378 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
474 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument
475 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile()
476 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile()
479 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument
[all …]
/frameworks/compile/mclinker/lib/Support/
DTargetRegistry.cpp41 unsigned int quality = (*target)->getTripleQuality(triple); in lookupTarget() local
42 if (quality > 0) { in lookupTarget()
43 if (NULL == best || highest < quality) { in lookupTarget()
44 highest = quality; in lookupTarget()
48 else if (highest == quality) { in lookupTarget()
/frameworks/base/graphics/java/android/graphics/
DYuvImage.java123 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
/frameworks/base/telecomm/java/android/telecom/
DVideoProfile.java67 public VideoProfile(int videoState, int quality) { in VideoProfile() argument
69 mQuality = quality; in VideoProfile()
107 int quality = source.readInt();
110 return new VideoProfile(state, quality);
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/
Dindex.jd2 meta.tags="landing, quality"
3 page.tags="guidelines", "tablet", "quality"
10 A focus on quality should be part of your entire app delivery process: from
25 data-query="type:blog+tag:quality"
/frameworks/base/docs/html/distribute/essentials/
Dindex.jd2 meta.tags="landing, quality"
3 page.tags="guidelines", "tablet", "quality"
10 A focus on quality should be part of your entire app delivery process: from
25 data-query="type:blog+tag:quality"
/frameworks/base/docs/html/distribute/googleplay/
Dwear.jd3 meta.tags="wear", "publish", "quality"
21 <li><a href="{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a></li>
22 <li><a href="{@docRoot}distribute/essentials/quality/core.html">Core App Quality</a></li>
31 experience across all Wear devices. If your apps meet core app quality guidelines on handsets and
32 provide a high-quality experience for Android Wear devices, Google Play will showcase your apps
39 href="{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> for information on
40 the usability and quality standards that your apps should meet. When your app is ready, you can
70 As you get started designing your Wear experience, make sure to read and understand the quality
72 Google Play — your apps can participate if they meet a set of basic quality criteria. See <a
73 href="{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> for details.
[all …]
Dtv.jd3 meta.tags="tv", "publish", "quality"
21 <li><a href="{@docRoot}distribute/essentials/quality/tv.html">TV App Quality</a></li>
22 <li><a href="{@docRoot}distribute/essentials/quality/core.html">Core App Quality</a></li>
38 <a href="{@docRoot}distribute/essentials/quality/tv.html">TV App Quality</a>
39 for information on the usability and quality standards that your apps should
72 understand the quality criteria for TV apps. The Google Play experience for
74 &mdash; your apps can participate if they meet a set of basic quality
75 criteria. See <a href="{@docRoot}distribute/essentials/quality/tv.html">TV
85 high-quality experience on large screens and delivers a compelling feature
132 high-quality apps for easy discovery by users in Google Play. Here’s how you
[all …]
/frameworks/av/include/media/
DMediaProfiles.h116 camcorder_quality quality) const;
122 bool hasCamcorderProfile(int cameraId, camcorder_quality quality) const;
395 int getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const;
438 static CamcorderProfile *createDefaultCamcorderQcifProfile(camcorder_quality quality);
439 static CamcorderProfile *createDefaultCamcorderCifProfile(camcorder_quality quality);
447 static CamcorderProfile *createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality);
448 static CamcorderProfile *createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality);
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java447 int quality = in getActivePasswordQuality() local
449 switch (quality) { in getActivePasswordQuality()
788 public void saveLockPassword(String password, int quality) { in saveLockPassword() argument
789 this.saveLockPassword(password, quality, false, getCurrentOrCallingUserId()); in saveLockPassword()
800 public void saveLockPassword(String password, int quality, boolean isFallback) { in saveLockPassword() argument
801 saveLockPassword(password, quality, isFallback, getCurrentOrCallingUserId()); in saveLockPassword()
813 public void saveLockPassword(String password, int quality, boolean isFallback, int userHandle) { in saveLockPassword() argument
838 setLong(PASSWORD_TYPE_KEY, Math.max(quality, computedQuality), userHandle); in saveLockPassword()
862 dpm.setActivePasswordState(Math.max(quality, computedQuality), in saveLockPassword()
875 setLong(PASSWORD_TYPE_ALTERNATE_KEY, Math.max(quality, computedQuality), in saveLockPassword()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dmime_io.cpp533 uint8 quality, in mime_unsorting() argument
680 if (quality) in mime_unsorting()
691 if (quality) in mime_unsorting()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraSettings.java306 public void setPhotoJpegCompressionQuality(int quality) { in setPhotoJpegCompressionQuality() argument
307 if (quality < MIN_JPEG_COMPRESSION_QUALITY || quality > MAX_JPEG_COMPRESSION_QUALITY) { in setPhotoJpegCompressionQuality()
312 mJpegCompressQuality = (byte) quality; in setPhotoJpegCompressionQuality()
/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp71 enum android::AudioResampler::src_quality quality) in testBufferIncrement() argument
95 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
113 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
163 enum android::AudioResampler::src_quality quality) in testStopbandDownconversion() argument
183 channels, outputFreq, quality); in testStopbandDownconversion()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java108 public boolean takeScreenshot(File storePath, int quality) { in takeScreenshot() argument
117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1199 camcorder_quality quality = CAMCORDER_QUALITY_LOW; in setDefaultProfileIfNecessary() local
1202 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary()
1205 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary()
1208 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
1211 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary()
1214 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary()
1217 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary()
1220 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary()
1223 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
1226 "aud.bps", mCameraId, quality); in setDefaultProfileIfNecessary()
[all …]
/frameworks/base/core/java/android/speech/tts/
DVoice.java72 int quality, in Voice() argument
78 this.mQuality = quality; in Voice()

12345