/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | CollapsedAlarmViewHolder.java | 51 public final TextView daysOfWeek; field in CollapsedAlarmViewHolder 59 daysOfWeek = (TextView) itemView.findViewById(R.id.days_of_week); in CollapsedAlarmViewHolder() 122 if (alarm.daysOfWeek.isRepeating()) { in bindRepeatText() 124 final String daysOfWeekText = alarm.daysOfWeek.toString(context, weekdayOrder); in bindRepeatText() 125 daysOfWeek.setText(daysOfWeekText); in bindRepeatText() 127 final String string = alarm.daysOfWeek.toAccessibilityString(context, weekdayOrder); in bindRepeatText() 128 daysOfWeek.setContentDescription(string); in bindRepeatText() 130 daysOfWeek.setVisibility(View.VISIBLE); in bindRepeatText() 132 daysOfWeek.setVisibility(View.GONE); in bindRepeatText() 137 if (alarm.daysOfWeek.isRepeating()) { in bindUpcomingInstance() [all …]
|
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>()
|
D | ExpandedAlarmViewHolder.java | 222 if (alarm.daysOfWeek.isBitOn(weekdays.get(i))) { in bindDaysOfWeekButtons() 231 if (alarm.daysOfWeek.isRepeating()) { in bindDaysOfWeekButtons()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/ |
D | AlarmSelectionAdapter.java | 62 final String daysOfWeek; in getView() local 63 if (!alarm.daysOfWeek.isRepeating()) { in getView() 64 daysOfWeek = Alarm.isTomorrow(alarm, Calendar.getInstance()) ? in getView() 69 daysOfWeek = alarm.daysOfWeek.toString(context, weekdayOrder); in getView() 72 final TextView daysOfWeekView = (TextView) row.findViewById(R.id.daysOfWeek); in getView() 73 daysOfWeekView.setText(daysOfWeek); in getView()
|
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/Settings/src/com/android/settings/notification/ |
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
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/alarms/ |
D | AlarmTimeClickHandler.kt | 108 alarm.daysOfWeek = Weekdays.fromBits(bitSet) in setAlarmRepeatEnabled() 109 if (!alarm.daysOfWeek.isRepeating) { in setAlarmRepeatEnabled() 110 alarm.daysOfWeek = Weekdays.ALL in setAlarmRepeatEnabled() 114 val bitSet = alarm.daysOfWeek.bits in setAlarmRepeatEnabled() 118 alarm.daysOfWeek = Weekdays.NONE in setAlarmRepeatEnabled() 133 alarm.daysOfWeek = alarm.daysOfWeek.setBit(weekday, checked) in setDayOfWeekEnabled()
|
D | AlarmTimeClickHandler.java | 114 alarm.daysOfWeek = Weekdays.fromBits(bitSet); in setAlarmRepeatEnabled() 115 if (!alarm.daysOfWeek.isRepeating()) { in setAlarmRepeatEnabled() 116 alarm.daysOfWeek = Weekdays.ALL; in setAlarmRepeatEnabled() 120 final int bitSet = alarm.daysOfWeek.getBits(); in setAlarmRepeatEnabled() 124 alarm.daysOfWeek = Weekdays.NONE; in setAlarmRepeatEnabled() 140 alarm.daysOfWeek = alarm.daysOfWeek.setBit(weekday, checked); in setDayOfWeekEnabled()
|
D | AlarmStateManager.kt | 314 if (!alarm.daysOfWeek.isRepeating) { in <lambda>()
|
D | AlarmStateManager.java | 270 if (!alarm.daysOfWeek.isRepeating()) { in updateParentAlarm()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.kt | 59 var daysOfWeek: Weekdays variable in com.android.deskclock.provider.Alarm 85 daysOfWeek = Weekdays.NONE 96 daysOfWeek = Weekdays.fromBits(c.getInt(DAYS_OF_WEEK_INDEX)) 120 daysOfWeek = Weekdays.fromBits(p.readInt()) 153 p.writeInt(daysOfWeek.bits) in writeToParcel() 186 val subtractDays = daysOfWeek.getDistanceToPreviousDay(previousInstanceTime) in getPreviousAlarmTime() 211 val addDays = daysOfWeek.getDistanceToNextDay(nextInstanceTime) in getNextAlarmTime() 240 ", daysOfWeek=" + daysOfWeek + in toString() 330 values.put(AlarmsColumns.DAYS_OF_WEEK, alarm.daysOfWeek.bits) in createContentValues()
|
D | Alarm.java | 122 values.put(DAYS_OF_WEEK, alarm.daysOfWeek.getBits()); in createContentValues() 282 public Weekdays daysOfWeek; 300 this.daysOfWeek = Weekdays.NONE; 311 daysOfWeek = Weekdays.fromBits(c.getInt(DAYS_OF_WEEK_INDEX)); 335 daysOfWeek = Weekdays.fromBits(p.readInt()); 369 p.writeInt(daysOfWeek.getBits()); 404 final int subtractDays = daysOfWeek.getDistanceToPreviousDay(previousInstanceTime); 429 final int addDays = daysOfWeek.getDistanceToNextDay(nextInstanceTime); 462 ", daysOfWeek=" + daysOfWeek +
|
D | ClockDatabaseHelper.kt | 100 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)) in onUpgrade()
|
D | ClockDatabaseHelper.java | 167 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)); in onUpgrade()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.java | 370 alarm.deleteAfterUse = !alarm.daysOfWeek.isRepeating() && skipUi; in handleSetAlarm() 539 alarm.daysOfWeek = getDaysFromIntent(intent, alarm.daysOfWeek); in updateAlarmFromIntent()
|