/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | Utils.java | 42 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local 44 days = seconds / SECONDS_PER_DAY; in formatElapsedTime() 45 seconds -= days * SECONDS_PER_DAY; in formatElapsedTime() 55 if (days > 0) { in formatElapsedTime() 57 days, hours, minutes, seconds)); in formatElapsedTime()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventRecurrenceFormatter.java | 38 StringBuilder days = new StringBuilder(); in getRepeatString() local 45 days.append(dayToString(recurrence.byday[i])); in getRepeatString() 46 days.append(","); in getRepeatString() 48 days.append(dayToString(recurrence.byday[count])); in getRepeatString() 50 return String.format(format, days.toString()); in getRepeatString()
|
D | Event.java | 217 public static void loadEvents(Context context, ArrayList<Event> events, int startDay, int days, in loadEvents() argument 229 int endDay = startDay + days - 1; in loadEvents()
|
D | Utils.java | 1300 int days = startDay - currentDay; in isTodayOrTomorrow() local 1301 if (days == 1) { in isTodayOrTomorrow() 1303 } else if (days == 0) { in isTodayOrTomorrow()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Alarm.java | 268 DaysOfWeek(int days) { in DaysOfWeek() argument 269 mDays = days; in DaysOfWeek() 287 int dayCount = 0, days = mDays; in toString() local 288 while (days > 0) { in toString() 289 if ((days & 1) == 1) dayCount++; in toString() 290 days >>= 1; in toString()
|
D | SetAlarm.java | 407 long days = hours / 24; in formatToast() local 410 String daySeq = (days == 0) ? "" : in formatToast() 411 (days == 1) ? context.getString(R.string.day) : in formatToast() 412 context.getString(R.string.days, Long.toString(days)); in formatToast() 422 boolean dispDays = days > 0; in formatToast()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarSyncTestingBase.java | 316 long days = 1; in init() local 318 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS; in init() 320 mDuration = "P" + days + "D"; in init()
|
D | CalendarProvider2Test.java | 567 long days = 1; in init() local 569 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS; in init() 571 mDuration = "P" + days + "D"; in init()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventHelper.java | 882 long days = (end - start + DateUtils.DAY_IN_MILLIS - 1) in addRecurrenceRule() local 884 duration = "P" + days + "D"; in addRecurrenceRule() 946 int[] days = new int[1]; in updateRecurrenceRule() local 952 days[0] = EventRecurrence.timeDay2Day(startTime.weekDay); in updateRecurrenceRule() 956 eventRecurrence.byday = days; in updateRecurrenceRule()
|
D | EditEventView.java | 419 String[] days = new String[] { in populateRepeats() local 457 repeatArray.add(String.format(format, ordinals[dayNumber], days[time.weekDay])); in populateRepeats()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 236 duration.days = 0; in performInstanceExpansion() 307 duration.days = 1; in performInstanceExpansion() 317 duration.days = 0; in performInstanceExpansion()
|
D | CalendarDatabaseHelper.java | 2599 int days = (seconds + DAY_IN_SECONDS - 1) / DAY_IN_SECONDS; in upgradeToVersion69() local 2600 duration = "P" + days + "D"; in upgradeToVersion69()
|
D | CalendarProvider2.java | 1555 int days = (seconds + DAY_IN_SECONDS - 1) / DAY_IN_SECONDS; in fixAllDayTime() local 1556 duration = "P" + days + "D"; in fixAllDayTime()
|