Searched refs:elapsedSeconds (Results 1 – 4 of 4) sorted by relevance
21 int elapsedSeconds = (int) (millis / 1000); in formatDuration() local22 if (elapsedSeconds >= 3600) { in formatDuration()23 hours = elapsedSeconds / 3600; in formatDuration()24 elapsedSeconds -= hours * 3600; in formatDuration()26 if (elapsedSeconds >= 60) { in formatDuration()27 minutes = elapsedSeconds / 60; in formatDuration()28 elapsedSeconds -= minutes * 60; in formatDuration()30 seconds = elapsedSeconds; in formatDuration()
131 private CharSequence formatDuration(long elapsedSeconds) { in formatDuration() argument135 if (elapsedSeconds >= 60) { in formatDuration()136 minutes = elapsedSeconds / 60; in formatDuration()137 elapsedSeconds -= minutes * 60; in formatDuration()138 seconds = elapsedSeconds; in formatDuration()141 seconds = elapsedSeconds; in formatDuration()153 private CharSequence formatDurationAndDataUsage(long elapsedSeconds, Long dataUsage) { in formatDurationAndDataUsage() argument154 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()
1903 long elapsedSeconds = (SystemClock.currentTimeMicro() - startTime) / 1000000; in updateDatabase() local1905 + " in " + elapsedSeconds + " seconds"); in updateDatabase()