/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 125 int days = 0, hours = 0, minutes = 0; in formatShortElapsedTime() local 127 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime() 128 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime() 140 if (days >= 2) { in formatShortElapsedTime() 141 days += (hours+12)/24; in formatShortElapsedTime() 142 return context.getString(com.android.internal.R.string.durationDays, days); in formatShortElapsedTime() 143 } else if (days > 0) { in formatShortElapsedTime() 145 … return context.getString(com.android.internal.R.string.durationDayHour, days, hours); in formatShortElapsedTime() 147 return context.getString(com.android.internal.R.string.durationDayHours, days, hours); in formatShortElapsedTime()
|
D | DateUtils.java | 434 int days = Math.abs(currentDay - startDay); in getRelativeDayString() local 438 if (days == 1) { in getRelativeDayString() 444 } else if (days == 0) { in getRelativeDayString() 455 String format = r.getQuantityString(resId, days); in getRelativeDayString() 456 return String.format(format, days); in getRelativeDayString()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 33 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()
|
D | RecurrenceProcessor.java | 496 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/support/v4/java/android/support/v4/util/ |
D | TimeUtils.java | 102 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/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | DurationTest.java | 27 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/services/core/java/com/android/server/notification/ |
D | DowntimeConditionProvider.java | 177 final int[] days = ZenModeConfig.tryParseDays(mConfig.sleepMode); in updateDays() local 178 for (int i = 0; days != null && i < days.length; i++) { in updateDays() 179 mDays.add(days[i]); in updateDays() 239 private long addDays(long time, int days) { in addDays() argument 241 mCalendar.add(Calendar.DATE, days); in addDays()
|
D | ZenLog.java | 77 public static void traceDowntime(boolean inDowntime, int day, ArraySet<Integer> days) { in traceDowntime() argument 78 append(TYPE_DOWNTIME, inDowntime + ",day=" + day + ",days=" + days); in traceDowntime()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 321 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local 324 days = seconds / SECONDS_PER_DAY; in formatDurationLocked() 325 seconds -= days * SECONDS_PER_DAY; in formatDurationLocked() 339 int myLen = accumField(days, 1, false, 0); in formatDurationLocked() 356 pos = printField(formatStr, days, 'd', pos, false, 0); in formatDurationLocked()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 1752 private List<Configuration> getRecentConfigurations(int days) { in getRecentConfigurations() argument 1756 final long nDaysAgo = now - (days * 24 * 60 * 60 * 1000); in getRecentConfigurations() 1797 int days = 14; in runGetConfig() local 1804 days = Integer.parseInt(nextArgRequired()); in runGetConfig() 1805 if (days <= 0) { in runGetConfig() 1820 final List<Configuration> recentConfigs = getRecentConfigurations(days); in runGetConfig()
|
/frameworks/base/docs/html/distribute/googleplay/edu/ |
D | about.jd | 76 devices in just minutes or hours, rather than days.
|
/frameworks/base/docs/html/distribute/googleplay/ |
D | about.jd | 174 Less than 30 days old 183 Less than 30 days old
|
/frameworks/base/docs/html/google/play/billing/ |
D | billing_subscriptions.jd | 237 by a whole number of days. If you request a deferral period that includes a 238 fractional number of days, the API rounds the period up to the next full day. 278 subscription in your product list, set a valid number of days for the trial 279 (must be 7 days or longer), and publish. You can change the period any time,
|
D | billing_testing.jd | 72 accounts, and automatically canceling the completed orders after 14 days. </p> 127 purchases 14 days after their purchase date. </li>
|
/frameworks/base/docs/html/training/design-navigation/ |
D | descendant-lateral.jd | 169 …mple if each page represents consecutive calendar days. For infinite collections (again, calendar …
|
/frameworks/base/docs/html/google/play/licensing/ |
D | licensing-reference.jd | 285 or more days. See the section 364 sets a longer validity period — typically a number of days. </li>
|
/frameworks/base/docs/html/tools/publishing/ |
D | app-signing.jd | 257 of 365 days from its creation date. When the certificate expires, you will get a build error.</p> 290 <code>my-release-key.keystore</code>. The keystore contains a single key, valid for 10000 days.
|
/frameworks/base/docs/html/about/dashboards/ |
D | index.jd | 41 Google Play Store in the prior 7 days.</p>
|
/frameworks/base/docs/html/design/wear/ |
D | patterns.jd | 37 …rd might show the weather for the current location today, with subsequent days listed in an additi…
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1680 long days = seconds / (60 * 60 * 24); in formatTimeRaw() local 1681 if (days != 0) { in formatTimeRaw() 1682 out.append(days); in formatTimeRaw() 1685 long used = days * 60 * 60 * 24; in formatTimeRaw()
|
/frameworks/base/docs/html/distribute/stories/ |
D | localization.jd | 312 days instead of weeks that we were used to with traditional translation
|
/frameworks/base/docs/html/training/basics/data-storage/ |
D | files.jd | 49 come from the early days of Android, when most devices offered built-in non-volatile memory
|
/frameworks/base/docs/html/google/play-services/ |
D | index.jd | 394 few days. This allows you to use the newest APIs in Google Play services and reach most of the
|
/frameworks/base/docs/html/distribute/tools/ |
D | localization-checklist.jd | 346 <xliff:g id="time" example="5 days>%1$s</xliff:g>until holiday
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.3.jd | 910 …Contract.DeletedContacts#DAYS_KEPT_MILLISECONDS} containing the number of days (in milliseconds) t…
|