Searched refs:elapsedSeconds (Results 1 – 2 of 2) 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()