Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/utils/
DDayOrderUtils.java22 import com.android.deskclock.provider.DaysOfWeek;
46 final int[] dayOrder = new int[DaysOfWeek.DAYS_IN_A_WEEK]; in getDayOrder()
48 for (int i = 0; i < DaysOfWeek.DAYS_IN_A_WEEK; ++i) { in getDayOrder()
49 dayOrder[i] = DAY_ORDER[(startDay + i) % DaysOfWeek.DAYS_IN_A_WEEK]; in getDayOrder()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java39 import com.android.deskclock.provider.DaysOfWeek;
91 for (int i = 0; i < DaysOfWeek.DAYS_IN_A_WEEK; i++) { in ExpandedAlarmViewHolder()
162 for (int i = 0; i < DaysOfWeek.DAYS_IN_A_WEEK; i++) { in ExpandedAlarmViewHolder()
196 for (int i = 0; i < DaysOfWeek.DAYS_IN_A_WEEK; i++) { in bindDaysOfWeekButtons()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java39 import com.android.deskclock.provider.DaysOfWeek;
295 final DaysOfWeek daysOfWeek = getDaysFromIntent(intent); in handleSetAlarm()
398 private static DaysOfWeek getDaysFromIntent(Intent intent) { in getDaysFromIntent()
399 final DaysOfWeek daysOfWeek = new DaysOfWeek(0); in getDaysFromIntent()
437 ? getDaysFromIntent(intent).getBitSet() : DaysOfWeek.NO_DAYS_SET)); in setSelectionFromIntent()
DUtils.java60 import com.android.deskclock.provider.DaysOfWeek;
630 return sShortWeekdays[(position + firstDay) % DaysOfWeek.DAYS_IN_A_WEEK]; in getShortWeekday()
639 return sLongWeekdays[(position + firstDay) % DaysOfWeek.DAYS_IN_A_WEEK]; in getLongWeekday()
667 sShortWeekdays = new String[DaysOfWeek.DAYS_IN_A_WEEK]; in generateShortAndLongWeekdaysIfNeeded()
670 sLongWeekdays = new String[DaysOfWeek.DAYS_IN_A_WEEK]; in generateShortAndLongWeekdaysIfNeeded()
679 for (int i = 0; i < DaysOfWeek.DAYS_IN_A_WEEK; i++) { in generateShortAndLongWeekdaysIfNeeded()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java250 public DaysOfWeek daysOfWeek;
268 this.daysOfWeek = new DaysOfWeek(0); in Alarm()
279 daysOfWeek = new DaysOfWeek(c.getInt(DAYS_OF_WEEK_INDEX)); in Alarm()
303 daysOfWeek = new DaysOfWeek(p.readInt()); in Alarm()
DDaysOfWeek.java38 public final class DaysOfWeek { class
67 public DaysOfWeek(int bitSet) { in DaysOfWeek() method in DaysOfWeek
DClockDatabaseHelper.java166 alarm.daysOfWeek = new DaysOfWeek(cursor.getInt(3)); in onUpgrade()