Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/v4/java/android/support/v4/util/
DTimeUtils.java99 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
106 hours = seconds / SECONDS_PER_HOUR; in formatDurationLocked()
107 seconds -= hours * SECONDS_PER_HOUR; in formatDurationLocked()
118 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked()
135 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
/frameworks/base/core/java/android/util/
DTimeUtils.java210 int days = 0, hours = 0, minutes = 0; in formatDurationLocked() local
217 hours = seconds / SECONDS_PER_HOUR; in formatDurationLocked()
218 seconds -= hours * SECONDS_PER_HOUR; in formatDurationLocked()
229 myLen += accumField(hours, 1, myLen > 0, 2); in formatDurationLocked()
246 pos = printField(formatStr, hours, 'h', pos, pos != start, zeropad ? 2 : 0); in formatDurationLocked()
/frameworks/base/core/java/android/text/format/
DDateUtils.java691 long hours = 0; in formatElapsedTime() local
696 hours = elapsedSeconds / 3600; in formatElapsedTime()
697 elapsedSeconds -= hours * 3600; in formatElapsedTime()
706 if (hours > 0) { in formatElapsedTime()
707 return formatElapsedTime(recycle, sElapsedFormatHMMSS, hours, minutes, seconds); in formatElapsedTime()
716 private static String formatElapsedTime(StringBuilder recycle, String format, long hours, in formatElapsedTime() argument
725 sb.append(hours); in formatElapsedTime()
742 return String.format(format, hours, minutes, seconds); in formatElapsedTime()
DDateFormat.java567 int hours = offset / 3600; in formatZoneOffset() local
570 tb.append(zeroPad(hours, 2)); in formatZoneOffset()
DTime.java718 int hours = offset / 3600; in format3339() local
720 return String.format("%s%s%02d:%02d", base, sign, hours, minutes); in format3339()
/frameworks/base/core/java/android/widget/
DMediaController.java399 int hours = totalSeconds / 3600; in stringForTime() local
402 if (hours > 0) { in stringForTime()
403 return mFormatter.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
/frameworks/base/libs/rs/scriptc/
Drs_time.rsh52 int tm_hour; ///< hours
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1276 int hours = off / 60; in displayNameFor() local
1279 buf[4] = (char) ('0' + hours / 10); in displayNameFor()
1280 buf[5] = (char) ('0' + hours % 10); in displayNameFor()
/frameworks/base/core/java/android/os/
DBatteryStats.java1037 long hours = (seconds - used) / (60 * 60); in formatTimeRaw() local
1038 if (hours != 0 || used != 0) { in formatTimeRaw()
1039 out.append(hours); in formatTimeRaw()
1042 used += hours * 60 * 60; in formatTimeRaw()
/frameworks/base/docs/html/
Dindex.jd154 + " The average American watches five hours of TV per day. Give them the apps"
/frameworks/base/docs/html/resources/articles/
Dservice-api-changes-starting-with.jd163 …gapps" process, which currently consumes 6.8MB. It has been started for 3 hours 55 minutes, which …
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd505 be every two hours, and a second instance of the App Widget is added one hour
508 every two hours, not every hour).</p>