Home | History | Annotate | Download | only in calendar

Lines Matching defs:string

59     static final String SHARED_PREFS_NAME = "com.android.calendar_preferences";
60 static final String SHARED_PREFS_NAME_NO_BACKUP = "com.android.calendar_preferences_no_backup";
62 private static final String FRAG_TAG_TIME_ZONE_PICKER = "TimeZonePicker";
65 public static final String KEY_HIDE_DECLINED = "preferences_hide_declined";
66 public static final String KEY_WEEK_START_DAY = "preferences_week_start_day";
67 public static final String KEY_SHOW_WEEK_NUM = "preferences_show_week_num";
68 public static final String KEY_DAYS_PER_WEEK = "preferences_days_per_week";
69 public static final String KEY_SKIP_SETUP = "preferences_skip_setup";
71 public static final String KEY_CLEAR_SEARCH_HISTORY = "preferences_clear_search_history";
73 public static final String KEY_ALERTS_CATEGORY = "preferences_alerts_category";
74 public static final String KEY_ALERTS = "preferences_alerts";
75 public static final String KEY_ALERTS_VIBRATE = "preferences_alerts_vibrate";
76 public static final String KEY_ALERTS_RINGTONE = "preferences_alerts_ringtone";
77 public static final String KEY_ALERTS_POPUP = "preferences_alerts_popup";
79 public static final String KEY_SHOW_CONTROLS = "preferences_show_controls";
81 public static final String KEY_DEFAULT_REMINDER = "preferences_default_reminder";
83 public static final String NO_REMINDER_STRING = "-1";
86 public static final String KEY_DEFAULT_CELL_HEIGHT = "preferences_default_cell_height";
87 public static final String KEY_VERSION = "preferences_version";
90 public static final String KEY_START_VIEW = "preferred_startView";
95 public static final String KEY_DETAILED_VIEW = "preferred_detailedView";
96 public static final String KEY_DEFAULT_CALENDAR = "preference_defaultCalendar";
99 public static final String WEEK_START_DEFAULT = "-1";
100 public static final String WEEK_START_SATURDAY = "7";
101 public static final String WEEK_START_SUNDAY = "1";
102 public static final String WEEK_START_MONDAY = "2";
105 private static final String KEY_ALERTS_TYPE = "preferences_alerts_type";
106 private static final String ALERT_TYPE_ALERTS = "0";
107 private static final String ALERT_TYPE_STATUS_BAR = "1";
108 private static final String ALERT_TYPE_OFF = "2";
109 static final String KEY_HOME_TZ_ENABLED = "preferences_home_tz_enabled";
110 static final String KEY_HOME_TZ = "preferences_home_tz";
117 public static final String DEFAULT_RINGTONE = "content://settings/system/notification_sound";
130 private String mTimeZoneId;
169 String ringToneUri = Utils.getRingTonePreference(activity);
176 String ringtoneDisplayString = getRingtoneTitleFromUri(activity, ringToneUri);
280 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
305 String tz;
322 mWeekStart.setValue((String) newValue);
325 mDefaultReminder.setValue((String) newValue);
328 if (newValue instanceof String) {
329 Utils.setRingTonePreference(activity, (String) newValue);
330 String ringtone = getRingtoneTitleFromUri(activity, (String) newValue);
343 public String getRingtoneTitleFromUri(Context context, String uri) {
367 String type = prefs.getString(KEY_ALERTS_TYPE, ALERT_TYPE_STATUS_BAR);
407 final String key = preference.getKey();
413 Toast.makeText(getActivity(), R.string.search_history_cleared,