HomeSort by relevance Sort by last modified time
    Searched defs:hours (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/chromium/third_party/icu/source/i18n/
utmscale.c 19 #define hours (minutes * 60) macro
20 #define days (hours * 24)
  /external/icu4c/i18n/
utmscale.c 19 #define hours (minutes * 60) macro
20 #define days (hours * 24)
  /bionic/libc/netbsd/nameser/
ns_ttl.c 57 int secs, mins, hours, days, weeks, x; local
62 hours = src % 24; src /= 24;
75 if (hours) {
76 T(fmt1(hours, 'H', &dst, &dstlen));
83 if (secs || !(weeks || days || hours || mins)) {
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
Utils.java 42 int days = 0, hours = 0, minutes = 0; local
48 hours = seconds / SECONDS_PER_HOUR;
49 seconds -= hours * SECONDS_PER_HOUR;
57 days, hours, minutes, seconds));
58 } else if (hours > 0) {
59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds));
  /system/core/toolbox/
uptime.c 41 int seconds, minutes, hours, days; local
47 hours = time % 24;
51 sprintf(buffer, "%d days, %02d:%02d:%02d", days, hours, minutes, seconds);
53 sprintf(buffer, "%02d:%02d:%02d", hours, minutes, seconds);
  /external/v8/test/mjsunit/
to_number_order.js 54 var hours = { valueOf: function() { x += 4; return 13; } };
60 new Date(year, month, date, hours, minutes, seconds, ms);
65 Date(year, month, date, hours, minutes, seconds, ms);
69 Date.UTC(year, month, date, hours, minutes, seconds, ms);
94 new Date().setHours(hours, minutes, seconds, ms);
98 new Date().setUTCHours(hours, minutes, seconds, ms);
102 new Date().setDate(date, hours, minutes, seconds, ms);
106 new Date().setUTCDate(date, hours, minutes, seconds, ms);
110 new Date().setMonth(month, date, hours, minutes, seconds, ms);
114 new Date().setUTCMonth(month, date, hours, minutes, seconds, ms)
    [all...]
  /packages/apps/Email/src/com/android/exchange/utility/
Duration.java 29 public int hours; field in class:Duration
45 hours = 0;
87 hours = n;
113 cal.add(Calendar.HOUR, sign*hours);
124 return factor * ((7*24*60*60*weeks) + (24*60*60*days) + (60*60*hours) + (60*minutes) +
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
Duration.java 25 * | DAYS [ HOURS [ MINUTES [ SECONDS ] ] ]
26 * | HOURS [ MINUTES [ SECONDS ] ]
35 public int hours; field in class:Duration
53 hours = 0;
98 hours = n;
130 cal.add(Calendar.HOUR, sign*hours);
143 + (60*60*hours)
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERGeneralizedTime.java 175 int hours = offset / (60 * 60 * 1000); local
176 int minutes = (offset - (hours * 60 * 60 * 1000)) / (60 * 1000);
182 hours += sign.equals("+") ? 1 : -1;
190 return "GMT" + sign + convert(hours) + ":" + convert(minutes);
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeFactory.java 204 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
218 * @param hours of this <code>Duration</code>
232 final BigInteger hours,
238 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
247 * @param hours of this <code>Duration</code>
260 * BigInteger hours,
269 final int hours,
282 // hours may not be set
283 BigInteger realHours = (hours != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) hours) : null
409 int hours = (int) (val % 24L); \/\/ 24 hours per day local
426 BigInteger hours = BigInteger.valueOf(val % 24L); \/\/ 24 hours per day local
    [all...]
Duration.java 34 * which consists of six fields (years, months, days, hours,
161 boolean hourSet = isSet(DatatypeConstants.HOURS);
260 * Obtains the value of the HOURS field as an integer value,
264 * that this method works on the HOURS field.
266 * @return Hours of this <code>Duration</code>.
270 return getFieldValueAsInt(DatatypeConstants.HOURS);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
394 * For YEARS, MONTHS, DAYS, HOURS, and MINUTES, this method
406 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS,
911 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS); local
    [all...]
  /libcore/luni/src/test/java/com/google/coretests/
CoreTestPrinter.java 96 int hours = seconds / 3600; local
102 String text = String.format("%02d:%02d:%02d", hours, minutes, seconds);
  /external/dropbear/
progressmeter.c 118 int hours, minutes, seconds; local
197 hours = seconds / 3600;
198 seconds -= hours * 3600;
202 if (hours != 0)
204 "%d:%02d:%02d", hours, minutes, seconds);
  /frameworks/base/core/java/android/text/format/
DateFormat.java 567 int hours = offset / 3600; local
570 tb.append(zeroPad(hours, 2));
Time.java 520 * or subtracting hours or minutes, then you should use
693 int hours = offset / 3600; local
695 return String.format("%s%s%02d:%02d", base, sign, hours, minutes);
  /frameworks/base/core/java/android/util/
TimeUtils.java 210 int days = 0, hours = 0, minutes = 0; local
217 hours = seconds / SECONDS_PER_HOUR;
218 seconds -= hours * SECONDS_PER_HOUR;
229 myLen += accumField(hours, 1, myLen > 0, 2);
246 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0);
  /external/webkit/WebCore/platform/gtk/
LocalizedStringsGtk.cpp 465 int hours = seconds / (60 * 60); local
470 GOwnPtr<gchar> string(g_strdup_printf("%d days %d hours %d minutes %d seconds", days, hours, minutes, seconds));
474 if (hours) {
475 GOwnPtr<gchar> string(g_strdup_printf("%d hours %d minutes %d seconds", hours, minutes, seconds));
  /external/webkit/WebCore/platform/qt/
Localizations.cpp 465 int hours = seconds / (60 * 60); local
470 return QCoreApplication::translate("QWebPage", "%1 days %2 hours %3 minutes %4 seconds", "Media time description").arg(days).arg(hours).arg(minutes).arg(seconds);
473 if (hours) {
474 return QCoreApplication::translate("QWebPage", "%1 hours %2 minutes %3 seconds", "Media time description").arg(hours).arg(minutes).arg(seconds);
  /external/webkit/WebCore/rendering/
RenderTheme.cpp 449 int hours = seconds / (60 * 60); local
452 if (hours) {
453 if (hours > 9)
454 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
456 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
    [all...]
  /external/webkit/WebKit/win/
WebCoreLocalizedStrings.cpp 216 int hours = seconds / (60 * 60); local
221 static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"));
222 RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), days, hours, minutes, seconds));
226 if (hours) {
227 static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d hours %2$d minutes %3$d seconds", "accessibility help text for media controller time value >= 60 minutes"));
228 RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), hours, minutes, seconds));
FullscreenVideoController.cpp 385 int hours = seconds / (60 * 60); local
389 if (hours) {
390 if (hours > 9)
391 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
392 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
  /packages/apps/DeskClock/src/com/android/deskclock/
SetAlarm.java 327 * format "Alarm set for 2 days 7 hours and 53 minutes from
332 long hours = delta / (1000 * 60 * 60); local
334 long days = hours / 24;
335 hours = hours % 24;
345 String hourSeq = (hours == 0) ? "" :
346 (hours == 1) ? context.getString(R.string.hour) :
347 context.getString(R.string.hours, Long.toString(hours));
350 boolean dispHour = hours > 0
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
CtsXmlResultReporter.java 579 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); local
581 if (hours > 0) {
582 time.append(hours);
  /external/quake/quake/src/WinQuake/
host_cmd.cpp 68 int hours = 0; local
101 hours = minutes / 60;
102 if (hours)
103 minutes -= (hours * 60);
106 hours = 0;
107 print ("#%-2u %-16.16s %3i %2i:%02i:%02i\n", j+1, client->name, (int)client->edict->u.v.frags, hours, minutes, seconds);
    [all...]
  /frameworks/base/core/java/android/widget/
MediaController.java 367 int hours = totalSeconds / 3600; local
370 if (hours > 0) {
371 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString();

Completed in 822 milliseconds

1 2 3