Home
last modified time | relevance | path

Searched refs:Weekdays (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.kt32 class Weekdays private constructor(bits: Int) { class
80 fun fromBits(bits: Int): Weekdays { in fromBits()
81 return Weekdays(bits) in fromBits()
98 fun fromCalendarDays(vararg calendarDays: Int): Weekdays { in fromCalendarDays()
106 return Weekdays(bits) in fromCalendarDays()
127 fun setBit(calendarDay: Int, on: Boolean): Weekdays { in setBit()
129 return Weekdays(if (on) bits or bit else bits and bit.inv()) in setBit()
208 val weekdays = other as Weekdays in equals()
DSettingsModel.kt128 val weekdayOrder: Weekdays.Order
DSettingsDAO.kt32 import com.android.deskclock.data.Weekdays.Order
DDataModel.kt1023 val weekdayOrder: Weekdays.Order
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt31 import com.android.deskclock.data.Weekdays
107 alarm.daysOfWeek = Weekdays.fromBits(bitSet) in setAlarmRepeatEnabled()
109 alarm.daysOfWeek = Weekdays.ALL in setAlarmRepeatEnabled()
117 alarm.daysOfWeek = Weekdays.NONE in setAlarmRepeatEnabled()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.kt34 import com.android.deskclock.data.Weekdays
58 var daysOfWeek: Weekdays
84 daysOfWeek = Weekdays.NONE
95 daysOfWeek = Weekdays.fromBits(c.getInt(DAYS_OF_WEEK_INDEX))
119 daysOfWeek = Weekdays.fromBits(p.readInt())
DClockDatabaseHelper.kt30 import com.android.deskclock.data.Weekdays
100 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)) in onUpgrade()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.kt37 import com.android.deskclock.data.Weekdays
478 args.add(getDaysFromIntent(intent, Weekdays.NONE).bits.toString()) in setSelectionFromIntent()
571 private fun getDaysFromIntent(intent: Intent, defaultWeekdays: Weekdays): Weekdays { in getDaysFromIntent()
582 return Weekdays.fromCalendarDays(*daysArray) in getDaysFromIntent()
587 return Weekdays.fromCalendarDays(*daysArray) in getDaysFromIntent()
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/
DAlarmSelectionAdapter.kt27 import com.android.deskclock.data.Weekdays
64 val weekdayOrder: Weekdays.Order = DataModel.dataModel.weekdayOrder in getView()