Lines Matching refs:preferences
363 public static int readExposure(ComboPreferences preferences) {
364 String exposure = preferences.getString(
422 ComboPreferences preferences, Parameters parameters) {
423 int currentCameraId = readPreferredCameraId(preferences);
425 // Clear the preferences of both cameras.
428 preferences.setLocalId(context, backCameraId);
429 Editor editor = preferences.edit();
435 preferences.setLocalId(context, frontCameraId);
436 Editor editor = preferences.edit();
441 // Switch back to the preferences of the current camera. Otherwise,
443 preferences.setLocalId(context, currentCameraId);
445 upgradeGlobalPreferences(preferences.getGlobal());
446 upgradeLocalPreferences(preferences.getLocal());
452 writePreferredCameraId(preferences, currentCameraId);