Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DDateUtils.java431 public static String formatElapsedTime(long elapsedSeconds) { in formatElapsedTime() argument
432 return formatElapsedTime(null, elapsedSeconds); in formatElapsedTime()
443 public static String formatElapsedTime(StringBuilder recycle, long elapsedSeconds) { in formatElapsedTime() argument
448 if (elapsedSeconds >= 3600) { in formatElapsedTime()
449 hours = elapsedSeconds / 3600; in formatElapsedTime()
450 elapsedSeconds -= hours * 3600; in formatElapsedTime()
452 if (elapsedSeconds >= 60) { in formatElapsedTime()
453 minutes = elapsedSeconds / 60; in formatElapsedTime()
454 elapsedSeconds -= minutes * 60; in formatElapsedTime()
456 seconds = elapsedSeconds; in formatElapsedTime()