Home
last modified time | relevance | path

Searched refs:getEditor (Results 1 – 8 of 8) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java215 getEditor().putInt(PreferenceKeys.MIGRATED_VERSION, CURRENT_VERSION_NUMBER).commit(); in setMigrationComplete()
227 getEditor().putString(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId, in configureWidget()
244 getEditor().remove(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + id); in clearWidgets()
246 getEditor().apply(); in clearWidgets()
255 getEditor().putBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, replyAll).apply(); in setDefaultReplyAll()
283 getEditor().putString(PreferenceKeys.REMOVAL_ACTION, removalAction).apply(); in setRemovalAction()
296 getEditor().putBoolean(PreferenceKeys.CONVERSATION_LIST_SWIPE, enabled).apply(); in setConversationListSwipeEnabled()
330 getEditor().putStringSet(PreferenceKeys.CACHED_ACTIVE_NOTIFICATION_SET, notificationSet) in cacheActiveNotificationSet()
346 getEditor().putBoolean(PreferenceKeys.CONVERSATION_PHOTO_TEASER_SHOWN, true).apply(); in setConversationPhotoTeaserAlreadyShown()
360 getEditor().putInt(PreferenceKeys.LONG_PRESS_TO_SELECT_TIP_SHOWN, 1).apply(); in setLongPressToSelectTipAlreadyShown()
[all …]
DVersionedPrefs.java102 protected Editor getEditor() { in getEditor() method in VersionedPrefs
124 getEditor().putInt(PREFS_VERSION_NUMBER, versionNumber); in setCurrentVersion()
132 getEditor().apply(); in setCurrentVersion()
148 getEditor().commit(); in commit()
161 getEditor().clear().commit(); in clearAllPreferences()
230 getEditor().putBoolean(key, (Boolean) restoreValue); in restorePreferences()
233 getEditor().putFloat(key, (Float) restoreValue); in restorePreferences()
236 getEditor().putInt(key, (Integer) restoreValue); in restorePreferences()
239 getEditor().putLong(key, (Long) restoreValue); in restorePreferences()
242 getEditor().putString(key, (String) restoreValue); in restorePreferences()
[all …]
DAccountPreferences.java106 getEditor().putBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, enabled).apply(); in setDefaultInboxNotificationsEnabled()
110 getEditor().remove(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED).apply(); in clearDefaultInboxNotificationsEnabled()
118 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled()
130 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0).apply(); in resetNumOfDismissesForAccountSyncOff()
137 getEditor().putInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, value + 1).apply(); in incNumOfDismissesForAccountSyncOff()
145 getEditor().putInt(PreferenceKeys.LAST_SEEN_OUTBOX_COUNT, count).apply(); in setLastSeenOutboxCount()
DFolderPreferences.java216 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled()
226 getEditor().putString(PreferenceKeys.NOTIFICATION_RINGTONE, uri).apply(); in setNotificationRingtoneUri()
235 getEditor().putBoolean(PreferenceKeys.NOTIFICATION_VIBRATE, enabled).apply(); in setNotificationVibrateEnabled()
245 getEditor().putBoolean(PreferenceKeys.NOTIFICATION_NOTIFY_EVERY_MESSAGE, enabled).apply(); in setEveryMessageNotificationEnabled()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorPanel.java52 mEditor = filterShowActivity.getEditor(mEditorID); in onAttach()
93 mEditor = activity.getEditor(mEditorID); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DEditorPlaceHolder.java78 public Editor getEditor(int editorId) { in getEditor() method in EditorPlaceHolder
DFilterShowActivity.java692 public Editor getEditor(int editorID) { in getEditor() method in FilterShowActivity
693 return mEditorPlaceHolder.getEditor(editorID); in getEditor()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java173 final Editor editor = preferenceScreen.getEditor(); in onCreate()