Home
last modified time | relevance | path

Searched refs:lastStartTime (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.kt42 val lastStartTime: Long, in <lambda>() constant in com.android.deskclock.data.Timer
102 val timeSinceStart = Utils.now() - lastStartTime in <lambda>()
114 return lastStartTime + lastRemainingTime in <lambda>()
227 val delta = timeSinceBoot - lastStartTime in <lambda>()
247 Timer(id, state, length, totalLength, lastStartTime, in <lambda>()
271 return Timer(id, state, length, totalLength, lastStartTime, in <lambda>()
288 val lastStartTime: Long in <lambda>() constant
293 lastStartTime = Utils.now() in <lambda>()
297 lastStartTime = this.lastStartTime in <lambda>()
301 return Timer(id, state, length, totalLength, lastStartTime, in <lambda>()
DTimer.java108 Timer(int id, State state, long length, long totalLength, long lastStartTime, in Timer() argument
114 mLastStartTime = lastStartTime; in Timer()
343 final long lastStartTime; in setRemainingTime() local
348 lastStartTime = now(); in setRemainingTime()
352 lastStartTime = mLastStartTime; in setRemainingTime()
356 return new Timer(mId, state, mLength, totalLength, lastStartTime, in setRemainingTime()
DTimerDAO.kt76 val lastStartTime: Long = prefs.getLong(LAST_START_TIME + id, Timer.UNUSED) in getTimers() constant
81 timers.add(Timer(id, it, length, totalLength, lastStartTime, in getTimers()
109 editor.putLong(LAST_START_TIME + id, timer.lastStartTime) in addTimer()
119 timer.lastStartTime, timer.lastWallClockTime, timer.remainingTime, in addTimer()
135 editor.putLong(LAST_START_TIME + id, timer.lastStartTime) in updateTimer()
DStopwatch.kt30 val lastStartTime: Long, constant in com.android.deskclock.data.Stopwatch
63 val timeSinceStart = Utils.now() - lastStartTime
122 val delta = timeSinceBoot - lastStartTime in updateAfterTimeSet()
DStopwatchDAO.kt50 val lastStartTime: Long = prefs.getLong(LAST_START_TIME, Stopwatch.UNUSED) in getStopwatch() constant
53 var s = Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime) in getStopwatch()
76 .putLong(LAST_START_TIME, stopwatch.lastStartTime) in setStopwatch()
DStopwatch.java49 Stopwatch(State state, long lastStartTime, long lastWallClockTime, long accumulatedTime) { in Stopwatch() argument
51 mLastStartTime = lastStartTime; in Stopwatch()
DStopwatchDAO.java61 final long lastStartTime = prefs.getLong(LAST_START_TIME, Stopwatch.UNUSED); in getStopwatch() local
64 Stopwatch s = new Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime); in getStopwatch()
DTimerDAO.java88 final long lastStartTime = prefs.getLong(LAST_START_TIME + id, Timer.UNUSED); in getTimers() local
94 timers.add(new Timer(id, state, length, totalLength, lastStartTime, in getTimers()