Home
last modified time | relevance | path

Searched refs:RUNNING (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatch.java23 import static com.android.deskclock.data.Stopwatch.State.RUNNING;
30 public enum State { RESET, RUNNING, PAUSED } enumConstant
61 public boolean isRunning() { return mState == RUNNING; } in isRunning()
67 if (mState != RUNNING) { in getTotalTime()
89 if (mState == RUNNING) { in start()
93 return new Stopwatch(RUNNING, now(), wallClock(), getTotalTime()); in start()
100 if (mState != RUNNING) { in pause()
120 if (mState != RUNNING) { in updateAfterReboot()
137 if (mState != RUNNING) { in updateAfterTimeSet()
DTimer.java34 import static com.android.deskclock.data.Timer.State.RUNNING;
42 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); enumConstant
128 public boolean isRunning() { return mState == RUNNING; } in isRunning()
160 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) { in getExpirationTime()
171 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) { in getWallClockExpirationTime()
194 if (mState == RUNNING || mState == EXPIRED || mState == MISSED) { in start()
198 return new Timer(mId, RUNNING, mLength, mTotalLength, now(), wallClock(), mRemainingTime, in start()
347 state = RUNNING; in setRemainingTime()
412 private final List<State> stateExpiryOrder = Arrays.asList(MISSED, EXPIRED, RUNNING, PAUSED,
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstFacadeImpl.java48 RUNNING, enumConstant
131 BurstModuleState.RUNNING)) { in startBurst()
171 if (mBurstModuleState.compareAndSet(BurstModuleState.RUNNING, in stopBurst()
/packages/services/Car/evs/manager/
DVirtualCamera.h54 bool isStreaming() { return mStreamState == RUNNING; } in isStreaming()
76 RUNNING, enumerator
DVirtualCamera.cpp136 mStreamState = RUNNING; in startVideoStream()
184 if (mStreamState == RUNNING) { in stopVideoStream()
DHalCamera.h72 RUNNING, enumerator
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java233 case RUNNING: in onRightButtonClick()
286 case RUNNING: in onUpdateFabButtons()
341 if (priorState == Stopwatch.State.RUNNING) { in doReset()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DTimeoutTask.java51 if (getStatus() == AsyncTask.Status.RUNNING) { in prepare()
/packages/apps/Messaging/src/com/android/messaging/util/
DSafeAsyncTask.java101 if (getStatus() == Status.RUNNING) { in doInBackground()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.java249 case RUNNING: in updateFab()
342 case RUNNING: in onFabClick()
DTimerItem.java132 case RUNNING: { in update()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactResolver.java90 if (mTask != null && mTask.getStatus() == Status.RUNNING) { in run()