Home
last modified time | relevance | path

Searched refs:mOriginalLength (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerObj.java47 public long mOriginalLength; // length set at start of timer and by +1 min after times up field in TimerObj
95 .putLong(PREF_ORIGINAL_TIME + id, mOriginalLength) in writeToSharedPref()
111 mOriginalLength = prefs.getLong(PREF_ORIGINAL_TIME + id, 0); in readFromSharedPref()
154 dest.writeLong(mOriginalLength); in writeToParcel()
165 mOriginalLength = p.readLong(); in TimerObj()
195 mTimeLeft = mOriginalLength = mSetupLength = length; in init()
221 mTimeLeft = mOriginalLength - (millis - mStartTime); in updateTimeLeft()
246 mTimeLeft = mOriginalLength - (Utils.getTimeNow() - mStartTime); in addTime()
248 mOriginalLength += time; in addTime()
257 return mStartTime + mOriginalLength; in getTimesupTime()
[all …]
DTimerFullScreenFragment.java177 v.set(o.mOriginalLength, timeLeft, drawRed); in getView()
600 t.mTimeLeft = t.mOriginalLength = t.mSetupLength; in resetTimer()
606 t.mView.set(t.mOriginalLength, t.mTimeLeft, false); in resetTimer()
743 t.mTimeLeft = t.mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onPlusOneButtonPressed()
755 t.mTimeLeft = t.mOriginalLength = t.mSetupLength; in onPlusOneButtonPressed()
758 t.mView.set(t.mOriginalLength, t.mTimeLeft, false); in onPlusOneButtonPressed()
782 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onStopButtonPressed()
803 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onStopButtonPressed()
DTimerFragment.java506 t.mStartTime = Utils.getTimeNow() - (t.mOriginalLength - t.mTimeLeft); in onFabClick()
522 t.mOriginalLength = t.mSetupLength; in onFabClick()
526 t.mView.set(t.mOriginalLength, t.mTimeLeft, false); in onFabClick()
744 t.mOriginalLength = t.mSetupLength; in onPlusOneButtonPressed()
747 t.mView.set(t.mOriginalLength, t.mTimeLeft, false); in onPlusOneButtonPressed()
756 t.mTimeLeft = t.mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onPlusOneButtonPressed()
758 t.mView.set(t.mOriginalLength, t.mTimeLeft, true); in onPlusOneButtonPressed()
DTimerReceiver.java146 t.mTimeLeft = t.mOriginalLength = t.mSetupLength; in onReceive()
174 t.mTimeLeft = t. mOriginalLength = TimerObj.MINUTE_IN_MILLIS; in onReceive()
DTimerItemFragment.java68 v.set(mTimerObj.mOriginalLength, timeLeft, drawWithColor); in onCreateView()