Lines Matching full:generalpreferences
221 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(activity);
229 return prefs.getInt(GeneralPreferences.KEY_DETAILED_VIEW,
230 GeneralPreferences.DEFAULT_DETAILED_VIEW);
239 GeneralPreferences.KEY_START_VIEW, GeneralPreferences.DEFAULT_START_VIEW);
324 vibrate = prefs.getBoolean(GeneralPreferences.KEY_ALERTS_VIBRATE,
331 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
341 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
346 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
351 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
363 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
368 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
385 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
392 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
400 GeneralPreferences.SHARED_PREFS_NAME, Context.MODE_PRIVATE);
415 GeneralPreferences.SHARED_PREFS_NAME_NO_BACKUP, Context.MODE_PRIVATE);
416 String ringtone = prefs.getString(GeneralPreferences.KEY_ALERTS_RINGTONE, null);
423 ringtone = getSharedPreference(context, GeneralPreferences.KEY_ALERTS_RINGTONE,
424 GeneralPreferences.DEFAULT_RINGTONE);
435 GeneralPreferences.SHARED_PREFS_NAME_NO_BACKUP, Context.MODE_PRIVATE);
436 prefs.edit().putString(GeneralPreferences.KEY_ALERTS_RINGTONE, value).apply();
446 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
459 editor.putInt(GeneralPreferences.KEY_DETAILED_VIEW, viewId);
463 editor.putInt(GeneralPreferences.KEY_START_VIEW, viewId);
627 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
629 GeneralPreferences.KEY_WEEK_START_DAY, GeneralPreferences.WEEK_START_DEFAULT);
632 if (GeneralPreferences.WEEK_START_DEFAULT.equals(pref)) {
685 final SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
687 GeneralPreferences.KEY_SHOW_WEEK_NUM, GeneralPreferences.DEFAULT_SHOW_WEEK_NUM);
694 final SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
695 return prefs.getBoolean(GeneralPreferences.KEY_HIDE_DECLINED, false);
699 final SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context);
700 return prefs.getInt(GeneralPreferences.KEY_DAYS_PER_WEEK, 7);