/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerFragmentTest.java | 185 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/ |
D | Timer.java | 33 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 …]
|
D | Timer.kt | 57 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 …]
|
D | Stopwatch.java | 22 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()
|
D | Stopwatch.kt | 38 RESET, RUNNING, PAUSED 42 get() = state == State.RESET 137 private val RESET_STOPWATCH = Stopwatch(State.RESET, UNUSED, UNUSED, 0)
|
D | StopwatchDAO.java | 27 import static com.android.deskclock.data.Stopwatch.State.RESET; 59 final int stateIndex = prefs.getInt(STATE, RESET.ordinal()); in getStopwatch()
|
D | TimerDAO.java | 29 import static com.android.deskclock.data.Timer.State.RESET; 80 final int stateValue = prefs.getInt(STATE + id, RESET.getValue()); in getTimers()
|
D | TimerModel.java | 53 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()
|
D | StopwatchDAO.kt | 48 val stateIndex: Int = prefs.getInt(STATE, Stopwatch.State.RESET.ordinal) in getStopwatch()
|
D | TimerDAO.kt | 68 val stateValue: Int = prefs.getInt(STATE + id, Timer.State.RESET.value) in getTimers()
|
D | TimerModel.kt | 183 Timer(-1, Timer.State.RESET, length, length, Timer.UNUSED, Timer.UNUSED, length, in addTimer()
|
/packages/apps/Messaging/build/ |
D | colorize_errors.py | 25 RESET = "\033[0m" variable 40 print RESET + line, 41 print RESET
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.kt | 227 Stopwatch.State.RESET -> { in <lambda>() 271 Stopwatch.State.RESET -> { in <lambda>()
|
D | StopwatchFragment.java | 281 case RESET: in onUpdateFabButtons()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.kt | 231 Timer.State.RESET -> { in updateFab() 314 Timer.State.PAUSED, Timer.State.RESET -> { in onFabClick()
|
D | TimerItem.java | 121 case RESET: in update()
|
D | TimerItem.kt | 114 Timer.State.RESET, Timer.State.PAUSED -> { in update()
|
D | TimerFragment.java | 257 case RESET: in updateFab() 351 case RESET: in onFabClick()
|