Home | History | Annotate | Download | only in data

Lines Matching defs:RUNNING

23 import static com.android.deskclock.data.Stopwatch.State.RUNNING;
30 public enum State { RESET, RUNNING, PAUSED }
40 /** Elapsed time in ms the stopwatch was last started; {@link #UNUSED} if not running. */
46 /** Elapsed time in ms this stopwatch has accumulated while running. */
61 public boolean isRunning() { return mState == RUNNING; }
67 if (mState != RUNNING) {
86 * @return a copy of this stopwatch that is running
89 if (mState == RUNNING) {
93 return new Stopwatch(RUNNING, now(), wallClock(), getTotalTime());
100 if (mState != RUNNING) {
115 * @return this Stopwatch if it is not running or an updated version based on wallclock time.
120 if (mState != RUNNING) {
132 * @return this Stopwatch if it is not running or an updated version based on the realtime.
137 if (mState != RUNNING) {