Searched refs:getPreferences (Results 1 – 14 of 14) 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()
99 Editor ed = BrowserSettings.getInstance().getPreferences().edit(); in saveLoginTime()255 long lastLogin = BrowserSettings.getInstance().getPreferences() in isLoggedIn()
330 SharedPreferences prefs = BrowserSettings.getInstance().getPreferences(); in onCreate()353 SharedPreferences prefs = BrowserSettings.getInstance().getPreferences(); in onPause()
92 .getPreferences();
533 public SharedPreferences getPreferences() { in getPreferences() method in BrowserSettings
45 BrowserSettings.getInstance().getPreferences().edit() in onPreferenceClick()
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()
513 final SharedPreferences preferences = getActivity().getPreferences( in onCreateDialog()
2293 Preferences.getPreferences(getContext()).setLastUsedAccountId(accountId); in call()3735 Preferences.getPreferences(getContext()).getLastUsedAccountId(); in addCombinedAccountRow()