HomeSort by relevance Sort by last modified time
    Searched refs:mPlaybackState (Results 1 - 21 of 21) sorted by null

  /frameworks/base/tests/OneMedia/src/com/android/onemedia/
PlayerSession.java 51 protected PlaybackState mPlaybackState;
63 mPlaybackState = psBob.build();
80 mSession.setPlaybackState(mPlaybackState);
141 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState);
144 mPlaybackState = bob.build();
145 mSession.setPlaybackState(mPlaybackState);
167 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState);
172 mPlaybackState = bob.build();
173 mSession.setPlaybackState(mPlaybackState);
175 mListener.onPlayStateChanged(mPlaybackState);
    [all...]
OnePlayerActivity.java 61 private PlaybackState mPlaybackState;
143 final int state = mPlaybackState.getState();
178 mPlaybackState = state;
182 switch (mPlaybackState.getState()) {
212 statusBuilder.append(mPlaybackState);
NotificationHelper.java 41 private PlaybackState mPlaybackState;
90 mPlaybackState = mController.getPlaybackState();
131 mPlaybackState = state;
150 if (mPlaybackState == null) {
160 final int state = mPlaybackState.getState();
205 final long pos = mPlaybackState.getPosition();
  /developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
PlaylistItem.java 35 private int mPlaybackState = MediaItemStatus.PLAYBACK_STATE_PENDING;
55 mPlaybackState = state;
91 return mPlaybackState;
107 return new MediaItemStatus.Builder(mPlaybackState)
128 + state[mPlaybackState] + "] " + mUri.toString();
  /developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
PlaylistItem.java 35 private int mPlaybackState = MediaItemStatus.PLAYBACK_STATE_PENDING;
55 mPlaybackState = state;
91 return mPlaybackState;
107 return new MediaItemStatus.Builder(mPlaybackState)
128 + state[mPlaybackState] + "] " + mUri.toString();
  /development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
PlaylistItem.java 35 private int mPlaybackState = MediaItemStatus.PLAYBACK_STATE_PENDING;
55 mPlaybackState = state;
91 return mPlaybackState;
107 return new MediaItemStatus.Builder(mPlaybackState)
128 + state[mPlaybackState] + "] " + mUri.toString();
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
PlaylistItem.java 36 private int mPlaybackState = MediaItemStatus.PLAYBACK_STATE_PENDING;
58 mPlaybackState = state;
98 return mPlaybackState;
114 return new MediaItemStatus.Builder(mPlaybackState)
135 + state[mPlaybackState] + "] " + mTitle + ": " + mUri.toString();
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
PlaybackOverlayActivity.java 50 private LeanbackPlaybackState mPlaybackState = LeanbackPlaybackState.IDLE;
85 if (position == 0 || mPlaybackState == LeanbackPlaybackState.IDLE) {
87 mPlaybackState = LeanbackPlaybackState.IDLE;
90 if (playPause && mPlaybackState != LeanbackPlaybackState.PLAYING) {
91 mPlaybackState = LeanbackPlaybackState.PLAYING;
97 mPlaybackState = LeanbackPlaybackState.PAUSED;
111 if (mPlaybackState == LeanbackPlaybackState.PLAYING) {
123 if (mPlaybackState == LeanbackPlaybackState.PAUSED) {
135 if (mPlaybackState == LeanbackPlaybackState.PLAYING) {
206 mPlaybackState = LeanbackPlaybackState.IDLE
    [all...]
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
MediaNotificationManager.java 59 private PlaybackState mPlaybackState;
106 mPlaybackState = mController.getPlaybackState();
195 mPlaybackState = state;
228 if (mMetadata == null || mPlaybackState == null) {
236 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) {
250 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) {
300 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING) {
313 LogHelper.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState);
314 if (mPlaybackState == null || !mStarted)
    [all...]
QueueFragment.java 50 private PlaybackState mPlaybackState;
70 mPlaybackState = mMediaController.getPlaybackState();
79 onPlaybackStateChanged(mPlaybackState);
112 mPlaybackState = state;
225 statusBuilder.append(mPlaybackState);
248 final int state = mPlaybackState == null ?
249 PlaybackState.STATE_NONE : mPlaybackState.getState();
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
MediaNotificationManager.java 59 private PlaybackState mPlaybackState;
106 mPlaybackState = mController.getPlaybackState();
195 mPlaybackState = state;
228 if (mMetadata == null || mPlaybackState == null) {
236 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) {
250 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) {
300 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING) {
313 LogHelper.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState);
314 if (mPlaybackState == null || !mStarted)
    [all...]
QueueFragment.java 50 private PlaybackState mPlaybackState;
70 mPlaybackState = mMediaController.getPlaybackState();
79 onPlaybackStateChanged(mPlaybackState);
112 mPlaybackState = state;
225 statusBuilder.append(mPlaybackState);
248 final int state = mPlaybackState == null ?
249 PlaybackState.STATE_NONE : mPlaybackState.getState();
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
MediaNotificationManager.java 59 private PlaybackState mPlaybackState;
106 mPlaybackState = mController.getPlaybackState();
195 mPlaybackState = state;
228 if (mMetadata == null || mPlaybackState == null) {
236 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) {
250 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) {
300 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING) {
313 LogHelper.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState);
314 if (mPlaybackState == null || !mStarted)
    [all...]
QueueFragment.java 50 private PlaybackState mPlaybackState;
70 mPlaybackState = mMediaController.getPlaybackState();
79 onPlaybackStateChanged(mPlaybackState);
112 mPlaybackState = state;
225 statusBuilder.append(mPlaybackState);
248 final int state = mPlaybackState == null ?
249 PlaybackState.STATE_NONE : mPlaybackState.getState();
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
MediaNotificationManager.java 62 private PlaybackStateCompat mPlaybackState;
108 mPlaybackState = mController.getPlaybackState();
201 mPlaybackState = state;
234 if (mMetadata == null || mPlaybackState == null) {
241 if ((mPlaybackState.getActions() & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) {
249 if ((mPlaybackState.getActions() & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) {
295 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING) {
308 Log.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState);
309 if (mPlaybackState == null || !mStarted)
    [all...]
QueueFragment.java 53 private PlaybackStateCompat mPlaybackState;
77 mPlaybackState = mMediaController.getPlaybackState();
86 onPlaybackStateChanged(mPlaybackState);
119 mPlaybackState = state;
232 statusBuilder.append(mPlaybackState);
257 final int state = mPlaybackState == null ?
258 PlaybackStateCompat.STATE_NONE : mPlaybackState.getState();
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
PlayerActivity.java 73 private PlaybackState mPlaybackState;
112 mPlaybackState = PlaybackState.PLAYING;
113 updatePlayButton(mPlaybackState);
122 mPlaybackState = PlaybackState.PAUSED;
123 updatePlayButton(mPlaybackState);
129 if (mPlaybackState == PlaybackState.PLAYING ||
130 mPlaybackState == PlaybackState.BUFFERING) {
191 mPlaybackState = PlaybackState.PAUSED;
298 mPlaybackState = PlaybackState.IDLE;
320 mPlaybackState = PlaybackState.IDLE
    [all...]
  /frameworks/base/services/core/java/com/android/server/media/
MediaSessionRecord.java 106 private PlaybackState mPlaybackState;
329 int state = mPlaybackState == null ? 0 : mPlaybackState.getState();
333 if (includeRecentlyActive && state == mPlaybackState.STATE_PAUSED) {
446 pw.println(indent + "state=" + (mPlaybackState == null ? null : mPlaybackState.toString()));
498 cb.onPlaybackStateChanged(mPlaybackState);
650 state = mPlaybackState;
791 int oldState = mPlaybackState == null ? 0 : mPlaybackState.getState()
    [all...]
  /frameworks/base/media/java/android/media/
RemoteControlClient.java 662 if ((mPlaybackState != state) || (mPlaybackPositionMs != timeInMs)
665 mPlaybackState = state;
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaSessionTest.java 159 PlaybackState stateOut = mCallback.mPlaybackState;
353 private volatile PlaybackState mPlaybackState;
371 mPlaybackState = null;
383 mPlaybackState = state;
  /frameworks/base/media/java/android/media/session/
MediaSession.java 116 private PlaybackState mPlaybackState;
400 mPlaybackState = state;
765 PlaybackState state = mSession.mPlaybackState;
    [all...]

Completed in 612 milliseconds