Lines Matching refs:mPlaybackState
59 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()
320 && mPlaybackState.getPosition() >= 0) { in setNotificationPlaybackState()
322 (System.currentTimeMillis() - mPlaybackState.getPosition()) / 1000, " seconds"); in setNotificationPlaybackState()
324 .setWhen(System.currentTimeMillis() - mPlaybackState.getPosition()) in setNotificationPlaybackState()
336 builder.setOngoing(mPlaybackState.getState() == PlaybackState.STATE_PLAYING); in setNotificationPlaybackState()