Lines Matching refs:quality
166 static bool isCamcorderQualityKnown(int quality) in isCamcorderQualityKnown() argument
168 return ((quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderQualityKnown()
169 quality <= CAMCORDER_QUALITY_LIST_END) || in isCamcorderQualityKnown()
170 (quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isCamcorderQualityKnown()
171 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END) || in isCamcorderQualityKnown()
172 (quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && in isCamcorderQualityKnown()
173 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END)); in isCamcorderQualityKnown()
178 jint quality) in android_media_MediaProfiles_native_get_camcorder_profile() argument
180 ALOGV("native_get_camcorder_profile: %d %d", id, quality); in android_media_MediaProfiles_native_get_camcorder_profile()
181 if (!isCamcorderQualityKnown(quality)) { in android_media_MediaProfiles_native_get_camcorder_profile()
186 camcorder_quality q = static_cast<camcorder_quality>(quality); in android_media_MediaProfiles_native_get_camcorder_profile()
213 quality, in android_media_MediaProfiles_native_get_camcorder_profile()
228 jint id, jint quality) in android_media_MediaProfiles_native_has_camcorder_profile() argument
230 ALOGV("native_has_camcorder_profile: %d %d", id, quality); in android_media_MediaProfiles_native_has_camcorder_profile()
231 if (!isCamcorderQualityKnown(quality)) { in android_media_MediaProfiles_native_has_camcorder_profile()
235 camcorder_quality q = static_cast<camcorder_quality>(quality); in android_media_MediaProfiles_native_has_camcorder_profile()