/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Timer.java | 32 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,
|
D | Timer.kt | 57 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>()
|
D | Stopwatch.java | 21 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()
|
D | Stopwatch.kt | 38 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/ |
D | TimerFragmentTest.java | 215 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/ |
D | VideoPlayer.java | 69 mediaPlayerState = State.PAUSED; in pause() 77 if (mediaPlayerState == State.PAUSED) { in resume() 138 PAUSED, enumConstant
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CommonControllerOverlay.java | 47 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()
|
D | TrimControllerOverlay.java | 98 if (mState == State.PLAYING || mState == State.PAUSED) { in onTouchEvent()
|
D | MovieControllerOverlay.java | 147 if (mState == State.PLAYING || mState == State.PAUSED) { in onTouchEvent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | PlayStatus.java | 29 static final byte PAUSED = 2; field in PlayStatus 61 return PlayStatus.PAUSED; in playbackStateToAvrcpState()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.kt | 226 Stopwatch.State.PAUSED -> doShare() in <lambda>() 284 Stopwatch.State.PAUSED -> { in <lambda>()
|
D | StopwatchFragment.java | 236 case PAUSED: in onRightButtonClick() 294 case PAUSED: in onUpdateFabButtons()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.kt | 239 Timer.State.PAUSED -> { in updateFab() 314 Timer.State.PAUSED, Timer.State.RESET -> { in onFabClick()
|
D | TimerItem.java | 122 case PAUSED: { in update()
|
D | TimerItem.kt | 114 Timer.State.RESET, Timer.State.PAUSED -> { in update()
|
D | TimerFragment.java | 265 case PAUSED: in updateFab() 350 case PAUSED: in onFabClick()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaEvent.java | 62 PAUSED (STATE_PAUSED), enumConstant
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapContract.java | 969 int PAUSED = 4; field
|