Lines Matching refs:GeneralPreferences
219 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(activity); in getViewTypeFromIntentAndSharedPref()
227 return prefs.getInt(GeneralPreferences.KEY_DETAILED_VIEW, in getViewTypeFromIntentAndSharedPref()
228 GeneralPreferences.DEFAULT_DETAILED_VIEW); in getViewTypeFromIntentAndSharedPref()
237 GeneralPreferences.KEY_START_VIEW, GeneralPreferences.DEFAULT_START_VIEW); in getViewTypeFromIntentAndSharedPref()
315 vibrate = prefs.getBoolean(GeneralPreferences.KEY_ALERTS_VIBRATE, in getDefaultVibrate()
322 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference()
332 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference()
337 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference()
342 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getSharedPreference()
354 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference()
359 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference()
376 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference()
383 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setSharedPreference()
391 GeneralPreferences.SHARED_PREFS_NAME, Context.MODE_PRIVATE); in removeSharedPreference()
402 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in setDefaultView()
415 editor.putInt(GeneralPreferences.KEY_DETAILED_VIEW, viewId); in setDefaultView()
419 editor.putInt(GeneralPreferences.KEY_START_VIEW, viewId); in setDefaultView()
583 SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getFirstDayOfWeek()
585 GeneralPreferences.KEY_WEEK_START_DAY, GeneralPreferences.WEEK_START_DEFAULT); in getFirstDayOfWeek()
588 if (GeneralPreferences.WEEK_START_DEFAULT.equals(pref)) { in getFirstDayOfWeek()
641 final SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getShowWeekNumber()
643 GeneralPreferences.KEY_SHOW_WEEK_NUM, GeneralPreferences.DEFAULT_SHOW_WEEK_NUM); in getShowWeekNumber()
650 final SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getHideDeclinedEvents()
651 return prefs.getBoolean(GeneralPreferences.KEY_HIDE_DECLINED, false); in getHideDeclinedEvents()
655 final SharedPreferences prefs = GeneralPreferences.getSharedPreferences(context); in getDaysPerWeek()
656 return prefs.getInt(GeneralPreferences.KEY_DAYS_PER_WEEK, 7); in getDaysPerWeek()