Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatch.kt104 val wallClockTime = Utils.wallClock() in reset() constant
107 val delta = max(0, wallClockTime - lastWallClockTime) in reset()
108 return Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta) in reset()
121 val wallClockTime = Utils.wallClock() in updateAfterTimeSet() constant
129 Stopwatch(state, timeSinceBoot, wallClockTime, accumulatedTime + delta) in updateAfterTimeSet()
DStopwatch.java124 final long wallClockTime = wallClock(); in updateAfterReboot() local
127 final long delta = Math.max(0, wallClockTime - mLastStartWallClockTime); in updateAfterReboot()
128 return new Stopwatch(mState, timeSinceBoot, wallClockTime, mAccumulatedTime + delta); in updateAfterReboot()
141 final long wallClockTime = wallClock(); in updateAfterTimeSet() local
149 return new Stopwatch(mState, timeSinceBoot, wallClockTime, mAccumulatedTime + delta); in updateAfterTimeSet()
DTimer.java264 final long wallClockTime = wallClock(); in updateAfterReboot() local
267 final long delta = Math.max(0, wallClockTime - mLastStartWallClockTime); in updateAfterReboot()
269 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterReboot()
282 final long wallClockTime = wallClock(); in updateAfterTimeSet() local
291 return new Timer(mId, mState, mLength, mTotalLength, timeSinceBoot, wallClockTime, in updateAfterTimeSet()
DTimer.kt209 val wallClockTime = Utils.wallClock() in <lambda>() constant
212 val delta = max(0, wallClockTime - lastWallClockTime) in <lambda>()
214 return Timer(id, state, length, totalLength, timeSinceBoot, wallClockTime, in <lambda>()
226 val wallClockTime = Utils.wallClock() in <lambda>() constant
235 Timer(id, state, length, totalLength, timeSinceBoot, wallClockTime, in <lambda>()