Home
last modified time | relevance | path

Searched refs:elapsedSeconds (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallDateUtils.java21 int elapsedSeconds = (int) (millis / 1000); in formatDuration() local
22 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()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallDetailHistoryAdapter.java131 private CharSequence formatDuration(long elapsedSeconds) { in formatDuration() argument
135 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() argument
154 CharSequence duration = formatDuration(elapsedSeconds); in formatDurationAndDataUsage()
/packages/apps/Camera2/src/com/android/camera/one/v2/stats/
DPreviewFpsListener.java56 double elapsedSeconds = (double)elapsedNanos / NANO_TO_SECOND_DENOMINATOR; in onStarted() local
60 if(elapsedSeconds > WARNING_THRESHOLD_SECONDS) { in onStarted()
65 elapsedSeconds * 1000, in onStarted()
70 (1.0f-EXISTING_VALUE_WEIGHT) * elapsedSeconds; in onStarted()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1903 long elapsedSeconds = (SystemClock.currentTimeMicro() - startTime) / 1000000; in updateDatabase() local
1905 + " in " + elapsedSeconds + " seconds"); in updateDatabase()