HomeSort by relevance Sort by last modified time
    Searched refs:PreferenceKeys (Results 1 - 16 of 16) sorted by null

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

Completed in 935 milliseconds