Lines Matching refs:time
185 * @return the longest lap time of all recorded laps and the current lap
192 // Compute the maximum lap time across all recorded laps.
197 // Compare with the maximum lap time for the current lap.
207 * In practice, {@code time} can be any value due to device reboots. When the real-time clock is
208 * reset, there is no more guarantee that this time falls after the last recorded lap.
210 * @param time a point in time expected, but not required, to be after the end of the prior lap
211 * @return the elapsed time between the given {@code time} and the end of the prior lap;
214 long getCurrentLapTime(long time) {
216 final long currentLapTime = time - previousLap.getAccumulatedTime();
226 // Notification should be hidden if the stopwatch has no time or the app is open.