Home
last modified time | relevance | path

Searched refs:CalendarInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeEventRuleSettings.java100 List<CalendarInfo> calendars = getCalendars(mContext); in reloadCalendar()
106 for (CalendarInfo calendar : calendars) { in reloadCalendar()
187 private List<CalendarInfo> getCalendars(Context context) { in getCalendars()
188 final List<CalendarInfo> calendars = new ArrayList<>(); in getCalendars()
207 private void addCalendars(Context context, List<CalendarInfo> outCalendars) { in addCalendars()
231 void addCalendar(long calendarId, String calName, int userId, List<CalendarInfo> in addCalendar()
233 final CalendarInfo ci = new CalendarInfo(); in addCalendar()
242 private static String key(CalendarInfo calendar) { in key()
255 private static final Comparator<CalendarInfo> CALENDAR_NAME = new Comparator<CalendarInfo>() {
257 public int compare(CalendarInfo lhs, CalendarInfo rhs) {
[all …]
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetCalendarPreferenceController.java96 List<CalendarInfo> calendars = getCalendars(mContext); in reloadCalendar()
102 for (CalendarInfo calendar : calendars) { in reloadCalendar()
170 private List<CalendarInfo> getCalendars(Context context) { in getCalendars()
171 final List<CalendarInfo> calendars = new ArrayList<>(); in getCalendars()
190 private void addCalendars(Context context, List<CalendarInfo> outCalendars) { in addCalendars()
216 List<CalendarInfo> outCalendars) { in addCalendar()
217 final CalendarInfo ci = new CalendarInfo(); in addCalendar()
226 private static String key(CalendarInfo calendar) { in key()
242 protected static final Comparator<CalendarInfo> CALENDAR_NAME = Comparator.comparing(
245 public static class CalendarInfo { class
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeSetCalendarPreferenceControllerTest.java129 List<ZenModeSetCalendarPreferenceController.CalendarInfo> calendarsList = new ArrayList<>(); in testNoDuplicateCalendars()
138 List<ZenModeSetCalendarPreferenceController.CalendarInfo> calendarsList = new ArrayList<>(); in testCalendarInfoSortByName()
144 List<ZenModeSetCalendarPreferenceController.CalendarInfo> sortedList = new ArrayList<>(); in testCalendarInfoSortByName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeEventRuleSettingsTest.java131 List<ZenModeEventRuleSettings.CalendarInfo> calendarsList = new ArrayList<>(); in testNoDuplicateCalendars()