Home
last modified time | relevance | path

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

12345

/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/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.java52 final SharedPreferences prefs = getSharedPreferences(context); in getCitySort() local
63 final SharedPreferences prefs = getSharedPreferences(context); in toggleCitySort() local
72 final SharedPreferences prefs = getSharedPreferences(context); in getAutoShowHomeClock() local
80 final SharedPreferences prefs = getSharedPreferences(context); in getHomeTimeZone() local
92 final SharedPreferences prefs = getSharedPreferences(context); in setDefaultHomeTimeZone() local
118 final SharedPreferences prefs = getSharedPreferences(context); in getTimerRingtoneUri() local
128 final SharedPreferences prefs = getSharedPreferences(context); in getDefaultAlarmRingtoneUri() local
137 final SharedPreferences prefs = getSharedPreferences(context); in setDefaultAlarmRingtoneUri() local
143 final SharedPreferences prefs = getSharedPreferences(context); in getClockStyle() local
DTimerDAO.java76 final SharedPreferences prefs = getSharedPreferences(context); in getTimers() local
109 final SharedPreferences prefs = getSharedPreferences(context); in addTimer() local
142 final SharedPreferences prefs = getSharedPreferences(context); in updateTimer() local
162 final SharedPreferences prefs = getSharedPreferences(context); in removeTimer() local
190 final SharedPreferences prefs = getSharedPreferences(context); in getTimerIds() local
DStopwatchDAO.java62 final SharedPreferences prefs = getSharedPreferences(context); in getStopwatch() local
74 final SharedPreferences prefs = getSharedPreferences(context); in setStopwatch() local
94 final SharedPreferences prefs = getSharedPreferences(context); in getLaps() local
139 final SharedPreferences prefs = getSharedPreferences(context); in clearLaps() 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/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/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()
DUtils.java221 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(activity); in getViewTypeFromIntentAndSharedPref() local
310 public static boolean getDefaultVibrate(Context context, SharedPreferences prefs) { in getDefaultVibrate()
331 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() local
341 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() local
346 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() local
351 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference() local
363 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference() local
368 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference() local
385 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference() local
392 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference() local
[all …]
/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/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/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.java32 final SharedPreferences prefs = in onConnectionChanged() local
87 SharedPreferences prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE); in getConnectedSet() local
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java92 final SharedPreferences prefs = Utils.getDefaultSharedPreferences(this); in onRestoreFinished() local
116 final SharedPreferences prefs = Utils.getDefaultSharedPreferences(context); in processRestoredData() local
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/define/
DDebugFlags.java29 public static void init(final SharedPreferences prefs) { in init()
/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
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListFilter.java163 public static void storeToPreferences(SharedPreferences prefs, ContactListFilter filter) { in storeToPreferences()
179 public static ContactListFilter restoreDefaultPreferences(SharedPreferences prefs) { in restoreDefaultPreferences()
193 private static ContactListFilter restoreFromPreferences(SharedPreferences prefs) { in restoreFromPreferences()

12345