Home
last modified time | relevance | path

Searched refs:daysOfWeek (Results 1 – 10 of 10) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.kt45 val daysOfWeek: TextView = itemView.findViewById(R.id.days_of_week) as TextView in <lambda>() constant
97 if (alarm.daysOfWeek.isRepeating) { in <lambda>()
99 val daysOfWeekText = alarm.daysOfWeek.toString(context, weekdayOrder) in <lambda>()
100 daysOfWeek.text = daysOfWeekText in <lambda>()
102 val string = alarm.daysOfWeek.toAccessibilityString(context, weekdayOrder) in <lambda>()
103 daysOfWeek.setContentDescription(string) in <lambda>()
105 daysOfWeek.visibility = View.VISIBLE in <lambda>()
107 daysOfWeek.visibility = View.GONE in <lambda>()
112 if (alarm.daysOfWeek.isRepeating) { in <lambda>()
176 ObjectAnimator.ofFloat(daysOfWeek, View.ALPHA, 0f), in <lambda>()
[all …]
DExpandedAlarmViewHolder.kt173 if (alarm.daysOfWeek.isBitOn(weekdays[i])) { in <lambda>()
183 if (alarm.daysOfWeek.isRepeating) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleDaysSelection.java54 int[] daysOfWeek = getDaysOfWeekForLocale(c); in ZenModeScheduleDaysSelection() local
56 for (int i = 0; i < daysOfWeek.length; i++) { in ZenModeScheduleDaysSelection()
57 final int day = daysOfWeek[i]; in ZenModeScheduleDaysSelection()
90 int[] daysOfWeek = new int[7]; in getDaysOfWeekForLocale() local
92 for (int i = 0; i < daysOfWeek.length; i++) { in getDaysOfWeekForLocale()
94 daysOfWeek[i] = currentDay; in getDaysOfWeekForLocale()
97 return daysOfWeek; in getDaysOfWeekForLocale()
DZenModeScheduleRuleSettings.java157 int[] daysOfWeek = ZenModeScheduleDaysSelection.getDaysOfWeekForLocale(c); in updateDays() local
158 for (int i = 0; i < daysOfWeek.length; i++) { in updateDays()
159 final int day = daysOfWeek[i]; in updateDays()
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/
DAlarmSelectionAdapter.kt56 val daysOfWeek: String in getView() constant
57 daysOfWeek = if (!alarm.daysOfWeek.isRepeating) { in getView()
65 alarm.daysOfWeek.toString(context, weekdayOrder) in getView()
68 val daysOfWeekView = row.findViewById<View>(R.id.daysOfWeek) as TextView in getView()
69 daysOfWeekView.text = daysOfWeek in getView()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt107 alarm.daysOfWeek = Weekdays.fromBits(bitSet) in setAlarmRepeatEnabled()
108 if (!alarm.daysOfWeek.isRepeating) { in setAlarmRepeatEnabled()
109 alarm.daysOfWeek = Weekdays.ALL in setAlarmRepeatEnabled()
113 val bitSet = alarm.daysOfWeek.bits in setAlarmRepeatEnabled()
117 alarm.daysOfWeek = Weekdays.NONE in setAlarmRepeatEnabled()
132 alarm.daysOfWeek = alarm.daysOfWeek.setBit(weekday, checked) in setDayOfWeekEnabled()
DAlarmStateManager.kt313 if (!alarm.daysOfWeek.isRepeating) { in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.kt58 var daysOfWeek: Weekdays variable in com.android.deskclock.provider.Alarm
84 daysOfWeek = Weekdays.NONE
95 daysOfWeek = Weekdays.fromBits(c.getInt(DAYS_OF_WEEK_INDEX))
119 daysOfWeek = Weekdays.fromBits(p.readInt())
152 p.writeInt(daysOfWeek.bits) in writeToParcel()
185 val subtractDays = daysOfWeek.getDistanceToPreviousDay(previousInstanceTime) in getPreviousAlarmTime()
210 val addDays = daysOfWeek.getDistanceToNextDay(nextInstanceTime) in getNextAlarmTime()
239 ", daysOfWeek=" + daysOfWeek + in toString()
329 values.put(AlarmsColumns.DAYS_OF_WEEK, alarm.daysOfWeek.bits) in createContentValues()
DClockDatabaseHelper.kt100 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)) in onUpgrade()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.kt275 alarm.deleteAfterUse = !alarm.daysOfWeek.isRepeating && skipUi in handleSetAlarm()
563 alarm.daysOfWeek = getDaysFromIntent(intent, alarm.daysOfWeek) in updateAlarmFromIntent()