Searched refs:elapsedSeconds (Results 1 – 4 of 4) sorted by relevance
19 int elapsedSeconds = (int) (millis / 1000); in formatDuration() local20 if (elapsedSeconds >= 3600) { in formatDuration()21 hours = elapsedSeconds / 3600; in formatDuration()22 elapsedSeconds -= hours * 3600; in formatDuration()24 if (elapsedSeconds >= 60) { in formatDuration()25 minutes = elapsedSeconds / 60; in formatDuration()26 elapsedSeconds -= minutes * 60; in formatDuration()28 seconds = elapsedSeconds; in formatDuration()
149 private CharSequence formatDuration(long elapsedSeconds) { in formatDuration() argument153 if (elapsedSeconds >= 60) { in formatDuration()154 minutes = elapsedSeconds / 60; in formatDuration()155 elapsedSeconds -= minutes * 60; in formatDuration()156 seconds = elapsedSeconds; in formatDuration()159 seconds = elapsedSeconds; in formatDuration()171 private CharSequence formatDurationAndDataUsage(long elapsedSeconds, Long dataUsage) { in formatDurationAndDataUsage() argument172 CharSequence duration = formatDuration(elapsedSeconds); in formatDurationAndDataUsage()
56 double elapsedSeconds = (double)elapsedNanos / NANO_TO_SECOND_DENOMINATOR; in onStarted() local60 if(elapsedSeconds > WARNING_THRESHOLD_SECONDS) { in onStarted()65 elapsedSeconds * 1000, in onStarted()70 (1.0f-EXISTING_VALUE_WEIGHT) * elapsedSeconds; in onStarted()
1899 long elapsedSeconds = (SystemClock.currentTimeMicro() - startTime) / 1000000; in updateDatabase() local1901 + " in " + elapsedSeconds + " seconds"); in updateDatabase()