/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Timer.kt | 42 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>()
|
D | Timer.java | 108 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()
|
D | TimerDAO.kt | 76 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()
|
D | Stopwatch.kt | 30 val lastStartTime: Long, constant in com.android.deskclock.data.Stopwatch 63 val timeSinceStart = Utils.now() - lastStartTime 122 val delta = timeSinceBoot - lastStartTime in updateAfterTimeSet()
|
D | StopwatchDAO.kt | 50 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()
|
D | Stopwatch.java | 49 Stopwatch(State state, long lastStartTime, long lastWallClockTime, long accumulatedTime) { in Stopwatch() argument 51 mLastStartTime = lastStartTime; in Stopwatch()
|
D | StopwatchDAO.java | 61 final long lastStartTime = prefs.getLong(LAST_START_TIME, Stopwatch.UNUSED); in getStopwatch() local 64 Stopwatch s = new Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime); in getStopwatch()
|
D | TimerDAO.java | 88 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()
|