/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.java | 73 static int getGlobalIntentId(SharedPreferences prefs) { in getGlobalIntentId() 80 static void updateGlobalIntentId(SharedPreferences prefs) { in updateGlobalIntentId() 88 static CitySort getCitySort(SharedPreferences prefs) { in getCitySort() 97 static void toggleCitySort(SharedPreferences prefs) { in toggleCitySort() 107 static boolean getAutoShowHomeClock(SharedPreferences prefs) { in getAutoShowHomeClock() 114 static TimeZone getHomeTimeZone(Context context, SharedPreferences prefs, TimeZone defaultTZ) { in getHomeTimeZone() 137 static ClockStyle getClockStyle(Context context, SharedPreferences prefs) { in getClockStyle() 144 static boolean getDisplayClockSeconds(SharedPreferences prefs) { in getDisplayClockSeconds() 151 static void setDisplayClockSeconds(SharedPreferences prefs, boolean displaySeconds) { in setDisplayClockSeconds() 159 static void setDefaultDisplayClockSeconds(Context context, SharedPreferences prefs) { in setDefaultDisplayClockSeconds() [all …]
|
D | StopwatchDAO.java | 58 static Stopwatch getStopwatch(SharedPreferences prefs) { in getStopwatch() 77 static void setStopwatch(SharedPreferences prefs, Stopwatch stopwatch) { in setStopwatch() 98 static List<Lap> getLaps(SharedPreferences prefs) { in getLaps() 131 static void addLap(SharedPreferences prefs, int newLapCount, long accumulatedTime) { in addLap() 141 static void clearLaps(SharedPreferences prefs) { in clearLaps()
|
D | CustomRingtoneDAO.java | 53 static CustomRingtone addCustomRingtone(SharedPreferences prefs, Uri uri, String title) { in addCustomRingtone() 71 static void removeCustomRingtone(SharedPreferences prefs, long id) { in removeCustomRingtone() 90 static List<CustomRingtone> getCustomRingtones(SharedPreferences prefs) { in getCustomRingtones() 104 private static Set<String> getRingtoneIds(SharedPreferences prefs) { in getRingtoneIds()
|
D | TimerDAO.java | 72 static List<Timer> getTimers(SharedPreferences prefs) { in getTimers() 105 static Timer addTimer(SharedPreferences prefs, Timer timer) { in addTimer() 138 static void updateTimer(SharedPreferences prefs, Timer timer) { in updateTimer() 158 static void removeTimer(SharedPreferences prefs, Timer timer) { in removeTimer() 186 private static Set<String> getTimerIds(SharedPreferences prefs) { in getTimerIds()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AdvancedSettingsFragment.java | 57 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in onCreate() local 100 final SharedPreferences prefs = getPreferenceManager().getSharedPreferences(); in onResume() local 105 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 118 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local 132 final SharedPreferences prefs = getSharedPreferences(); in setupKeypressVibrationDurationSettings() local 176 final SharedPreferences prefs = getSharedPreferences(); in setupKeypressSoundVolumeSettings() local 227 final SharedPreferences prefs = getSharedPreferences(); in setupKeyLongpressTimeoutSettings() local
|
D | Settings.java | 156 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 177 final SharedPreferences prefs = mPrefs; in loadSettings() local 204 public static boolean readKeypressSoundEnabled(final SharedPreferences prefs, in readKeypressSoundEnabled() 210 public static boolean readVibrationEnabled(final SharedPreferences prefs, in readVibrationEnabled() 217 public static boolean readAutoCorrectEnabled(final SharedPreferences prefs, in readAutoCorrectEnabled() 226 public static boolean readBlockPotentiallyOffensive(final SharedPreferences prefs, in readBlockPotentiallyOffensive() 236 public static boolean readGestureInputEnabled(final SharedPreferences prefs, in readGestureInputEnabled() 246 public static boolean readKeyPreviewPopupEnabled(final SharedPreferences prefs, in readKeyPreviewPopupEnabled() 256 public static int readKeyPreviewPopupDismissDelay(final SharedPreferences prefs, in readKeyPreviewPopupDismissDelay() 263 public static boolean readShowsLanguageSwitchKey(final SharedPreferences prefs) { in readShowsLanguageSwitchKey() [all …]
|
D | PreferencesSettingsFragment.java | 87 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 97 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local
|
D | DebugSettingsFragment.java | 127 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged() 154 final SharedPreferences prefs = getSharedPreferences(); in setupKeyPreviewAnimationScale() local 206 final SharedPreferences prefs = getSharedPreferences(); in setupKeyPreviewAnimationDuration() local 244 final SharedPreferences prefs = getSharedPreferences(); in setupKeyboardHeight() local
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BuglePrefsImpl.java | 45 final SharedPreferences prefs = mContext.getSharedPreferences( in getInt() local 53 final SharedPreferences prefs = mContext.getSharedPreferences( in getLong() local 61 final SharedPreferences prefs = mContext.getSharedPreferences( in getBoolean() local 69 final SharedPreferences prefs = mContext.getSharedPreferences( in getString() local 83 final SharedPreferences prefs = mContext.getSharedPreferences( in putInt() local 93 final SharedPreferences prefs = mContext.getSharedPreferences( in putLong() local 103 final SharedPreferences prefs = mContext.getSharedPreferences( in putBoolean() local 113 final SharedPreferences prefs = mContext.getSharedPreferences( in putString() local 129 final SharedPreferences prefs = mContext.getSharedPreferences( in remove() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsFunctionsControllerTest.java | 112 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_allAllowed_shouldCreatePrefs() local 138 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_onlyMidiAllowed_shouldCreateOnlyMidiPref() local 150 List<RadioButtonPreference> prefs = getRadioPreferences(); in displayRefresh_mtpEnabled_shouldCheckSwitches() local 164 List<RadioButtonPreference> prefs = getRadioPreferences(); in onClickMtp_noneEnabled_shouldEnableMtp() local 182 List<RadioButtonPreference> prefs = getRadioPreferences(); in onClickMtp_ptpEnabled_shouldEnableMtp() local 203 List<RadioButtonPreference> prefs = getRadioPreferences(); in onClickNone_mtpEnabled_shouldDisableMtp() local
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | TabDAO.java | 36 static Tab getSelectedTab(SharedPreferences prefs) { in getSelectedTab() 44 static void setSelectedTab(SharedPreferences prefs, Tab tab) { in setSelectedTab()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | QsService.java | 51 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in update() local 67 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in onClick() local
|
D | Receiver.java | 74 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local 100 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in updateTracing() local 224 private static void postCategoryNotification(Context context, SharedPreferences prefs) { in postCategoryNotification() 274 …public static Set<String> getActiveTags(Context context, SharedPreferences prefs, boolean onlyAvai… in getActiveTags() 287 public static Set<String> getActiveUnavailableTags(Context context, SharedPreferences prefs) { in getActiveUnavailableTags()
|
D | UserConsentActivityDialog.java | 90 final SharedPreferences prefs = in getShowDialogState() local 96 final SharedPreferences prefs = in setShowDialogState() local
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | WidgetPickConversationActivity.java | 98 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in saveConversationidPref() local 104 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in getConversationIdPref() local 110 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in deleteConversationIdPref() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiver.java | 48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local 66 private static void removeUnknownAccountFromPreference(final SharedPreferences prefs, in removeUnknownAccountFromPreference()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
D | PreferencesMonitor.java | 43 SharedPreferences prefs, in PreferencesMonitor() 60 void onSharedPreferenceChanged(SharedPreferences prefs, String key) { in onSharedPreferenceChanged()
|
D | PrefsBackupHelper.java | 45 void getBackupPreferences(SharedPreferences prefs) { in getBackupPreferences() 56 void putBackupPreferences(SharedPreferences prefs) { in putBackupPreferences()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/ |
D | VisualVoicemailSettingsUtil.java | 139 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isEnabled() local 151 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isArchiveEnabled() local 159 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isVoicemailTranscriptionEnabled() local 167 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isVoicemailDonationEnabled() local 181 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); in isEnabledUserSet() local
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); in onQueryComplete() local 223 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); in setTimeZone() local 273 SharedPreferences prefs = getSharedPreferences(context, mPrefsName); in getTimeZone() local 330 public static void setSharedPreference(SharedPreferences prefs, String key, String value) { in setSharedPreference() 345 public static void setSharedPreference(SharedPreferences prefs, String key, boolean value) { in setSharedPreference()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardTheme.java | 115 static KeyboardTheme getDefaultKeyboardTheme(final SharedPreferences prefs, in getDefaultKeyboardTheme() 150 public static void saveKeyboardThemeId(final int themeId, final SharedPreferences prefs) { in saveKeyboardThemeId() 163 static void saveKeyboardThemeId(final int themeId, final SharedPreferences prefs, in saveKeyboardThemeId() 170 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getKeyboardTheme() local 195 static KeyboardTheme getKeyboardTheme(final SharedPreferences prefs, final int sdkVersion, in getKeyboardTheme()
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | Watchdog.java | 47 public Watchdog(Context context, TextView view, SharedPreferences prefs) { in Watchdog() 88 private LinkedList<String> getEventsFromSharedPrefs(SharedPreferences prefs) { in getEventsFromSharedPrefs() 97 private void saveEventsToSharedPrefs(SharedPreferences prefs, LinkedList<String> list) { in saveEventsToSharedPrefs()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | DoubleTapPowerPreferenceControllerTest.java | 113 final SharedPreferences prefs = in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited() local 123 final SharedPreferences prefs = in isSuggestionCompleted_doubleTapPower_trueWhenVisited() local
|
D | DoubleTapScreenPreferenceControllerTest.java | 80 final SharedPreferences prefs = in isSuggestionCompleted_ambientDisplay_falseWhenNotVisited() local 91 final SharedPreferences prefs = in isSuggestionCompleted_ambientDisplay_trueWhenVisited() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PackagesMonitor.java | 34 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion() local 59 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync() local
|