HomeSort by relevance Sort by last modified time
    Searched full:preferencekeys (Results 1 - 25 of 29) sorted by null

1 2

  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
AccountPreferences.java 35 public static final class PreferenceKeys {
93 return PreferenceKeys.BACKUP_KEYS.contains(key);
97 return getSharedPreferences().contains(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED);
102 .getBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, true);
106 getEditor().putBoolean(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED, enabled).apply();
110 getEditor().remove(PreferenceKeys.DEFAULT_INBOX_NOTIFICATIONS_ENABLED).apply();
114 return getSharedPreferences().getBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, true);
118 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply();
123 return getSharedPreferences().getInt(PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0);
128 PreferenceKeys.ACCOUNT_SYNC_OFF_DISMISSES, 0)
    [all...]
MailPrefs.java 56 public static final class PreferenceKeys {
204 return PreferenceKeys.BACKUP_KEYS.contains(key);
209 return getSharedPreferences().getInt(PreferenceKeys.MIGRATED_VERSION, 0)
215 getEditor().putInt(PreferenceKeys.MIGRATED_VERSION, CURRENT_VERSION_NUMBER).commit();
219 return getSharedPreferences().contains(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId);
227 getEditor().putString(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId,
232 return getSharedPreferences().getString(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + appWidgetId,
244 getEditor().remove(PreferenceKeys.WIDGET_ACCOUNT_PREFIX + id);
251 return getSharedPreferences().getBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, false);
255 getEditor().putBoolean(PreferenceKeys.DEFAULT_REPLY_ALL, replyAll).apply()
    [all...]
FolderPreferences.java 44 public static final class PreferenceKeys {
124 return PreferenceKeys.BACKUP_KEYS.contains(key);
129 if (PreferenceKeys.NOTIFICATION_RINGTONE.equals(key)) {
138 if (PreferenceKeys.NOTIFICATION_RINGTONE.equals(key)) {
207 return getSharedPreferences().contains(PreferenceKeys.NOTIFICATIONS_ENABLED);
212 PreferenceKeys.NOTIFICATIONS_ENABLED, getUseInboxDefaultNotificationSettings());
216 getEditor().putBoolean(PreferenceKeys.NOTIFICATIONS_ENABLED, enabled).apply();
221 return getSharedPreferences().getString(PreferenceKeys.NOTIFICATION_RINGTONE,
226 getEditor().putString(PreferenceKeys.NOTIFICATION_RINGTONE, uri).apply();
231 return getSharedPreferences().getBoolean(PreferenceKeys.NOTIFICATION_VIBRATE, false)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/
DisplaySettingsTest.java 30 final List<String> preferenceKeys = new ArrayList<>();
33 preferenceKeys.add(controller.getPreferenceKey());
36 preferenceKeys.remove("night_mode");
38 assertThat(preferenceScreenKeys).containsAllIn(preferenceKeys);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
GeneralPrefsFragment.java 36 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
121 if (PreferenceKeys.REMOVAL_ACTION.equals(key)) {
128 } else if (!PreferenceKeys.CONVERSATION_LIST_SWIPE.equals(key) &&
129 !PreferenceKeys.SHOW_SENDER_IMAGES.equals(key) &&
130 !PreferenceKeys.DEFAULT_REPLY_ALL.equals(key) &&
131 !PreferenceKeys.CONVERSATION_OVERVIEW_MODE.equals(key) &&
132 !PreferenceKeys.CONFIRM_DELETE.equals(key) &&
133 !PreferenceKeys.CONFIRM_ARCHIVE.equals(key) &&
134 !PreferenceKeys.CONFIRM_SEND.equals(key)) {
204 PreferenceKeys.REMOVAL_ACTION
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
GeneralPreferences.java 24 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
36 final Preference removalAction = findPreference(PreferenceKeys.REMOVAL_ACTION);
40 final Preference confirmArchive = findPreference(PreferenceKeys.CONFIRM_ARCHIVE);