Lines Matching refs:editor

105                 SharedPreferences.Editor editor = ComboPreferences  in initialCameraPictureSize()  local
107 editor.putString(KEY_PICTURE_SIZE, candidate); in initialCameraPictureSize()
108 editor.apply(); in initialCameraPictureSize()
296 SharedPreferences.Editor editor = pref.edit(); in upgradeLocalPreferences()
300 editor.remove("pref_video_quality_key"); in upgradeLocalPreferences()
302 editor.putInt(KEY_LOCAL_VERSION, CURRENT_LOCAL_VERSION); in upgradeLocalPreferences()
303 editor.apply(); in upgradeLocalPreferences()
315 SharedPreferences.Editor editor = pref.edit(); in upgradeGlobalPreferences()
331 editor.putString(KEY_JPEG_QUALITY, quality); in upgradeGlobalPreferences()
335 editor.putString(KEY_RECORD_LOCATION, in upgradeGlobalPreferences()
344 editor.remove("pref_camera_videoquality_key"); in upgradeGlobalPreferences()
345 editor.remove("pref_camera_video_duration_key"); in upgradeGlobalPreferences()
348 editor.putInt(KEY_VERSION, CURRENT_VERSION); in upgradeGlobalPreferences()
349 editor.apply(); in upgradeGlobalPreferences()
358 Editor editor = pref.edit(); in writePreferredCameraId() local
359 editor.putString(KEY_CAMERA_ID, Integer.toString(cameraId)); in writePreferredCameraId()
360 editor.apply(); in writePreferredCameraId()
429 Editor editor = preferences.edit(); in restorePreferences() local
430 editor.clear(); in restorePreferences()
431 editor.apply(); in restorePreferences()
436 Editor editor = preferences.edit(); in restorePreferences() local
437 editor.clear(); in restorePreferences()
438 editor.apply(); in restorePreferences()