/packages/apps/Email/src/com/android/email/preferences/ |
D | EmailPreferenceMigrator.java | 16 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/ |
D | SettingsManager.java | 130 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/ |
D | CameraSettings.java | 363 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 …]
|
D | FocusManager.java | 100 public FocusManager(ComboPreferences preferences, String[] defaultFocusModes) { in FocusManager() argument 101 mPreferences = preferences; in FocusManager()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | VersionedPrefs.java | 18 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()
|
D | BackupSharedPreference.java | 17 package com.android.mail.preferences;
|
D | PreferenceMigratorHolder.java | 17 package com.android.mail.preferences;
|
D | BasePreferenceMigrator.java | 17 package com.android.mail.preferences;
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FirstRunDetector.java | 80 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/ |
D | EmailApplication.java | 24 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/ |
D | PermissionsFrameFragment.java | 77 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/ |
D | EditInfoActivityTest.java | 32 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/ |
D | TwoStatePreferenceHelper.java | 46 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/ |
D | proguard.flags | 1 -keep class com.android.quicksearchbox.preferences.DeviceSearchFragment 3 -keep class com.android.quicksearchbox.preferences.SearchableItemsFragment
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 338 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/ |
D | ConversationSyncDisabledTipView.java | 35 import com.android.mail.preferences.AccountPreferences; 36 import com.android.mail.preferences.MailPrefs;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
D | GeneralPrefsFragment.java | 35 import com.android.mail.preferences.MailPrefs; 36 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 740 Intent preferences = new Intent(); 741 preferences.setClass(GalleryPicker.this, 743 startActivity(preferences);
|
D | ImageGallery.java | 498 Intent preferences = new Intent(); 499 preferences.setClass(ImageGallery.this, 501 startActivity(preferences);
|
D | ViewImage.java | 423 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/ |
D | AccountSettings.java | 400 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/ |
D | UserSettings.java | 494 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/ |
D | ViewEmergencyContactsPreference.java | 16 package com.android.emergency.preferences;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiverApp.java | 38 PreferenceManager.setDefaultValues(this, R.xml.preferences, false); in onCreate()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | GeneralPreferences.java | 24 import com.android.mail.preferences.MailPrefs.PreferenceKeys;
|