Searched refs:getPreferences (Results 1 – 11 of 11) sorted by relevance
325 return getPreferences().getString(LAST_VIEWED_ACCOUNT_KEY, null); in getLastViewedAccount()332 final SharedPreferences.Editor editor = getPreferences().edit(); in setLastViewedAccount()342 return getPreferences().getString(LAST_SENT_FROM_ACCOUNT_KEY, null); in getLastSentFromAccount()350 final SharedPreferences.Editor editor = getPreferences().edit(); in setLastSentFromAccount()358 final String accountsJson = getPreferences().getString(ACCOUNT_LIST_KEY, null); in loadCachedAccountList()412 final SharedPreferences.Editor editor = getPreferences().edit(); in cacheAccountList()417 private SharedPreferences getPreferences() { in getPreferences() method in MailAppProvider
101 public static synchronized Preferences getPreferences(Context context) { in getPreferences() method in Preferences109 return getPreferences(context).mSharedPreferences; in getSharedPreferences()113 return getPreferences(context).mSharedPreferences.getString(ACCOUNT_UUIDS, null); in getLegacyBackupPreference()117 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply(); in clearLegacyBackupPreference()
18 final Preferences prefs = Preferences.getPreferences(context); in init()32 Preferences prefs = Preferences.getPreferences(context); in updateLoggingFlags()
23 List<Preference> getPreferences(); in getPreferences() method
83 for (Preference preference : preferenceManager.getPreferences()) { in addExtraPreferences()
55 mPreferences = Preferences.getPreferences(context); in onCreateView()
73 final Preferences preferences = Preferences.getPreferences(context); in migrate()
311 final Preferences pref = Preferences.getPreferences(this); in performOneTimeInitialization()
228 String devUID = Preferences.getPreferences(context).getDeviceUID(); in getImapId()
494 final SharedPreferences preferences = getActivity().getPreferences( in onCreateDialog()
2293 Preferences.getPreferences(getContext()).setLastUsedAccountId(accountId); in call()3735 Preferences.getPreferences(getContext()).getLastUsedAccountId(); in addCombinedAccountRow()