Searched refs:daysOfWeek (Results 1 – 10 of 10) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | CollapsedAlarmViewHolder.kt | 45 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 …]
|
D | ExpandedAlarmViewHolder.kt | 173 if (alarm.daysOfWeek.isBitOn(weekdays[i])) { in <lambda>() 183 if (alarm.daysOfWeek.isRepeating) { in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeScheduleDaysSelection.java | 54 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()
|
D | ZenModeScheduleRuleSettings.java | 157 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/ |
D | AlarmSelectionAdapter.kt | 56 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/ |
D | AlarmTimeClickHandler.kt | 107 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()
|
D | AlarmStateManager.kt | 313 if (!alarm.daysOfWeek.isRepeating) { in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.kt | 58 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()
|
D | ClockDatabaseHelper.kt | 100 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)) in onUpgrade()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.kt | 275 alarm.deleteAfterUse = !alarm.daysOfWeek.isRepeating && skipUi in handleSetAlarm() 563 alarm.daysOfWeek = getDaysFromIntent(intent, alarm.daysOfWeek) in updateAlarmFromIntent()
|