/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | MailPrefs.java | 49 public static final class PreferenceKeys { class in MailPrefs 145 return PreferenceKeys.BACKUP_KEYS.contains(key); in canBackup() 150 return getSharedPreferences().getInt(PreferenceKeys.MIGRATED_VERSION, 0) in hasMigrationCompleted() 156 getEditor().putInt(PreferenceKeys.MIGRATED_VERSION, CURRENT_VERSION_NUMBER).commit(); in setMigrationComplete() 160 return getSharedPreferences().contains(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId); in isWidgetConfigured() 168 getEditor().putString(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId, in configureWidget() 173 return getSharedPreferences().getString(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId, in getWidgetConfiguration() 185 getEditor().remove(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + id); in clearWidgets() 192 return getSharedPreferences().getBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, false); in getDefaultReplyAll() 196 getEditor().putBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, replyAll).apply(); in setDefaultReplyAll() [all …]
|
D | AccountPreferences.java | 34 public static final class PreferenceKeys { class in AccountPreferences 90 return PreferenceKeys.BACKUP_KEYS.contains(key); in canBackup() 94 return getSharedPreferences().contains(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED); in isDefaultInboxNotificationsEnabledSet() 99 .getBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, true); in getDefaultInboxNotificationsEnabled() 103 getEditor().putBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, enabled).apply(); in setDefaultInboxNotificationsEnabled() 107 getEditor().remove(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED).apply(); in clearDefaultInboxNotificationsEnabled() 111 return getSharedPreferences().getBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, true); in areNotificationsEnabled() 115 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled() 120 return getSharedPreferences().getInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0); in getNumOfDismissesForAccountSyncOff() 125 PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0); in resetNumOfDismissesForAccountSyncOff() [all …]
|
D | FolderPreferences.java | 45 public static final class PreferenceKeys { class in FolderPreferences 125 return PreferenceKeys.BACKUP_KEYS.contains(key); in canBackup() 130 if (PreferenceKeys.NOTIFICATION_RINGTONE.equals(key)) { in getBackupValue() 139 if (PreferenceKeys.NOTIFICATION_RINGTONE.equals(key)) { in getRestoreValue() 208 return getSharedPreferences().contains(PreferenceKeys.NOTIFICATIONS_ENABLED); in isNotificationsEnabledSet() 213 PreferenceKeys.NOTIFICATIONS_ENABLED, getUseInboxDefaultNotificationSettings()); in areNotificationsEnabled() 217 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply(); in setNotificationsEnabled() 222 return getSharedPreferences().getString(PreferenceKeys.NOTIFICATION_RINGTONE, in getNotificationRingtoneUri() 227 getEditor().putString(PreferenceKeys.NOTIFICATION_RINGTONE, uri).apply(); in setNotificationRingtoneUri() 232 return getSharedPreferences().getBoolean(PreferenceKeys.NOTIFICATION_VIBRATE, false); in isNotificationVibrateEnabled() [all …]
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
D | AdvancedPreferencesFragment.java | 20 import com.android.browser.PreferenceKeys; 49 PreferenceKeys.PREF_WEBSITE_SETTINGS); in onCreate() 52 Preference e = findPreference(PreferenceKeys.PREF_DEFAULT_ZOOM); in onCreate() 56 .getString(PreferenceKeys.PREF_DEFAULT_ZOOM, null)) ); in onCreate() 58 e = findPreference(PreferenceKeys.PREF_DEFAULT_TEXT_ENCODING); in onCreate() 61 e = findPreference(PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES); in onCreate() 64 e = findPreference(PreferenceKeys.PREF_SEARCH_ENGINE); in onCreate() 68 e = findPreference(PreferenceKeys.PREF_PLUGIN_STATE); in onCreate() 86 PreferenceKeys.PREF_WEBSITE_SETTINGS); in onResume() 115 if (pref.getKey().equals(PreferenceKeys.PREF_DEFAULT_ZOOM)) { in onPreferenceChange() [all …]
|
D | AccessibilityPreferencesFragment.java | 26 import com.android.browser.PreferenceKeys; 46 Preference e = findPreference(PreferenceKeys.PREF_MIN_FONT_SIZE); in onCreate() 49 e = findPreference(PreferenceKeys.PREF_TEXT_ZOOM); in onCreate() 52 e = findPreference(PreferenceKeys.PREF_DOUBLE_TAP_ZOOM); in onCreate() 55 e = findPreference(PreferenceKeys.PREF_INVERTED_CONTRAST); in onCreate() 104 if (PreferenceKeys.PREF_MIN_FONT_SIZE.equals(pref.getKey())) { in onPreferenceChange() 108 if (PreferenceKeys.PREF_TEXT_ZOOM.equals(pref.getKey())) { in onPreferenceChange() 113 if (PreferenceKeys.PREF_DOUBLE_TAP_ZOOM.equals(pref.getKey())) { in onPreferenceChange() 118 if (PreferenceKeys.PREF_INVERTED_CONTRAST.equals(pref.getKey())) { in onPreferenceChange()
|
D | BandwidthPreferencesFragment.java | 26 import com.android.browser.PreferenceKeys; 45 if (!sharedPrefs.contains(PreferenceKeys.PREF_DATA_PRELOAD)) { in onResume() 48 PreferenceKeys.PREF_DATA_PRELOAD); in onResume() 53 if (!sharedPrefs.contains(PreferenceKeys.PREF_LINK_PREFETCH)) { in onResume() 56 PreferenceKeys.PREF_LINK_PREFETCH); in onResume()
|
D | DebugPreferencesFragment.java | 26 import com.android.browser.PreferenceKeys; 38 Preference e = findPreference(PreferenceKeys.PREF_RESET_PRELOGIN); in onCreate() 44 if (PreferenceKeys.PREF_RESET_PRELOGIN.equals(preference.getKey())) { in onPreferenceClick()
|
D | PrivacySecurityPreferencesFragment.java | 19 import com.android.browser.PreferenceKeys; 38 Preference e = findPreference(PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY); in onCreate() 49 if (pref.getKey().equals(PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY) in onPreferenceChange()
|
D | LabPreferencesFragment.java | 24 import com.android.browser.PreferenceKeys;
|
D | GeneralPreferencesFragment.java | 40 import com.android.browser.PreferenceKeys;
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserYesNoPreference.java | 39 if (PreferenceKeys.PREF_PRIVACY_CLEAR_CACHE.equals(getKey())) { in onDialogClosed() 42 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_COOKIES.equals(getKey())) { in onDialogClosed() 44 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY.equals(getKey())) { in onDialogClosed() 46 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_FORM_DATA.equals(getKey())) { in onDialogClosed() 48 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_PASSWORDS.equals(getKey())) { in onDialogClosed() 50 } else if (PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES.equals( in onDialogClosed() 54 } else if (PreferenceKeys.PREF_PRIVACY_CLEAR_GEOLOCATION_ACCESS.equals( in onDialogClosed()
|
D | PreferenceKeys.java | 19 public interface PreferenceKeys { interface
|
D | BrowserSettings.java | 59 PreferenceKeys {
|
D | Controller.java | 1153 if (PreferenceKeys.PREF_PRIVACY_CLEAR_HISTORY.equals(action)) { in onActivityResult()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 385 } else if (FolderPreferences.PreferenceKeys.NOTIFICATION_VIBRATE.equals(key)) { in onPreferenceChange() 389 preferenceChanged(FolderPreferences.PreferenceKeys.NOTIFICATION_VIBRATE, newValue); in onPreferenceChange() 391 } else if (FolderPreferences.PreferenceKeys.NOTIFICATIONS_ENABLED.equals(key)) { in onPreferenceChange() 393 preferenceChanged(FolderPreferences.PreferenceKeys.NOTIFICATIONS_ENABLED, newValue); in onPreferenceChange() 778 FolderPreferences.PreferenceKeys.NOTIFICATIONS_ENABLED); in loadSettings() 781 mInboxRingtone = findPreference(FolderPreferences.PreferenceKeys.NOTIFICATION_RINGTONE); in loadSettings() 797 FolderPreferences.PreferenceKeys.NOTIFICATION_VIBRATE); in loadSettings()
|
D | GeneralPreferences.java | 110 } else if (MailPrefs.PreferenceKeys.DEFAULT_REPLY_ALL.equals(key)) { in onPreferenceChange() 134 } else if (MailPrefs.PreferenceKeys.CONVERSATION_LIST_SWIPE.equals(key)) { in onPreferenceTreeClick() 164 findPreference(MailPrefs.PreferenceKeys.CONVERSATION_LIST_SWIPE); in loadSettings() 168 (CheckBoxPreference) findPreference(MailPrefs.PreferenceKeys.DEFAULT_REPLY_ALL); in loadSettings()
|