HomeSort by relevance Sort by last modified time
    Searched defs:hours (Results 26 - 50 of 229) sorted by null

12 3 4 5 6 7 8 910

  /frameworks/base/media/java/android/media/
SRTRenderer.java 194 long hours = Long.parseLong(in.split(":")[0].trim()); local
199 return hours * 60 * 60 * 1000 + minutes * 60 * 1000 + seconds * 1000 + millies;
  /libcore/luni/src/main/java/javax/xml/datatype/
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,
907 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
Stopwatches.java 124 long hundreds, seconds, minutes, hours; local
129 hours = minutes / 60;
130 minutes = minutes - hours * 60;
131 if (hours >= 100) {
133 } else if (hours >= 10) {
135 } else if (hours > 0) {
142 return String.format(formats[formatIndex], hours, minutes,
154 long hundreds, seconds, minutes, hours; local
159 hours = minutes / 60;
160 minutes = minutes - hours * 60
    [all...]
  /development/samples/Support4Demos/src/com/example/android/supportv4/media/
MediaController.java 209 int hours = totalSeconds / 3600; local
212 if (hours > 0) {
213 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString();
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderMediaControls.cpp 416 int hours = seconds / (60 * 60); local
425 if (durationHours || hours)
426 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
RenderTheme.cpp 432 int hours = seconds / (60 * 60); local
435 if (hours) {
436 if (hours > 9)
437 return String::format("%s%02d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
439 return String::format("%s%01d:%02d:%02d", (time < 0 ? "-" : ""), hours, minutes, seconds);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 237 int hours = offset / 3600; local
238 return String.format("%s%s%02d:%02d", base, sign, hours, minutes);
  /external/valgrind/main/coregrind/
m_libcprint.c 350 UInt t, ms, s, mins, hours, days; local
361 t /= 60; /* now in hours */
363 hours = t % 24;
368 VG_(sprintf)(buf, "%02u:%02u:%02u:%02u.%03u ", days, hours, mins, s, ms);
  /frameworks/base/core/java/android/text/format/
DateFormat.java 574 int hours = offset / 3600; local
577 tb.append(zeroPad(hours, 2));
DateUtils.java 478 * from seconds up to hours.
485 final int hours = (int) ((millis + 1800000) / HOUR_IN_MILLIS); local
487 com.android.internal.R.plurals.duration_hours, hours, hours);
517 // Break the elapsed seconds into hours, minutes, and seconds.
518 long hours = 0; local
522 hours = elapsedSeconds / 3600;
523 elapsedSeconds -= hours * 3600;
544 if (hours > 0) {
545 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString()
    [all...]
Time.java 724 * or subtracting hours or minutes, then you should use
907 int hours = offset / 3600; local
909 return String.format(Locale.US, "%s%s%02d:%02d", base, sign, hours, minutes);
    [all...]
  /frameworks/base/core/java/android/util/
TimeUtils.java 321 int days = 0, hours = 0, minutes = 0; local
328 hours = seconds / SECONDS_PER_HOUR;
329 seconds -= hours * SECONDS_PER_HOUR;
340 myLen += accumField(hours, 1, myLen > 0, 2);
357 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
PlaybackControlsPresenter.java 181 int hours = minutes / 60; local
183 minutes -= hours * 60;
186 if (hours > 0) {
187 sb.append(hours).append(':');
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
TimeBar.java 254 int hours = totalSeconds / 3600; local
255 if (hours > 0) {
256 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString();
  /packages/apps/Launcher3/src/com/android/launcher3/
WeightWatcher.java 194 long hours = sec / 3600; local
195 if (hours > 0) {
196 sec -= hours * 3600;
197 sb.append(hours);