Lines Matching refs:mSharedPreferences
79 private final SharedPreferences mSharedPreferences;
89 mSharedPreferences = context.getSharedPreferences(PREFERENCES_FILE, Context.MODE_PRIVATE);
106 return getPreferences(context).mSharedPreferences;
110 return getPreferences(context).mSharedPreferences.getString(ACCOUNT_UUIDS, null);
114 getPreferences(context).mSharedPreferences.edit().remove(ACCOUNT_UUIDS).apply();
118 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply();
122 return mSharedPreferences.getBoolean(ENABLE_DEBUG_LOGGING, false);
126 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply();
130 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_LOGGING, false);
134 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply();
138 return mSharedPreferences.getBoolean(ENABLE_EXCHANGE_FILE_LOGGING, false);
142 mSharedPreferences.edit().putBoolean(INHIBIT_GRAPHICS_ACCELERATION, value).apply();
146 return mSharedPreferences.getBoolean(INHIBIT_GRAPHICS_ACCELERATION, false);
150 mSharedPreferences.edit().putBoolean(FORCE_ONE_MINUTE_REFRESH, value).apply();
154 return mSharedPreferences.getBoolean(FORCE_ONE_MINUTE_REFRESH, false);
158 mSharedPreferences.edit().putBoolean(ENABLE_STRICT_MODE, value).apply();
162 return mSharedPreferences.getBoolean(ENABLE_STRICT_MODE, false);
171 String result = mSharedPreferences.getString(DEVICE_UID, null);
174 mSharedPreferences.edit().putString(DEVICE_UID, result).apply();
180 return mSharedPreferences.getInt(ONE_TIME_INITIALIZATION_PROGRESS, 0);
184 mSharedPreferences.edit().putInt(ONE_TIME_INITIALIZATION_PROGRESS, progress).apply();
188 return mSharedPreferences.getInt(AUTO_ADVANCE_DIRECTION, AUTO_ADVANCE_DEFAULT);
192 mSharedPreferences.edit().putInt(AUTO_ADVANCE_DIRECTION, direction).apply();
196 return mSharedPreferences.getInt(TEXT_ZOOM, TEXT_ZOOM_DEFAULT);
200 mSharedPreferences.edit().putInt(TEXT_ZOOM, zoom).apply();
204 return mSharedPreferences.getBoolean(BACKGROUND_ATTACHMENTS, false);
208 mSharedPreferences.edit().putBoolean(BACKGROUND_ATTACHMENTS, allowed).apply();
218 mTrustedSenders = parseEmailSet(mSharedPreferences.getString(TRUSTED_SENDERS, ""));
222 mSharedPreferences.edit().putString(TRUSTED_SENDERS, "").apply();
235 mSharedPreferences
247 mSharedPreferences
277 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT);
285 mSharedPreferences
320 mSharedPreferences.edit().clear().apply();
325 for (String key : mSharedPreferences.getAll().keySet()) {
326 Log.v(Logging.LOG_TAG, key + " = " + mSharedPreferences.getAll().get(key));
335 mSharedPreferences.edit().putBoolean(makeKey(account, key), value).apply();
342 return mSharedPreferences.getBoolean(makeKey(account, key), def);