Home
last modified time | relevance | path

Searched refs:RESET (Results 1 – 18 of 18) sorted by relevance

/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java185 assertStateEquals(Timer.State.RESET, 0); in timeClick_startsTimer()
197 assertStateEquals(Timer.State.RESET, 1); in timeClick_startsSecondTimer()
198 assertStateEquals(Timer.State.RESET, 0); in timeClick_startsSecondTimer()
201 assertStateEquals(Timer.State.RESET, 0); in timeClick_startsSecondTimer()
211 assertStateEquals(Timer.State.RESET, 0); in timeClick_pausesTimer()
225 assertStateEquals(Timer.State.RESET, 1); in timeClick_pausesSecondTimer()
226 assertStateEquals(Timer.State.RESET, 0); in timeClick_pausesSecondTimer()
229 assertStateEquals(Timer.State.RESET, 0); in timeClick_pausesSecondTimer()
232 assertStateEquals(Timer.State.RESET, 0); in timeClick_pausesSecondTimer()
242 assertStateEquals(Timer.State.RESET, 0); in timeClick_restartsTimer()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.java33 import static com.android.deskclock.data.Timer.State.RESET;
42 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); enumConstant
127 public boolean isReset() { return mState == RESET; } in isReset()
145 if (mState == PAUSED || mState == RESET) { in getRemainingTime()
206 if (mState == PAUSED || mState == RESET) { in pause()
221 if (mState == EXPIRED || mState == RESET || mState == MISSED) { in expire()
234 if (mState == RESET || mState == MISSED) { in miss()
247 if (mState == RESET) { in reset()
251 return new Timer(mId, RESET, mLength, mLength, UNUSED, UNUSED, mLength, mLabel, in reset()
259 if (mState == RESET || mState == PAUSED) { in updateAfterReboot()
[all …]
DTimer.kt57 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); in <lambda>()
75 get() = state == State.RESET in <lambda>()
95 if (state == State.PAUSED || state == State.RESET) { in <lambda>()
152 if (state == State.PAUSED || state == State.RESET) { in <lambda>()
167 if (state == State.EXPIRED || state == State.RESET || state == State.MISSED) { in <lambda>()
180 if (state == State.RESET || state == State.MISSED) { in <lambda>()
193 return if (state == State.RESET) { in <lambda>()
196 Timer(id, State.RESET, length, length, UNUSED, UNUSED, length, label, in <lambda>()
205 if (state == State.RESET || state == State.PAUSED) { in <lambda>()
222 if (state == State.RESET || state == State.PAUSED) { in <lambda>()
[all …]
DStopwatch.java22 import static com.android.deskclock.data.Stopwatch.State.RESET;
30 public enum State { RESET, RUNNING, PAUSED } enumConstant
35 private static final Stopwatch RESET_STOPWATCH = new Stopwatch(RESET, UNUSED, UNUSED, 0);
59 public boolean isReset() { return mState == RESET; } in isReset()
DStopwatch.kt38 RESET, RUNNING, PAUSED
42 get() = state == State.RESET
137 private val RESET_STOPWATCH = Stopwatch(State.RESET, UNUSED, UNUSED, 0)
DStopwatchDAO.java27 import static com.android.deskclock.data.Stopwatch.State.RESET;
59 final int stateIndex = prefs.getInt(STATE, RESET.ordinal()); in getStopwatch()
DTimerDAO.java29 import static com.android.deskclock.data.Timer.State.RESET;
80 final int stateValue = prefs.getInt(STATE + id, RESET.getValue()); in getTimers()
DTimerModel.java53 import static com.android.deskclock.data.Timer.State.RESET;
217 Timer timer = new Timer(-1, RESET, length, length, Timer.UNUSED, Timer.UNUSED, length, in addTimer()
DStopwatchDAO.kt48 val stateIndex: Int = prefs.getInt(STATE, Stopwatch.State.RESET.ordinal) in getStopwatch()
DTimerDAO.kt68 val stateValue: Int = prefs.getInt(STATE + id, Timer.State.RESET.value) in getTimers()
DTimerModel.kt183 Timer(-1, Timer.State.RESET, length, length, Timer.UNUSED, Timer.UNUSED, length, in addTimer()
/packages/apps/Messaging/build/
Dcolorize_errors.py25 RESET = "\033[0m" variable
40 print RESET + line,
41 print RESET
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt227 Stopwatch.State.RESET -> { in <lambda>()
271 Stopwatch.State.RESET -> { in <lambda>()
DStopwatchFragment.java281 case RESET: in onUpdateFabButtons()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt231 Timer.State.RESET -> { in updateFab()
314 Timer.State.PAUSED, Timer.State.RESET -> { in onFabClick()
DTimerItem.java121 case RESET: in update()
DTimerItem.kt114 Timer.State.RESET, Timer.State.PAUSED -> { in update()
DTimerFragment.java257 case RESET: in updateFab()
351 case RESET: in onFabClick()