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.kt100 for (calendarDay in calendarDays) { in fromCalendarDays() variable
101 val bit = sCalendarDayToBit[calendarDay] in fromCalendarDays()
127 fun setBit(calendarDay: Int, on: Boolean): Weekdays { in setBit()
128 val bit = sCalendarDayToBit[calendarDay] ?: return this in setBit()
145 fun isBitOn(calendarDay: Int): Boolean { in isBitOn()
146 val bit = sCalendarDayToBit[calendarDay] in isBitOn()
147 ?: throw IllegalArgumentException("$calendarDay is not a valid weekday") in isBitOn()
166 var calendarDay = time[Calendar.DAY_OF_WEEK] in getDistanceToPreviousDay() variable
168 calendarDay-- in getDistanceToPreviousDay()
169 if (calendarDay < Calendar.SUNDAY) { in getDistanceToPreviousDay()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DFormattedStringModel.kt135 fun getShortWeekday(calendarDay: Int): String? { in getShortWeekday()
147 return mShortWeekdayNames!![calendarDay] in getShortWeekday()
163 fun getLongWeekday(calendarDay: Int): String? { in getLongWeekday()
176 return mLongWeekdayNames!![calendarDay] in getLongWeekday()
DUiDataModel.kt149 fun getShortWeekday(calendarDay: Int): String? { in getShortWeekday()
151 return mFormattedStringModel.getShortWeekday(calendarDay) in getShortWeekday()
167 fun getLongWeekday(calendarDay: Int): String? { in getLongWeekday()
169 return mFormattedStringModel.getLongWeekday(calendarDay) in getLongWeekday()