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.java228 long secondsLong = millis / 1000; in formatShortElapsedTime() local
231 if (secondsLong >= SECONDS_PER_DAY) { in formatShortElapsedTime()
232 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime()
233 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime()
235 if (secondsLong >= SECONDS_PER_HOUR) { in formatShortElapsedTime()
236 hours = (int)(secondsLong / SECONDS_PER_HOUR); in formatShortElapsedTime()
237 secondsLong -= hours * SECONDS_PER_HOUR; in formatShortElapsedTime()
239 if (secondsLong >= SECONDS_PER_MINUTE) { in formatShortElapsedTime()
240 minutes = (int)(secondsLong / SECONDS_PER_MINUTE); in formatShortElapsedTime()
241 secondsLong -= minutes * SECONDS_PER_MINUTE; in formatShortElapsedTime()
[all …]