Home
last modified time | relevance | path

Searched defs:prefs (Results 1 – 25 of 128) sorted by relevance

123456

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAdvancedSettingsFragment.java57 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
DSettings.java156 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 …]
DDebugSettingsFragment.java127 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
DPreferencesSettingsFragment.java87 public void onSharedPreferenceChanged(final SharedPreferences prefs, final String key) { in onSharedPreferenceChanged()
97 final SharedPreferences prefs = getSharedPreferences(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local
/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefsImpl.java45 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
DRingtoneUtil.java36 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in getNotificationRingtoneUri() local
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailNotificationSettingsUtil.java49 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in setVibrationEnabled() local
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in isVibrationEnabled() local
62 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in setRingtoneUri() local
71 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in getRingtoneUri() local
86 Phone phone, SharedPreferences prefs) { in migrateVoicemailVibrationSettingsIfNeeded()
125 Phone phone, SharedPreferences prefs) { in migrateVoicemailRingtoneSettingsIfNeeded()
DVisualVoicemailSettingsUtil.java61 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVisualVoicemailEnabled() local
76 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isVisualVoicemailEnabled() local
96 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isVisualVoicemailUserSet() local
104 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setVisualVoicemailCredentialsFromStatusMessage() local
124 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVisualVoicemailCredentials() local
130 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVisualVoicemailRetryInterval() local
161 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getVisualVoicemailLastFullSyncTime() local
DVoicemailProviderSettingsUtil.java55 SharedPreferences prefs = getPrefs(context); in load() local
103 SharedPreferences prefs = getPrefs(context); in save() local
136 SharedPreferences prefs = getPrefs(context); in delete() local
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchService.java71 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this) ; in onStartCommand() local
278 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in saveNotification() local
296 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in showSavedNotification() local
317 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in clearSavedNotification() local
333 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in readFromSharedPrefs() local
341 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in readLapsFromPrefs() local
360 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in writeToSharedPrefs() local
399 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in writeSharedPrefsStarted() local
418 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in writeSharedPrefsLap() local
444 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences( in writeSharedPrefsStopped() local
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java85 public void writeToSharedPref(SharedPreferences prefs) { in writeToSharedPref()
106 public void readFromSharedPref(SharedPreferences prefs) { in readFromSharedPref()
119 public boolean deleteFromSharedPref(SharedPreferences prefs) { in deleteFromSharedPref()
200 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getNextTimerId() local
260 public static TimerObj getTimerFromSharedPrefs(SharedPreferences prefs, int timerId) { in getTimerFromSharedPrefs()
267 public static void getTimersFromSharedPrefs(SharedPreferences prefs, List<TimerObj> timers) { in getTimersFromSharedPrefs()
281 public static void getTimersFromSharedPrefs(SharedPreferences prefs, List<TimerObj> timers, in getTimersFromSharedPrefs()
292 public static void putTimersInSharedPrefs(SharedPreferences prefs, List<TimerObj> timers) { in putTimersInSharedPrefs()
298 public static void resetTimersInSharedPrefs(SharedPreferences prefs) { in resetTimersInSharedPrefs()
308 private static Set<String> getTimerIds(SharedPreferences prefs) { in getTimerIds()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCities.java32 SharedPreferences prefs, HashMap<String, CityObj> cities) { in saveCitiesToSharedPrefs()
46 public static HashMap<String, CityObj> readCitiesFromSharedPrefs(SharedPreferences prefs) { in readCitiesFromSharedPrefs()
60 private static void dumpCities(SharedPreferences prefs, String title) { in dumpCities()
/packages/apps/Messaging/src/com/android/messaging/ui/
DWidgetPickConversationActivity.java98 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/apps/FMRadio/src/com/android/fmradio/
DFmUtils.java213 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getLastSearchedLocation() local
226 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setLastSearchedLocation() local
239 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isFirstTimePlayFm() local
249 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setIsFirstTimePlayFm() local
259 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in isFirstEnterStationList() local
309 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getIsSpeakerModeOnFocusLost() local
320 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in setIsSpeakerModeOnFocusLost() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
DAccountsChangedReceiver.java48 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceive() local
66 private static void removeUnknownAccountFromPreference(final SharedPreferences prefs, in removeUnknownAccountFromPreference()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java115 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/apps/Calendar/src/com/android/calendar/
DCalendarUtils.java126 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/apps/Email/provider_src/com/android/email/provider/
DWidgetProvider.java49 final SharedPreferences prefs = context.getSharedPreferences(LEGACY_PREFS_NAME, 0); in onDeleted() local
89 final SharedPreferences prefs = context.getSharedPreferences(LEGACY_PREFS_NAME, 0); in migrateLegacyWidgetInformation() local
176 final SharedPreferences prefs = context.getSharedPreferences(LEGACY_PREFS_NAME, 0); in loadAccountIdPref() local
187 final SharedPreferences prefs = context.getSharedPreferences(LEGACY_PREFS_NAME, 0); in loadMailboxIdPref() local
/packages/apps/Email/provider_src/com/android/email/
DDebugUtils.java18 final Preferences prefs = Preferences.getPreferences(context); in init() local
32 Preferences prefs = Preferences.getPreferences(context); in updateLoggingFlags() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPackagesMonitor.java33 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in getPackagesVersion() local
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in onReceiveAsync() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothConnectionsManager.java28 … final SharedPreferences prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in onConnectionChanged() local
88 SharedPreferences prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in getConnectedSet() local
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/define/
DDebugFlags.java29 public static void init(final SharedPreferences prefs) { in init()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java87 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); in onRestoreFinished() local
122 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); in processRestoredData() local
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DRemoveReceiver.java33 SharedPreferences prefs = context.getSharedPreferences( in onReceive() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListPreference.java170 final SharedPreferences prefs = CommonPreferences.getCommonPreferences(context); in disableDict() local
186 final SharedPreferences prefs = CommonPreferences.getCommonPreferences(context); in enableDict() local
207 final SharedPreferences prefs = CommonPreferences.getCommonPreferences(context); in deleteDict() local

123456