Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.java32 import static com.android.deskclock.data.Timer.State.PAUSED;
42 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); enumConstant
129 public boolean isPaused() { return mState == PAUSED; } in isPaused()
145 if (mState == PAUSED || mState == RESET) { in getRemainingTime()
206 if (mState == PAUSED || mState == RESET) { in pause()
213 return new Timer(mId, PAUSED, mLength, mTotalLength, UNUSED, UNUSED, remainingTime, mLabel, in pause()
259 if (mState == RESET || mState == PAUSED) { in updateAfterReboot()
277 if (mState == RESET || mState == PAUSED) { in updateAfterTimeSet()
412 private final List<State> stateExpiryOrder = Arrays.asList(MISSED, EXPIRED, RUNNING, PAUSED,
DTimer.kt57 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); in <lambda>()
81 get() = state == State.PAUSED in <lambda>()
95 if (state == State.PAUSED || state == State.RESET) { in <lambda>()
152 if (state == State.PAUSED || state == State.RESET) { in <lambda>()
159 return Timer(id, State.PAUSED, length, totalLength, UNUSED, UNUSED, remainingTime, label, in <lambda>()
205 if (state == State.RESET || state == State.PAUSED) { in <lambda>()
222 if (state == State.RESET || state == State.PAUSED) { in <lambda>()
361 listOf(State.MISSED, State.EXPIRED, State.RUNNING, State.PAUSED, State.RESET) in <lambda>()
DStopwatch.java21 import static com.android.deskclock.data.Stopwatch.State.PAUSED;
30 public enum State { RESET, RUNNING, PAUSED } enumConstant
60 public boolean isPaused() { return mState == PAUSED; } in isPaused()
104 return new Stopwatch(PAUSED, UNUSED, UNUSED, getTotalTime()); in pause()
DStopwatch.kt38 RESET, RUNNING, PAUSED
45 get() = state == State.PAUSED
85 Stopwatch(State.PAUSED, UNUSED, UNUSED, totalTime) in pause()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java215 assertStateEquals(Timer.State.PAUSED, 0); in timeClick_pausesTimer()
231 assertStateEquals(Timer.State.PAUSED, 1); in timeClick_pausesSecondTimer()
246 assertStateEquals(Timer.State.PAUSED, 0); in timeClick_restartsTimer()
264 assertStateEquals(Timer.State.PAUSED, 1); in timeClick_restartsSecondTimer()
300 assertStateEquals(Timer.State.PAUSED, 0); in fabClick_pausesTimer()
314 assertStateEquals(Timer.State.PAUSED, 1); in fabClick_pausesSecondTimer()
327 assertStateEquals(Timer.State.PAUSED, 0); in fabClick_restartsTimer()
343 assertStateEquals(Timer.State.PAUSED, 1); in fabClick_restartsSecondTimer()
446 assertStateEquals(Timer.State.PAUSED, 0); in clickReset_resetsTimer()
464 assertStateEquals(Timer.State.PAUSED, 1); in clickReset_resetsSecondTimer()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVideoPlayer.java69 mediaPlayerState = State.PAUSED; in pause()
77 if (mediaPlayerState == State.PAUSED) { in resume()
138 PAUSED, enumConstant
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCommonControllerOverlay.java47 PAUSED, enumConstant
158 mState = State.PAUSED; in showPaused()
224 } else if (mState == State.PAUSED || mState == State.PLAYING) { in onClick()
313 if (mState == State.PAUSED) { in updateViews()
DTrimControllerOverlay.java98 if (mState == State.PLAYING || mState == State.PAUSED) { in onTouchEvent()
DMovieControllerOverlay.java147 if (mState == State.PLAYING || mState == State.PAUSED) { in onTouchEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DPlayStatus.java29 static final byte PAUSED = 2; field in PlayStatus
61 return PlayStatus.PAUSED; in playbackStateToAvrcpState()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt226 Stopwatch.State.PAUSED -> doShare() in <lambda>()
284 Stopwatch.State.PAUSED -> { in <lambda>()
DStopwatchFragment.java236 case PAUSED: in onRightButtonClick()
294 case PAUSED: in onUpdateFabButtons()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt239 Timer.State.PAUSED -> { in updateFab()
314 Timer.State.PAUSED, Timer.State.RESET -> { in onFabClick()
DTimerItem.java122 case PAUSED: { in update()
DTimerItem.kt114 Timer.State.RESET, Timer.State.PAUSED -> { in update()
DTimerFragment.java265 case PAUSED: in updateFab()
350 case PAUSED: in onFabClick()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java62 PAUSED (STATE_PAUSED), enumConstant
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java969 int PAUSED = 4; field