Home
last modified time | relevance | path

Searched refs:STATE_PLAYING (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/wilhelm/tests/sandbox/
Dmonkey.c33 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/
DLocalRenderer.java77 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()
DRenderer.java56 public static final int STATE_PLAYING = 1 << 3; field in Renderer
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java44 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()
DLocalPlayer.java139 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()
DRemotePlayer.java141 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/
DPlayback.java201 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()
DMediaNotificationManager.java295 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()
DQueueFragment.java207 case PlaybackStateCompat.STATE_PLAYING: in onPlaybackStateChanged()
267 } else if (state == PlaybackStateCompat.STATE_PLAYING) {
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0; in updateState()
203 case Renderer.STATE_PLAYING: in onStateChanged()
204 pbState = PlaybackState.STATE_PLAYING; in onStateChanged()
DOnePlayerActivity.java150 } else if (state == PlaybackState.STATE_PLAYING) {
183 case PlaybackState.STATE_PLAYING:
DNotificationHelper.java162 case PlaybackState.STATE_PLAYING: in updateNotification()
197 if (state == PlaybackState.STATE_PLAYING) { in updateNotification()
DPlayerService.java111 case PlaybackState.STATE_PLAYING:
/frameworks/base/core/java/android/widget/
DVideoView.java90 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/
DPlaybackState.java181 @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()
DMediaSession.java657 case PlaybackState.STATE_PLAYING: in isActiveState()
821 : state.getState() == PlaybackState.STATE_PLAYING; in onMediaButtonEvent()
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dpSink.java92 public static final int STATE_PLAYING = 10; field in BluetoothA2dpSink
473 case STATE_PLAYING: in stateToString()
DBluetoothA2dp.java130 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/
DPlaybackStateCompatTest.java96 .setState(PlaybackStateCompat.STATE_PLAYING, TEST_POSITION, TEST_PLAYBACK_SPEED) in testBuilder_setterMethods()
103 assertEquals(PlaybackStateCompat.STATE_PLAYING, state.getState()); in testBuilder_setterMethods()
DMediaSessionCompatTest.java602 .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/
DUtil.java105 case PlaybackState.STATE_PLAYING: return "STATE_PLAYING"; in playbackStateStateToString()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DMediaControllerGlue.java114 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DMediaControllerGlue.java129 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java217 @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/
DMediaSessionStack.java68 PlaybackState.STATE_PLAYING };

123