Lines Matching defs:setting
203 private boolean matchesTemplateDefault(Key<?> setting) {
204 if (setting == CONTROL_AE_REGIONS) {
206 } else if (setting == CONTROL_AF_REGIONS) {
208 } else if (setting == CONTROL_AE_TARGET_FPS_RANGE) {
213 } else if (setting == JPEG_QUALITY) {
216 } else if (setting == CONTROL_AE_EXPOSURE_COMPENSATION) {
219 } else if (setting == CONTROL_VIDEO_STABILIZATION_MODE) {
226 } else if (setting == CONTROL_AE_LOCK) {
228 } else if (setting == CONTROL_AWB_LOCK) {
230 } else if (setting == JPEG_THUMBNAIL_SIZE) {
232 // It doesn't matter if this is true or false since setting this
248 private <T> void updateRequestSettingOrForceToDefault(Key<T> setting, T possibleChoice) {
249 mRequestSettings.set(setting, matchesTemplateDefault(setting) ? null : possibleChoice);