Home | History | Annotate | Download | only in data

Lines Matching defs:RUNNING

34 import static com.android.deskclock.data.Timer.State.RUNNING;
42 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5);
93 /** The time at which the timer was last started; {@link #UNUSED} when not running. */
128 public boolean isRunning() { return mState == RUNNING; }
160 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) {
171 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) {
191 * @return a copy of this timer that is running, expired or missed
194 if (mState == RUNNING || mState == EXPIRED || mState == MISSED) {
198 return new Timer(mId, RUNNING, mLength, mTotalLength, now(), wallClock(), mRemainingTime,
347 state = RUNNING;
405 * <li>{@link State#RUNNING RUNNING} timers; ties broken by {@link #getRemainingTime()}</li>
412 private final List<State> stateExpiryOrder = Arrays.asList(MISSED, EXPIRED, RUNNING, PAUSED,