Searched defs:firstDay (Results 1 - 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DDaysOfWeek.java71 public String toString(Context context, int firstDay) { argument
72 return toString(context, firstDay, false /* forAccessibility */);
75 public String toAccessibilityString(Context context, int firstDay) { argument
76 return toString(context, firstDay, true /* forAccessibility */);
79 private String toString(Context context, int firstDay, boolean forAccessibility) { argument
108 final int startDay = convertDayToBitIndex(firstDay);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java625 * @param firstDay is the result from getZeroIndexedFirstDayOfWeek
628 public static String getShortWeekday(int position, int firstDay) { argument
630 return sShortWeekdays[(position + firstDay) % DaysOfWeek.DAYS_IN_A_WEEK];
634 * @param firstDay is the result from getZeroIndexedFirstDayOfWeek
637 public static String getLongWeekday(int position, int firstDay) { argument
639 return sLongWeekdays[(position + firstDay) % DaysOfWeek.DAYS_IN_A_WEEK];
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java2127 final int firstDay = Math.max(event.startDay, mFirstJulianDay);
2129 for (int day = firstDay; day <= lastDay; day++) {
2856 private void drawAllDayEvents(int firstDay, int numDays, Canvas canvas, Paint p) { argument
2889 int lastDay = firstDay + numDays - 1;
2921 if (startDay > lastDay || endDay < firstDay) {
2924 if (startDay < firstDay) {
2925 startDay = firstDay;
2930 int startIndex = startDay - firstDay;
2931 int endIndex = endDay - firstDay;

Completed in 234 milliseconds