/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 33 STATE_PLAYING, enumerator 67 return STATE_PLAYING; in actionPlay() 212 _(STATE_PLAYING, actionDestroy, 1) 213 _(STATE_PLAYING, actionPause, 1) 214 _(STATE_PLAYING, actionPlay, 1) 215 _(STATE_PLAYING, actionRewind, 1) 216 _(STATE_PLAYING, actionSleep, 1) 217 _(STATE_PLAYING, actionStop, 1)
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | LocalRenderer.java | 77 private static final int CAN_PAUSE = STATE_PLAYING; 81 private static final int CAN_SEEK = STATE_READY | STATE_PLAYING | STATE_PAUSED | STATE_ENDED; 90 private static final int CAN_STOP = STATE_READY | STATE_PLAYING | STATE_PAUSED | STATE_ENDED; 95 private static final int CAN_GET_POSITION = STATE_READY | STATE_PLAYING | STATE_PAUSED; 276 setState(STATE_PLAYING); in onPrepared() 353 if (mState == STATE_PLAYING) { in onAudioFocusChange() 360 if (mState == STATE_PLAYING) { in onAudioFocusChange() 491 if (player != null && mState == STATE_PLAYING) { in onPlay() 500 setState(STATE_PLAYING); in onPlay() 575 return mState == STATE_PLAYING; in isPlaying()
|
D | Renderer.java | 56 public static final int STATE_PLAYING = 1 << 3; field in Renderer
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | Player.java | 44 protected static final int STATE_PLAYING = 4; field in Player 138 case STATE_PLAYING: in publishState() 139 bob.setState(PlaybackStateCompat.STATE_PLAYING, -1, 1); in publishState()
|
D | LocalPlayer.java | 139 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in seek() 152 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in getStatus() 170 if (mState == STATE_PLAYING) { in pause() 185 mState = STATE_PLAYING; in resume() 196 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in stop() 227 mState = mState == STATE_PREPARING_FOR_PLAY ? STATE_PLAYING : STATE_PAUSED; in onPrepared() 653 if (getState() == STATE_PLAYING || getState() == STATE_PAUSED) { in getSnapshot()
|
D | RemotePlayer.java | 141 publishState(STATE_PLAYING); in play() 242 publishState(STATE_PLAYING); in resume() 376 publishState(STATE_PLAYING); in enqueueInternal()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | Playback.java | 201 if (mState == PlaybackState.STATE_PLAYING) { in pause() 279 if (mState == PlaybackState.STATE_PLAYING) { in configMediaPlayerState() 297 mState = PlaybackState.STATE_PLAYING; in configMediaPlayerState() 332 if (mState == PlaybackState.STATE_PLAYING && !canDuck) { in onAudioFocusChange() 354 mState = PlaybackState.STATE_PLAYING; in onSeekComplete()
|
D | MediaNotificationManager.java | 295 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING) { in addPlayPauseAction() 314 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING in setNotificationPlaybackState() 332 builder.setOngoing(mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING); in setNotificationPlaybackState()
|
D | QueueFragment.java | 207 case PlaybackStateCompat.STATE_PLAYING: in onPlaybackStateChanged() 267 } else if (state == PlaybackStateCompat.STATE_PLAYING) {
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerSession.java | 139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0; in updateState() 203 case Renderer.STATE_PLAYING: in onStateChanged() 204 pbState = PlaybackState.STATE_PLAYING; in onStateChanged()
|
D | OnePlayerActivity.java | 150 } else if (state == PlaybackState.STATE_PLAYING) { 183 case PlaybackState.STATE_PLAYING:
|
D | NotificationHelper.java | 162 case PlaybackState.STATE_PLAYING: in updateNotification() 197 if (state == PlaybackState.STATE_PLAYING) { in updateNotification()
|
D | PlayerService.java | 111 case PlaybackState.STATE_PLAYING:
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 90 private static final int STATE_PLAYING = 3; field in VideoView 504 if (mTargetState == STATE_PLAYING) { 520 if (mTargetState == STATE_PLAYING) { 665 boolean isValidState = (mTargetState == STATE_PLAYING); 781 mCurrentState = STATE_PLAYING; in start() 783 mTargetState = STATE_PLAYING; in start()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 181 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING, 215 public final static int STATE_PLAYING = 3; field in PlaybackState 504 return STATE_PLAYING; in getStateFromRccState() 538 case STATE_PLAYING: in getRccStateFromState()
|
D | MediaSession.java | 657 case PlaybackState.STATE_PLAYING: in isActiveState() 821 : state.getState() == PlaybackState.STATE_PLAYING; in onMediaButtonEvent()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothA2dpSink.java | 92 public static final int STATE_PLAYING = 10; field in BluetoothA2dpSink 473 case STATE_PLAYING: in stateToString()
|
D | BluetoothA2dp.java | 130 public static final int STATE_PLAYING = 10; field in BluetoothA2dp 787 case STATE_PLAYING: in stateToString()
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
D | PlaybackStateCompatTest.java | 96 .setState(PlaybackStateCompat.STATE_PLAYING, TEST_POSITION, TEST_PLAYBACK_SPEED) in testBuilder_setterMethods() 103 assertEquals(PlaybackStateCompat.STATE_PLAYING, state.getState()); in testBuilder_setterMethods()
|
D | MediaSessionCompatTest.java | 602 .setState(PlaybackStateCompat.STATE_PLAYING, 0L, 0.0f) in testCallbackOnMediaButtonEvent() 653 .setState(PlaybackStateCompat.STATE_PLAYING, 0L, 0.0f).build()); in testCallbackOnMediaButtonEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Util.java | 105 case PlaybackState.STATE_PLAYING: return "STATE_PLAYING"; in playbackStateStateToString()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/ |
D | MediaControllerGlue.java | 114 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | MediaControllerGlue.java | 129 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | PlaybackStateCompat.java | 217 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING, 250 public final static int STATE_PLAYING = 3; field in PlaybackStateCompat
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 68 PlaybackState.STATE_PLAYING };
|