Home
last modified time | relevance | path

Searched refs:SUNDAY (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.java36 import static java.util.Calendar.SUNDAY;
53 SAT_TO_FRI(SATURDAY, SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY),
54 SUN_TO_SAT(SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY),
55 MON_TO_SUN(MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY);
87 map.put(SUNDAY, 0x40); in map.put() argument
196 if (calendarDay < Calendar.SUNDAY) { in getDistanceToPreviousDay()
224 calendarDay = Calendar.SUNDAY; in getDistanceToNextDay()
267 if (isBitOn(SUNDAY)) { in toString()
296 for (int calendarDay = SUNDAY; calendarDay <= SATURDAY; calendarDay++) { in getCount()
DWeekdays.kt38 SAT_TO_FRI(Calendar.SATURDAY, Calendar.SUNDAY, Calendar.MONDAY,
40 SUN_TO_SAT(Calendar.SUNDAY, Calendar.MONDAY, Calendar.TUESDAY, Calendar.WEDNESDAY,
43 Calendar.FRIDAY, Calendar.SATURDAY, Calendar.SUNDAY);
71 map[Calendar.SUNDAY] = 0x40
169 if (calendarDay < Calendar.SUNDAY) { in getDistanceToPreviousDay()
197 calendarDay = Calendar.SUNDAY in getDistanceToNextDay()
237 if (isBitOn(Calendar.SUNDAY)) { in toString()
267 for (calendarDay in Calendar.SUNDAY..Calendar.SATURDAY) {
DSettingsDAO.java49 import static java.util.Calendar.SUNDAY;
255 case SUNDAY: return SUN_TO_SAT; in getWeekdayOrder()
DSettingsDAO.kt247 Calendar.SUNDAY -> Order.SUN_TO_SAT in getWeekdayOrder()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java599 return Time.SUNDAY; in getFirstDayOfWeek()
629 case Time.SUNDAY: in convertDayOfWeekFromTimeToCalendar()
630 return Calendar.SUNDAY; in convertDayOfWeekFromTimeToCalendar()
667 return (firstDayOfWeek == Time.SUNDAY && column == 6) in isSaturday()
680 return (firstDayOfWeek == Time.SUNDAY && column == 0) in isSunday()
1245 if (weekTime.weekDay == Time.SUNDAY in getWeekNumberFromTime()
1246 && (firstDayOfWeek == Time.SUNDAY || firstDayOfWeek == Time.SATURDAY)) { in getWeekNumberFromTime()
DDayView.java823 for (int i = Calendar.SUNDAY; i <= Calendar.SATURDAY; i++) { in init()
824 int index = i - Calendar.SUNDAY; in init()
2111 } else if (dayOfWeek == Time.SUNDAY) { in drawDayHeaderLoop()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DFormattedStringModel.kt140 for (i in Calendar.SUNDAY..Calendar.SATURDAY) { in getShortWeekday()
169 for (i in Calendar.SUNDAY..Calendar.SATURDAY) { in getLongWeekday()
DFormattedStringModel.java147 for (int i = Calendar.SUNDAY; i <= Calendar.SATURDAY; i++) { in getShortWeekday()
176 for (int i = Calendar.SUNDAY; i <= Calendar.SATURDAY; i++) { in getLongWeekday()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java247 for (int i = Calendar.SUNDAY; i <= Calendar.SATURDAY; i++) { in setUpHeader()
248 mDayLabels[i - Calendar.SUNDAY] = DateUtils.getDayOfWeekString(i, in setUpHeader()
330 } else if (position == Time.SUNDAY) { in updateHeader()
DMonthByWeekFragment.java319 for (int i = Calendar.SUNDAY; i <= Calendar.SATURDAY; i++) { in setUpHeader()
320 mDayLabels[i - Calendar.SUNDAY] = DateUtils.getDayOfWeekString(i, in setUpHeader()
DSimpleWeekView.java94 protected static final int DEFAULT_WEEK_START = Time.SUNDAY;
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java198 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.SUNDAY)); in testGetWeeksSinceEpochFromJulianDay()