Home
last modified time | relevance | path

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

12

/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java33 public int days; field in Duration
51 days = 0; in parse()
113 days = n; in parse()
132 cal.add(Calendar.DAY_OF_MONTH, sign*days); in addTo()
145 + (24*60*60*days) in getMillis()
DRecurrenceProcessor.java496 int days = 0; in generateDaysList() local
538 days |= 1 << j; in generateDaysList()
549 days |= 1 << j; in generateDaysList()
565 days |= 1 << j; in generateDaysList()
583 days |= 1 << v; in generateDaysList()
587 days |= 1 << j; in generateDaysList()
596 if ((days&(1<<j)) != 0) { in generateDaysList()
602 days &= ~(1<<j); in generateDaysList()
609 return days; in generateDaysList()
762 DaySet days = mDays; in expand() local
[all …]
/frameworks/base/core/java/android/text/format/
DFormatter.java199 int days = 0, hours = 0, minutes = 0; in formatShortElapsedTime() local
201 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime()
202 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime()
214 if (days >= 2) { in formatShortElapsedTime()
215 days += (hours+12)/24; in formatShortElapsedTime()
216 return context.getString(com.android.internal.R.string.durationDays, days); in formatShortElapsedTime()
217 } else if (days > 0) { in formatShortElapsedTime()
219 … return context.getString(com.android.internal.R.string.durationDayHour, days, hours); in formatShortElapsedTime()
221 return context.getString(com.android.internal.R.string.durationDayHours, days, hours); in formatShortElapsedTime()
/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java102 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
105 days = seconds / SECONDS_PER_DAY; in formatDurationLocked()
106 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked()
120 int myLen = accumField(days, 1, false, 0); in formatDurationLocked()
137 pos = printField(formatStr, days, 'd', pos, false, 0); in formatDurationLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleCalendar.java105 if (mSchedule != null && mSchedule.days != null) { in updateDays()
106 for (int i = 0; i < mSchedule.days.length; i++) { in updateDays()
107 mDays.add(mSchedule.days[i]); in updateDays()
112 private long addDays(long time, int days) { in addDays() argument
114 mCalendar.add(Calendar.DATE, days); in addDays()
DZenModeHelper.java497 weeknights.days = ZenModeConfig.WEEKNIGHT_DAYS; in appendDefaultScheduleRules()
509 weekends.days = ZenModeConfig.WEEKEND_DAYS; in appendDefaultScheduleRules()
557 final int[] days = ZenModeConfig.XmlV1.tryParseDays(v1.sleepMode);
558 if (days != null && days.length > 0) {
561 schedule.days = days;
DScheduleConditionProvider.java191 if (schedule == null || schedule.days == null || schedule.days.length == 0) return null; in toScheduleCalendar()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DDurationTest.java27 int sign, int weeks, int days, int hours, in verifyDuration() argument
35 assertEquals("Duration days is not equal for " + str, days, duration.days); in verifyDuration()
/frameworks/base/core/java/android/util/
DTimeUtils.java344 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
347 days = seconds / SECONDS_PER_DAY; in formatDurationLocked()
348 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked()
362 int myLen = accumField(days, 1, false, 0); in formatDurationLocked()
379 pos = printFieldLocked(formatStr, days, 'd', pos, false, 0); in formatDurationLocked()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java330 private static String toDayList(int[] days) { in toDayList() argument
331 if (days == null || days.length == 0) return ""; in toDayList()
333 for (int i = 0; i < days.length; i++) { in toDayList()
335 sb.append(days[i]); in toDayList()
729 .appendQueryParameter("days", toDayList(schedule.days)) in toScheduleConditionId()
750 rt.days = tryParseDayList(conditionId.getQueryParameter("days"), "\\."); in tryParseScheduleConditionId()
759 public int[] days; field in ZenModeConfig.ScheduleInfo
774 return toDayList(days).equals(toDayList(other.days)) in equals()
783 if (days != null) { in copy()
784 rt.days = new int[days.length]; in copy()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java2055 private List<Configuration> getRecentConfigurations(int days) { in getRecentConfigurations() argument
2059 final long nDaysAgo = now - (days * 24 * 60 * 60 * 1000); in getRecentConfigurations()
2100 int days = 14; in runGetConfig() local
2107 days = Integer.parseInt(nextArgRequired()); in runGetConfig()
2108 if (days <= 0) { in runGetConfig()
2123 final List<Configuration> recentConfigs = getRecentConfigurations(days); in runGetConfig()
/frameworks/base/docs/html/distribute/googleplay/edu/
Dabout.jd107 of devices in just minutes or hours, rather than days.
/frameworks/base/docs/html/google/play/billing/
Dbilling_subscriptions.jd252 days. So Samwise's credit pays for his subscription from April 15-25. On April
299 by a whole number of days. If you request a deferral period that includes a
300 fractional number of days, the API rounds the period up to the next full day.
340 subscription in your product list, set a valid number of days for the trial
341 (must be 7 days or longer), and publish. You can change the period any time,
Dbilling_testing.jd71 accounts, and automatically canceling the completed orders after 14 days. </p>
130 purchases 14 days after their purchase date. </li>
/frameworks/base/docs/html/distribute/analyze/
Dunderstand-user-value.jd107 revenue per user and number of screen views per user over a period of 90 days. For example, if
157 days of the week or certain hours of the day behave</li>
/frameworks/base/docs/html/distribute/googleplay/
Dabout.jd174 Less than 30 days old
183 Less than 30 days old
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd169 …mple if each page represents consecutive calendar days. For infinite collections (again, calendar
/frameworks/base/docs/html/tools/publishing/
Dapp-signing.jd277 of 365 days from its creation date. When the certificate expires, you will get a build error.</p>
310 <code>my-release-key.keystore</code>. The keystore contains a single key, valid for 10000 days.
/frameworks/base/docs/html-intl/intl/ru/distribute/tools/
Dlocalization-checklist.jd338 &lt;xliff:g id="time" example="5 days&gt;%1$s&lt;/xliff:g&gt;until holiday
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/
Dlocalization-checklist.jd338 &lt;xliff:g id="time" example="5 days&gt;%1$s&lt;/xliff:g&gt;until holiday
/frameworks/base/docs/html-intl/intl/ko/distribute/tools/
Dlocalization-checklist.jd338 &lt;xliff:g id="time" example="5 days&gt;%1$s&lt;/xliff:g&gt;until holiday
/frameworks/base/docs/html-intl/intl/ja/distribute/tools/
Dlocalization-checklist.jd246 &lt;xliff:g id="time" example="5 days&gt;%1$s&lt;/xliff:g&gt;until holiday
/frameworks/base/docs/html/google/play/licensing/
Dlicensing-reference.jd285 or more days. See the section
364 sets a longer validity period &mdash; typically a number of days. </li>
/frameworks/base/docs/html/preview/
Dsupport.jd229 the OTA update within a few days of availability.
488 the OTA update within a few days of availability.
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/tools/
Dlocalization-checklist.jd246 &lt;xliff:g id="time" example="5 days&gt;%1$s&lt;/xliff:g&gt;until holiday

12