Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/format/
DFormatter.java207 long secondsLong = millis / 1000; in formatShortElapsedTime() local
210 if (secondsLong >= SECONDS_PER_DAY) { in formatShortElapsedTime()
211 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime()
212 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime()
214 if (secondsLong >= SECONDS_PER_HOUR) { in formatShortElapsedTime()
215 hours = (int)(secondsLong / SECONDS_PER_HOUR); in formatShortElapsedTime()
216 secondsLong -= hours * SECONDS_PER_HOUR; in formatShortElapsedTime()
218 if (secondsLong >= SECONDS_PER_MINUTE) { in formatShortElapsedTime()
219 minutes = (int)(secondsLong / SECONDS_PER_MINUTE); in formatShortElapsedTime()
220 secondsLong -= minutes * SECONDS_PER_MINUTE; in formatShortElapsedTime()
[all …]