Searched refs:elapsedSeconds (Results 1 – 3 of 3) sorted by relevance
30 private static CharSequence formatDuration(Context context, long elapsedSeconds) { in formatDuration() argument33 long minutes = TimeUnit.SECONDS.toMinutes(elapsedSeconds); in formatDuration()34 long seconds = elapsedSeconds - TimeUnit.MINUTES.toSeconds(minutes); in formatDuration()37 if (elapsedSeconds >= 60) { in formatDuration()61 private static CharSequence formatDurationA11y(Context context, long elapsedSeconds) { in formatDurationA11y() argument63 if (elapsedSeconds >= 60) { in formatDurationA11y()64 int minutes = (int) (elapsedSeconds / 60); in formatDurationA11y()65 int seconds = (int) elapsedSeconds - minutes * 60; in formatDurationA11y()72 String secondsString = res.getQuantityString(R.plurals.a11y_seconds, (int) elapsedSeconds); in formatDurationA11y()75 R.string.a11y_call_duration_short_format, elapsedSeconds, secondsString); in formatDurationA11y()[all …]
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()
1418 final long elapsedSeconds = (SystemClock.elapsedRealtime() - startTime) in updateDatabase() local1421 + " in " + elapsedSeconds + " seconds"); in updateDatabase()1431 final long elapsedSeconds = (SystemClock.elapsedRealtime() - startTime) in downgradeDatabase() local1434 + " in " + elapsedSeconds + " seconds"); in downgradeDatabase()