Home
last modified time | relevance | path

Searched refs:days (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.java82 long days = hours / 24; in formatToast() local
85 String daySeq = (days == 0) ? "" : in formatToast()
86 (days == 1) ? context.getString(R.string.day) : in formatToast()
87 context.getString(R.string.days, Long.toString(days)); in formatToast()
97 boolean dispDays = days > 0; in formatToast()
DHandleApiCalls.java231 final ArrayList<Integer> days = intent.getIntegerArrayListExtra(EXTRA_DAYS); in getDaysFromIntent() local
232 if (days != null) { in getDaysFromIntent()
233 final int[] daysArray = new int[days.size()]; in getDaysFromIntent()
234 for (int i = 0; i < days.size(); i++) { in getDaysFromIntent()
235 daysArray[i] = days.get(i); in getDaysFromIntent()
/packages/apps/Calendar/src/com/android/calendar/
DEventRecurrenceFormatter.java74 StringBuilder days = new StringBuilder(); in getRepeatString() local
82 days.append(dayToString(recurrence.byday[i], dayOfWeekLength)); in getRepeatString()
83 days.append(", "); in getRepeatString()
85 days.append(dayToString(recurrence.byday[count], dayOfWeekLength)); in getRepeatString()
87 string = days.toString(); in getRepeatString()
DEvent.java223 public static void loadEvents(Context context, ArrayList<Event> events, int startDay, int days, in loadEvents() argument
235 int endDay = startDay + days - 1; in loadEvents()
DUtils.java1523 int days = startDay - currentDay; in isTodayOrTomorrow() local
1524 if (days == 1) { in isTodayOrTomorrow()
1526 } else if (days == 0) { in isTodayOrTomorrow()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeDowntimeDaysSelection.java50 final int[] days = ZenModeConfig.tryParseDays(mode); in ZenModeDowntimeDaysSelection() local
51 if (days != null) { in ZenModeDowntimeDaysSelection()
52 for (int i = 0; i < days.length; i++) { in ZenModeDowntimeDaysSelection()
53 mDays.put(days[i], true); in ZenModeDowntimeDaysSelection()
DZenModeSettings.java343 final int[] days = ZenModeConfig.tryParseDays(mConfig.sleepMode); in updateDays() local
344 if (days != null && days.length != 0) { in updateDays()
349 for (int j = 0; j < days.length; j++) { in updateDays()
350 if (day == days[j]) { in updateDays()
/packages/apps/Settings/src/com/android/settings/
DUtils.java929 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local
931 days = seconds / SECONDS_PER_DAY; in formatElapsedTime()
932 seconds -= days * SECONDS_PER_DAY; in formatElapsedTime()
943 if (days > 0) { in formatElapsedTime()
945 days, hours, minutes, seconds)); in formatElapsedTime()
955 if (days > 0) { in formatElapsedTime()
957 days, hours, minutes)); in formatElapsedTime()
/packages/apps/Launcher3/src/com/android/launcher3/
DWeightWatcher.java187 long days = sec / 86400; in getUptimeString() local
188 if (days > 0) { in getUptimeString()
189 sec -= days * 86400; in getUptimeString()
190 sb.append(days); in getUptimeString()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteractionUtils.java150 int days = startDay - currentDay; in isTodayOrTomorrow() local
151 if (days == 1) { in isTodayOrTomorrow()
153 } else if (days == 0) { in isTodayOrTomorrow()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogGroupBuilder.java258 int days = DateUtils.getDayDifference(TIME, date, now); in getDayGroup() local
260 if (days == 0) { in getDayGroup()
262 } else if (days == 1) { in getDayGroup()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java920 long days = (end - start + DateUtils.DAY_IN_MILLIS - 1) in addRecurrenceRule() local
922 duration = "P" + days + "D"; in addRecurrenceRule()
984 int[] days = new int[1]; in updateRecurrenceRule() local
990 days[0] = EventRecurrence.timeDay2Day(startTime.weekDay); in updateRecurrenceRule()
994 eventRecurrence.byday = days; in updateRecurrenceRule()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarSyncTestingBase.java316 long days = 1; in init() local
318 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS; in init()
320 mDuration = "P" + days + "D"; in init()
DCalendarProvider2Test.java571 long days = 1; in init() local
573 days = (mDtend - mDtstart) / DateUtils.DAY_IN_MILLIS; in init()
575 mDuration = "P" + days + "D"; in init()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java234 duration.days = 0; in performInstanceExpansion()
305 duration.days = 1; in performInstanceExpansion()
315 duration.days = 0; in performInstanceExpansion()
DCalendarDatabaseHelper.java2653 int days = (seconds + DAY_IN_SECONDS - 1) / DAY_IN_SECONDS; in upgradeToVersion69() local
2654 duration = "P" + days + "D"; in upgradeToVersion69()
DCalendarProvider2.java1592 int days = (seconds + DAY_IN_SECONDS - 1) / DAY_IN_SECONDS; in fixAllDayTime() local
1593 duration = "P" + days + "D"; in fixAllDayTime()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DDatePicker.java165 PickerColumn days = new PickerColumn(mDayString); in getColumns() local
174 ret.add(days); in getColumns()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1393228134, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1393228154, ...

12