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.java202 long secondsLong = millis / 1000; in formatShortElapsedTime() local
205 if (secondsLong >= SECONDS_PER_DAY) { in formatShortElapsedTime()
206 days = (int)(secondsLong / SECONDS_PER_DAY); in formatShortElapsedTime()
207 secondsLong -= days * SECONDS_PER_DAY; in formatShortElapsedTime()
209 if (secondsLong >= SECONDS_PER_HOUR) { in formatShortElapsedTime()
210 hours = (int)(secondsLong / SECONDS_PER_HOUR); in formatShortElapsedTime()
211 secondsLong -= hours * SECONDS_PER_HOUR; in formatShortElapsedTime()
213 if (secondsLong >= SECONDS_PER_MINUTE) { in formatShortElapsedTime()
214 minutes = (int)(secondsLong / SECONDS_PER_MINUTE); in formatShortElapsedTime()
215 secondsLong -= minutes * SECONDS_PER_MINUTE; in formatShortElapsedTime()
[all …]