Home
last modified time | relevance | path

Searched refs:mPlaybackState (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java59 private PlaybackState mPlaybackState; field in MediaNotificationManager
106 mPlaybackState = mController.getPlaybackState(); in startNotification()
195 mPlaybackState = state;
228 if (mMetadata == null || mPlaybackState == null) { in createNotification()
236 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in createNotification()
250 if ((mPlaybackState.getActions() & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in createNotification()
300 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING) { in addPlayPauseAction()
313 LogHelper.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState); in setNotificationPlaybackState()
314 if (mPlaybackState == null || !mStarted) { in setNotificationPlaybackState()
319 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING in setNotificationPlaybackState()
[all …]
DQueueFragment.java50 private PlaybackState mPlaybackState; field in QueueFragment
70 mPlaybackState = mMediaController.getPlaybackState();
79 onPlaybackStateChanged(mPlaybackState);
112 mPlaybackState = state;
225 statusBuilder.append(mPlaybackState); in onPlaybackStateChanged()
248 final int state = mPlaybackState == null ?
249 PlaybackState.STATE_NONE : mPlaybackState.getState();
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlaylistItem.java35 private int mPlaybackState = MediaItemStatus.PLAYBACK_STATE_PENDING; field in PlaylistItem
55 mPlaybackState = state; in setState()
91 return mPlaybackState; in getState()
107 return new MediaItemStatus.Builder(mPlaybackState) in getStatus()
128 + state[mPlaybackState] + "] " + mUri.toString(); in toString()