/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | QuickSettingsPreferenceFragment.java | 85 final SharedPreferences sharedPreferences = getPreferenceManager().getSharedPreferences(); in onResume() local 86 sharedPreferences.registerOnSharedPreferenceChangeListener(this); in onResume() 87 sharedPreferences.registerOnSharedPreferenceChangeListener(mPresetSettingsListener); in onResume() 89 updateDescriptions(sharedPreferences); in onResume() 97 final SharedPreferences sharedPreferences = getPreferenceManager().getSharedPreferences(); in onPause() local 98 sharedPreferences.unregisterOnSharedPreferenceChangeListener(this); in onPause() 99 sharedPreferences.unregisterOnSharedPreferenceChangeListener(mPresetSettingsListener); in onPause() 102 private void updateDescriptions(SharedPreferences sharedPreferences) { in updateDescriptions() argument 105 mBacklightPref.setSummary(String.format("%d", sharedPreferences.getInt("backlight", in updateDescriptions() 107 mContrastPref.setSummary(String.format("%d", sharedPreferences.getInt("contrast", in updateDescriptions() [all …]
|
D | Setting.java | 38 public Setting(SharedPreferences sharedPreferences, String key, String title, int max) { in Setting() argument 39 mSharedPreferences = sharedPreferences; in Setting() 46 public Setting(SharedPreferences sharedPreferences, String key, String title) { in Setting() argument 47 mSharedPreferences = sharedPreferences; in Setting()
|
D | PresetSettingsListener.java | 33 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument 37 final String preset = sharedPreferences.getString(key, "standard"); in onSharedPreferenceChanged() 59 final SharedPreferences.Editor prefs = sharedPreferences.edit(); in onSharedPreferenceChanged()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | DbTestUtils.java | 46 private final FakeSharedPreferences sharedPreferences; field in DbTestUtils 52 private SharedPreferences sharedPreferences; field in DbTestUtils.FakeContext 69 public void setSharedPreferences(SharedPreferences sharedPreferences) { in setSharedPreferences() argument 70 this.sharedPreferences = sharedPreferences; in setSharedPreferences() 75 if (sharedPreferences != null) { in getSharedPreferences() 76 return sharedPreferences; in getSharedPreferences() 176 this.sharedPreferences = new FakeSharedPreferences(); in DbTestUtils() 178 context.setSharedPreferences(sharedPreferences); in DbTestUtils() 194 return sharedPreferences; in getMockSharedPreferences()
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
D | MailPrefs.java | 268 final SharedPreferences sharedPreferences = getSharedPreferences(); in getRemovalAction() local 270 sharedPreferences.getString(PreferenceKeys.REMOVAL_ACTION, null); in getRemovalAction() 274 return sharedPreferences.getString(PreferenceKeys.REMOVAL_ACTION, in getRemovalAction() 291 final SharedPreferences sharedPreferences = getSharedPreferences(); in getIsConversationListSwipeEnabled() local 292 return sharedPreferences.getBoolean(PreferenceKeys.CONVERSATION_LIST_SWIPE, true); in getIsConversationListSwipeEnabled() 384 final SharedPreferences sharedPreferences = getSharedPreferences(); in getDisplayImagesFromSender() local 387 final Set<String> currentPatterns = sharedPreferences.getStringSet( in getDisplayImagesFromSender() 434 final SharedPreferences sharedPreferences = getSharedPreferences(); in getSenderWhitelist() local 436 return sharedPreferences.getStringSet(PreferenceKeys.DISPLAY_IMAGES, defaultAddressSet); in getSenderWhitelist() 441 final SharedPreferences sharedPreferences = getSharedPreferences(); in getSenderWhitelistPatterns() local [all …]
|
D | VersionedPrefs.java | 194 final SharedPreferences sharedPreferences = getSharedPreferences(); in getBackupPreferences() local 195 final Map<String, ?> preferences = sharedPreferences.getAll(); in getBackupPreferences()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothPreferences.java | 86 SharedPreferences sharedPreferences = getSharedPreferences(context); in shouldShowDialogInForeground() local 89 long lastDiscoverableEndTime = sharedPreferences.getLong( in shouldShowDialogInForeground() 100 } else if ((sharedPreferences.getLong(KEY_DISCOVERING_TIMESTAMP, 0) + in shouldShowDialogInForeground() 107 String lastSelectedDevice = sharedPreferences.getString( in shouldShowDialogInForeground() 111 long lastDeviceSelectedTime = sharedPreferences.getLong( in shouldShowDialogInForeground()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 159 private void updateSoundSummary(final SharedPreferences sharedPreferences) { in updateSoundSummary() argument 164 String ringtoneString = sharedPreferences.getString(mRingtonePreferenceKey, null); in updateSoundSummary() 170 final SharedPreferences.Editor editor = sharedPreferences.edit(); in updateSoundSummary() 246 public void onSharedPreferenceChanged(final SharedPreferences sharedPreferences, in onSharedPreferenceChanged() argument 251 updateSoundSummary(sharedPreferences); in onSharedPreferenceChanged()
|
D | ApnEditorActivity.java | 430 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument 433 pref.setSummary(checkNull(sharedPreferences.getString(key, ""))); in onSharedPreferenceChanged()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
D | QuickContactTestsActivity.java | 76 final SharedPreferences sharedPreferences = getSharedPreferences(PREF_NAME, MODE_PRIVATE); in onCreate() local 77 final String uriString = sharedPreferences.getString(PREF_SETTING_URI, null); in onCreate() 101 final SharedPreferences sharedPreferences = getSharedPreferences(PREF_NAME, MODE_PRIVATE); in onDestroy() local 102 final Editor editor = sharedPreferences.edit(); in onDestroy()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 131 private final SharedPreferences sharedPreferences; field in PartnerBookmarksProvider.DatabaseHelper 135 sharedPreferences = context.getSharedPreferences( in DatabaseHelper() 149 sharedPreferences.getString(ACTIVE_CONFIGURATION_PREFNAME, null); in prepareForConfiguration() 160 Editor editor = sharedPreferences.edit(); in setActiveConfiguration()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
D | PolarClockWallpaper.java | 383 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in onSharedPreferenceChanged() argument 388 mShowSeconds = sharedPreferences.getBoolean( in onSharedPreferenceChanged() 393 mVariableLineWidth = sharedPreferences.getBoolean( in onSharedPreferenceChanged() 398 String paletteId = sharedPreferences.getString( in onSharedPreferenceChanged()
|
D | PolarClockSettings.java | 50 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in onSharedPreferenceChanged() argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 152 final SharedPreferences sharedPreferences = getSharedPreferences(activity); in onCreate() local 222 migrateOldPreferences(sharedPreferences); in onCreate() 280 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/testing/ |
D | InjectedServices.java | 49 public void setSharedPreferences(SharedPreferences sharedPreferences) { in setSharedPreferences() argument 50 this.mSharedPreferences = sharedPreferences; in setSharedPreferences()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerSettingsFragment.java | 59 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument 64 if (!sharedPreferences.getBoolean(key, false)) { in onSharedPreferenceChanged()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragmentAdapter.java | 33 public TimerFragmentAdapter(FragmentManager fm, SharedPreferences sharedPreferences) { in TimerFragmentAdapter() argument 35 mSharedPrefs = sharedPreferences; in TimerFragmentAdapter()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CorrectionSettingsFragment.java | 120 …public void onSharedPreferenceChanged(final SharedPreferences sharedPreferences, final String key)… in onSharedPreferenceChanged() argument 124 if (!sharedPreferences.getBoolean(key, false)) { in onSharedPreferenceChanged()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/ |
D | CountryDetector.java | 171 final SharedPreferences sharedPreferences = in getLocationBasedCountryIso() local 173 return sharedPreferences.getString(KEY_PREFERENCE_CURRENT_COUNTRY, null); in getLocationBasedCountryIso()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ApnEditor.java | 756 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument 760 pref.setSummary(starify(sharedPreferences.getString(key, ""))); in onSharedPreferenceChanged() 764 pref.setSummary(checkNull(sharedPreferences.getString(key, ""))); in onSharedPreferenceChanged()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserSettings.java | 339 SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument 349 mController.getUi().setUseQuickControls(sharedPreferences.getBoolean(key, false)); in onSharedPreferenceChanged()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/content/ |
D | SharedPreferences.java | 21 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() argument
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
D | WebViewPreview.java | 97 SharedPreferences sharedPreferences, String key) { in onSharedPreferenceChanged() argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
D | ContactsPreferences.java | 159 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, final String key) { in onSharedPreferenceChanged() argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 235 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, in onSharedPreferenceChanged() argument
|