Searched refs:days (Results 1 - 16 of 16) sorted by relevance

/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DDuration.java33 public int days; field in class:Duration
51 days = 0;
116 days = n;
135 cal.add(Calendar.DAY_OF_MONTH, sign*days);
148 + (24*60*60*days)
H A DRecurrenceProcessor.java479 Log.i(TAG, "generated days list");
486 * Fill in a bit set containing the days of the month on which this
496 int days = 0;
538 days |= 1 << j;
549 days |= 1 << j;
565 days |= 1 << j;
583 days |= 1 << v;
587 days |= 1 << j;
596 if ((days&(1<<j)) != 0) {
602 days
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DDurationTest.java27 int sign, int weeks, int days, int hours,
35 assertEquals("Duration days is not equal for " + str, days, duration.days);
26 verifyDuration(String str, int sign, int weeks, int days, int hours, int minutes, int seconds) argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DScheduleCalendar.java110 if (mSchedule != null && mSchedule.days != null) {
111 for (int i = 0; i < mSchedule.days.length; i++) {
112 mDays.add(mSchedule.days[i]);
117 private long addDays(long time, int days) { argument
119 mCalendar.add(Calendar.DATE, days);
H A DScheduleConditionProvider.java235 if (schedule == null || schedule.days == null || schedule.days.length == 0) return null;
H A DZenModeHelper.java916 weeknights.days = ZenModeConfig.WEEKNIGHT_DAYS;
930 weekends.days = ZenModeConfig.WEEKEND_DAYS;
/frameworks/support/compat/java/android/support/v4/util/
H A DTimeUtils.java32 /** @hide Field length that can hold 999 days of time */
107 int days = 0, hours = 0, minutes = 0;
110 days = seconds / SECONDS_PER_DAY;
111 seconds -= days * SECONDS_PER_DAY;
125 int myLen = accumField(days, 1, false, 0);
142 pos = printField(formatStr, days, 'd', pos, false, 0);
/frameworks/base/core/java/android/text/format/
H A DFormatter.java340 int days = 0, hours = 0, minutes = 0;
342 days = (int)(secondsLong / SECONDS_PER_DAY);
343 secondsLong -= days * SECONDS_PER_DAY;
358 if (days >= 2) {
359 days += (hours+12)/24;
360 return measureFormat.format(new Measure(days, MeasureUnit.DAY));
361 } else if (days > 0) {
363 new Measure(days, MeasureUnit.DAY),
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPickerUtility.java38 public final String[] days; field in class:PickerUtility.DateConstant
45 days = createStringIntArrays(calendar.getMinimum(Calendar.DAY_OF_MONTH),
/frameworks/base/core/java/android/util/
H A DTimeUtils.java179 /** @hide Field length that can hold 999 days of time */
282 int days = 0, hours = 0, minutes = 0;
285 days = seconds / SECONDS_PER_DAY;
286 seconds -= days * SECONDS_PER_DAY;
300 int myLen = accumField(days, 1, false, 0);
317 pos = printFieldLocked(formatStr, days, 'd', pos, false, 0);
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java360 private static String toDayList(int[] days) { argument
361 if (days == null || days.length == 0) return "";
363 for (int i = 0; i < days.length; i++) {
365 sb.append(days[i]);
850 .appendQueryParameter("days", toDayList(schedule.days))
872 rt.days = tryParseDayList(conditionId.getQueryParameter("days"), "\\.");
886 public int[] days; field in class:ZenModeConfig.ScheduleInfo
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
H A DSuggestionParser.java81 * Allows suggestions to appear after a certain number of days, and to re-appear if dismissed.
84 * Will appear immediately, but if the user removes it, it will come back after 10 days.
88 * Will only show up after 10 days, and then again after 30.
378 long days = daysDelay * DateUtils.DAY_IN_MILLIS;
379 return startTime + days;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java1716 private List<Configuration> getRecentConfigurations(int days) { argument
1720 final long nDaysAgo = now - (days * 24 * 60 * 60 * 1000);
1761 int days = 14;
1764 if (!option.equals("--days")) {
1768 days = Integer.parseInt(getNextArgRequired());
1769 if (days <= 0) {
1770 throw new IllegalArgumentException("--days must be a positive integer");
1783 final List<Configuration> recentConfigs = getRecentConfigurations(days);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java1970 final long days = duration;
1973 if (days > 0) {
1974 sb.append(days);
2462 // Aggregate all following days into weeks and print totals.
/frameworks/base/core/java/android/os/
H A DBatteryStats.java2709 long days = seconds / (60 * 60 * 24);
2710 if (days != 0) {
2711 out.append(days);
2714 long used = days * 60 * 60 * 24;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 392 milliseconds