Home
last modified time | relevance | path

Searched refs:preferences (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java16 package com.android.email.preferences;
26 import com.android.mail.preferences.BasePreferenceMigrator;
27 import com.android.mail.preferences.FolderPreferences;
28 import com.android.mail.preferences.MailPrefs;
73 final Preferences preferences = Preferences.getPreferences(context); in migrate() local
78 final boolean hasSwipeDelete = preferences.hasSwipeDelete(); in migrate()
80 final boolean swipeDelete = preferences.getSwipeDelete(); in migrate()
85 final boolean isReplyAllSet = preferences.hasReplyAll(); in migrate()
87 final boolean replyAll = preferences.getReplyAll(); in migrate()
169 final Set<String> whitelistedAddresses = preferences.getWhitelistedSenderAddresses(); in migrate()
[all …]
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsManager.java130 SharedPreferences preferences; in openPreferences() local
131 preferences = mContext.getSharedPreferences( in openPreferences()
135 preferences.registerOnSharedPreferenceChangeListener(listener); in openPreferences()
137 return preferences; in openPreferences()
151 protected void closePreferences(SharedPreferences preferences) { in closePreferences() argument
154 preferences.unregisterOnSharedPreferenceChangeListener(listener); in closePreferences()
366 SharedPreferences preferences = getPreferencesFromScope(scope);
368 return preferences.getString(key, defaultValue);
371 preferences.edit().remove(key).apply();
468 SharedPreferences preferences = getPreferencesFromScope(scope);
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java363 public static int readExposure(ComboPreferences preferences) { in readExposure() argument
364 String exposure = preferences.getString( in readExposure()
422 ComboPreferences preferences, Parameters parameters) { in restorePreferences() argument
423 int currentCameraId = readPreferredCameraId(preferences); in restorePreferences()
428 preferences.setLocalId(context, backCameraId); in restorePreferences()
429 Editor editor = preferences.edit(); in restorePreferences()
435 preferences.setLocalId(context, frontCameraId); in restorePreferences()
436 Editor editor = preferences.edit(); in restorePreferences()
443 preferences.setLocalId(context, currentCameraId); in restorePreferences()
445 upgradeGlobalPreferences(preferences.getGlobal()); in restorePreferences()
[all …]
DFocusManager.java100 public FocusManager(ComboPreferences preferences, String[] defaultFocusModes) { in FocusManager() argument
101 mPreferences = preferences; in FocusManager()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DVersionedPrefs.java18 package com.android.mail.preferences;
195 final Map<String, ?> preferences = sharedPreferences.getAll(); in getBackupPreferences() local
197 for (final Map.Entry<String, ?> entry : preferences.entrySet()) { in getBackupPreferences()
218 public void restorePreferences(final List<BackupSharedPreference> preferences) { in restorePreferences() argument
219 for (final BackupSharedPreference preference : preferences) { in restorePreferences()
DBackupSharedPreference.java17 package com.android.mail.preferences;
DPreferenceMigratorHolder.java17 package com.android.mail.preferences;
DBasePreferenceMigrator.java17 package com.android.mail.preferences;
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDetector.java80 SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); in initializeTimeOfFirstRun() local
84 long timeOfFirstUseMillis = preferences.getLong(CLIENT_FIRST_USE_TIME, 0); in initializeTimeOfFirstRun()
94 boolean isUpgrade = cameraPrefs.getAll().size() > 0 || preferences.getAll().size() > 0; in initializeTimeOfFirstRun()
100 preferences.edit().putLong(CLIENT_FIRST_USE_TIME, timeOfFirstUseMillis).apply(); in initializeTimeOfFirstRun()
/packages/apps/Email/src/com/android/email/
DEmailApplication.java24 import com.android.email.preferences.EmailPreferenceMigrator;
29 import com.android.mail.preferences.BasePreferenceMigrator;
30 import com.android.mail.preferences.PreferenceMigratorHolder;
31 import com.android.mail.preferences.PreferenceMigratorHolder.PreferenceMigratorCreator;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java77 PreferenceScreen preferences = getPreferenceScreen(); in onCreatePreferences() local
78 if (preferences == null) { in onCreatePreferences()
79 preferences = getPreferenceManager().createPreferenceScreen(getActivity()); in onCreatePreferences()
80 setPreferenceScreen(preferences); in onCreatePreferences()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java32 import com.android.emergency.preferences.EmergencyContactsPreference;
33 import com.android.emergency.preferences.EmergencyEditTextPreference;
34 import com.android.emergency.preferences.EmergencyListPreference;
35 import com.android.emergency.preferences.NameAutoCompletePreference;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DTwoStatePreferenceHelper.java46 final ArrayList<Preference> preferences = new ArrayList<>(); in replaceAllCheckBoxPreferencesBySwitchPreferences() local
49 preferences.add(group.getPreference(index)); in replaceAllCheckBoxPreferencesBySwitchPreferences()
53 final Preference preference = preferences.get(index); in replaceAllCheckBoxPreferencesBySwitchPreferences()
/packages/apps/QuickSearchBox/
Dproguard.flags1 -keep class com.android.quicksearchbox.preferences.DeviceSearchFragment
3 -keep class com.android.quicksearchbox.preferences.SearchableItemsFragment
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java338 final SharedPreferences preferences = getSharedPreferences(
340 final SharedPreferences.Editor editor = preferences.edit();
775 final SharedPreferences preferences = getSharedPreferences( in getAutoPersistingPref() local
777 return preferences.getBoolean(PREF_AUTO_PERSISTING, false); in getAutoPersistingPref()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationSyncDisabledTipView.java35 import com.android.mail.preferences.AccountPreferences;
36 import com.android.mail.preferences.MailPrefs;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DGeneralPrefsFragment.java35 import com.android.mail.preferences.MailPrefs;
36 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java740 Intent preferences = new Intent();
741 preferences.setClass(GalleryPicker.this,
743 startActivity(preferences);
DImageGallery.java498 Intent preferences = new Intent();
499 preferences.setClass(ImageGallery.this,
501 startActivity(preferences);
DViewImage.java423 Intent preferences = new Intent(); in onCreateOptionsMenu()
424 preferences.setClass(ViewImage.this, GallerySettings.class); in onCreateOptionsMenu()
425 startActivity(preferences); in onCreateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountSettings.java400 final ArrayList<AccountPreference> preferences = getAccountTypePreferences( in updateAccountTypes() local
402 final int count = preferences.size(); in updateAccountTypes()
404 profileData.preferenceGroup.addPreference(preferences.get(i)); in updateAccountTypes()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java494 final SharedPreferences preferences = getActivity().getPreferences( in onCreateDialog() local
496 final boolean longMessageDisplayed = preferences.getBoolean( in onCreateDialog()
511 preferences.edit().putBoolean( in onCreateDialog()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DViewEmergencyContactsPreference.java16 package com.android.emergency.preferences;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiverApp.java38 PreferenceManager.setDefaultValues(this, R.xml.preferences, false); in onCreate()
/packages/apps/Email/src/com/android/email/activity/setup/
DGeneralPreferences.java24 import com.android.mail.preferences.MailPrefs.PreferenceKeys;

123