Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java566 TextView daysOfWeek; field in AlarmClockFragment.AlarmItemAdapter.ItemHolder
693 holder.daysOfWeek = (TextView) view.findViewById(R.id.daysOfWeek); in setNewHolder()
787 if (mRepeatChecked.contains(alarm.id) || itemHolder.alarm.daysOfWeek.isRepeating()) { in bindView()
826 alarm.daysOfWeek.toString(context, Utils.getFirstDayOfWeek(context)); in bindView()
828 itemHolder.daysOfWeek.setText(daysOfWeekStr); in bindView()
829 itemHolder.daysOfWeek.setContentDescription(alarm.daysOfWeek.toAccessibilityString( in bindView()
831 itemHolder.daysOfWeek.setVisibility(View.VISIBLE); in bindView()
832 itemHolder.daysOfWeek.setOnClickListener(new View.OnClickListener() { in bindView()
841 itemHolder.daysOfWeek.setVisibility(View.GONE); in bindView()
920 if (mRepeatChecked.contains(alarm.id) || itemHolder.alarm.daysOfWeek.isRepeating()) { in bindExpandArea()
[all …]
DHandleApiCalls.java293 final DaysOfWeek daysOfWeek = getDaysFromIntent(intent); in handleSetAlarm() local
300 alarm.daysOfWeek = daysOfWeek; in handleSetAlarm()
310 alarm.deleteAfterUse = !daysOfWeek.isRepeating() && skipUi; in handleSetAlarm()
411 final DaysOfWeek daysOfWeek = new DaysOfWeek(0); in getDaysFromIntent() local
418 daysOfWeek.setDaysOfWeek(true, daysArray); in getDaysFromIntent()
423 daysOfWeek.setDaysOfWeek(true, daysArray); in getDaysFromIntent()
426 return daysOfWeek; in getDaysFromIntent()
/packages/apps/DeskClock/src/com/android/deskclock/widget/selector/
DAlarmSelectionAdapter.java58 final String daysOfWeek; in getView() local
59 if (!alarm.daysOfWeek.isRepeating()) { in getView()
60 daysOfWeek = Alarm.isTomorrow(alarm) ? in getView()
64 daysOfWeek = alarm.daysOfWeek.toString(context, 0); in getView()
67 final TextView daysOfWeekView = (TextView) row.findViewById(R.id.daysOfWeek); in getView()
68 daysOfWeekView.setText(daysOfWeek); in getView()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java88 values.put(DAYS_OF_WEEK, alarm.daysOfWeek.getBitSet()); in createContentValues()
232 public DaysOfWeek daysOfWeek; field in Alarm
248 this.daysOfWeek = new DaysOfWeek(0); in Alarm()
259 daysOfWeek = new DaysOfWeek(c.getInt(DAYS_OF_WEEK_INDEX)); in Alarm()
278 daysOfWeek = new DaysOfWeek(p.readInt()); in Alarm()
297 p.writeInt(daysOfWeek.getBitSet()); in writeToParcel()
332 int subtractDays = daysOfWeek.calculateDaysToPreviousAlarm(previousInstanceTime); in getPreviousAlarmTime()
357 int addDays = daysOfWeek.calculateDaysToNextAlarm(nextInstanceTime); in getNextAlarmTime()
384 ", daysOfWeek=" + daysOfWeek + in toString()
DDaysOfWeek.java127 public void setDaysOfWeek(boolean value, int ... daysOfWeek) { in setDaysOfWeek() argument
128 for (int day : daysOfWeek) { in setDaysOfWeek()
DClockDatabaseHelper.java173 alarm.daysOfWeek = new DaysOfWeek(cursor.getInt(3)); in onUpgrade()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java276 if (!alarm.daysOfWeek.isRepeating()) { in updateParentAlarm()
573 if (alarm != null && !alarm.daysOfWeek.isRepeating()) { in setPreDismissState()