Home
last modified time | relevance | path

Searched refs:calendarDay (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.java122 for (int calendarDay : calendarDays) { in fromCalendarDays()
123 final Integer bit = sCalendarDayToBit.get(calendarDay); in fromCalendarDays()
145 public Weekdays setBit(int calendarDay, boolean on) { in setBit() argument
146 final Integer bit = sCalendarDayToBit.get(calendarDay); in setBit()
166 public boolean isBitOn(int calendarDay) { in isBitOn() argument
167 final Integer bit = sCalendarDayToBit.get(calendarDay); in isBitOn()
169 throw new IllegalArgumentException(calendarDay + " is not a valid weekday"); in isBitOn()
193 int calendarDay = time.get(DAY_OF_WEEK); in getDistanceToPreviousDay() local
195 calendarDay--; in getDistanceToPreviousDay()
196 if (calendarDay < Calendar.SUNDAY) { in getDistanceToPreviousDay()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DFormattedStringModel.java142 String getShortWeekday(int calendarDay) { in getShortWeekday() argument
154 return mShortWeekdayNames.get(calendarDay); in getShortWeekday()
170 String getLongWeekday(int calendarDay) { in getLongWeekday() argument
183 return mLongWeekdayNames.get(calendarDay); in getLongWeekday()
DUiDataModel.java170 public String getShortWeekday(int calendarDay) { in getShortWeekday() argument
172 return mFormattedStringModel.getShortWeekday(calendarDay); in getShortWeekday()
188 public String getLongWeekday(int calendarDay) { in getLongWeekday() argument
190 return mFormattedStringModel.getLongWeekday(calendarDay); in getLongWeekday()