Searched refs:mPlaybackState (Results 1 – 9 of 9) sorted by relevance
51 protected PlaybackState mPlaybackState; field in PlayerSession63 mPlaybackState = psBob.build(); in PlayerSession()80 mSession.setPlaybackState(mPlaybackState); in createSession()141 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in updateState()144 mPlaybackState = bob.build(); in updateState()145 mSession.setPlaybackState(mPlaybackState); in updateState()167 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in onError()172 mPlaybackState = bob.build(); in onError()173 mSession.setPlaybackState(mPlaybackState); in onError()175 mListener.onPlayStateChanged(mPlaybackState); in onError()[all …]
41 private PlaybackState mPlaybackState; field in NotificationHelper90 mPlaybackState = mController.getPlaybackState(); in onStart()131 mPlaybackState = state;150 if (mPlaybackState == null) { in updateNotification()160 final int state = mPlaybackState.getState(); in updateNotification()205 final long pos = mPlaybackState.getPosition(); in updateNotification()
61 private PlaybackState mPlaybackState; field in OnePlayerActivity143 final int state = mPlaybackState.getState();178 mPlaybackState = state;182 switch (mPlaybackState.getState()) {212 statusBuilder.append(mPlaybackState);
62 private PlaybackStateCompat mPlaybackState; field in MediaNotificationManager108 mPlaybackState = mController.getPlaybackState(); in startNotification()201 mPlaybackState = state;234 if (mMetadata == null || mPlaybackState == null) { in createNotification()241 if ((mPlaybackState.getActions() & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) { in createNotification()249 if ((mPlaybackState.getActions() & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { in createNotification()295 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING) { in addPlayPauseAction()308 Log.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState); in setNotificationPlaybackState()309 if (mPlaybackState == null || !mStarted) { in setNotificationPlaybackState()314 if (mPlaybackState.getState() == PlaybackStateCompat.STATE_PLAYING in setNotificationPlaybackState()[all …]
53 private PlaybackStateCompat mPlaybackState; field in QueueFragment77 mPlaybackState = mMediaController.getPlaybackState();86 onPlaybackStateChanged(mPlaybackState);119 mPlaybackState = state;232 statusBuilder.append(mPlaybackState); in onPlaybackStateChanged()257 final int state = mPlaybackState == null ?258 PlaybackStateCompat.STATE_NONE : mPlaybackState.getState();
36 private int mPlaybackState = MediaItemStatus.PLAYBACK_STATE_PENDING; field in PlaylistItem58 mPlaybackState = state; in setState()98 return mPlaybackState; in getState()114 return new MediaItemStatus.Builder(mPlaybackState) in getStatus()135 + state[mPlaybackState] + "] " + mTitle + ": " + mUri.toString(); in toString()
106 private PlaybackState mPlaybackState; field in MediaSessionRecord329 int state = mPlaybackState == null ? 0 : mPlaybackState.getState(); in isPlaybackActive()333 if (includeRecentlyActive && state == mPlaybackState.STATE_PAUSED) { in isPlaybackActive()446 pw.println(indent + "state=" + (mPlaybackState == null ? null : mPlaybackState.toString())); in dump()498 cb.onPlaybackStateChanged(mPlaybackState); in pushPlaybackStateUpdate()650 state = mPlaybackState; in getStateWithUpdatedPosition()791 int oldState = mPlaybackState == null ? 0 : mPlaybackState.getState(); in setPlaybackState()797 mPlaybackState = state; in setPlaybackState()
662 if ((mPlaybackState != state) || (mPlaybackPositionMs != timeInMs) in setPlaybackStateInt()665 mPlaybackState = state; in setPlaybackStateInt()846 private int mPlaybackState = PLAYSTATE_NONE; field in RemoteControlClient
116 private PlaybackState mPlaybackState; field in MediaSession400 mPlaybackState = state; in setPlaybackState()765 PlaybackState state = mSession.mPlaybackState; in onMediaButtonEvent()