Searched refs:mMediaSessionCompat (Results 1 – 3 of 3) sorted by relevance
53 private MediaSessionCompat mMediaSessionCompat; field in PlaybackTransportControlGlueSample96 if (mMediaSessionCompat == null) { in onUpdateBufferedProgress()100 mMediaSessionCompat.setPlaybackState(createPlaybackStateBasedOnAdapterState()); in onUpdateBufferedProgress()108 if (mMediaSessionCompat == null) { in onUpdateProgress()112 mMediaSessionCompat.setPlaybackState(createPlaybackStateBasedOnAdapterState()); in onUpdateProgress()145 mMediaSessionCompat = mediaSessionCompat; in connectToMediaSession()146 mMediaSessionCompat.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS in connectToMediaSession()148 mMediaSessionCompat.setActive(true); in connectToMediaSession()149 mMediaSessionCompat.setCallback(new MediaSessionCallback()); in connectToMediaSession()160 mMediaSessionCompat.setActive(false); in disconnectToMediaSession()[all …]
58 private MediaSessionCompat mMediaSessionCompat; field in SampleVideoSupportFragment111 mMediaSessionCompat = new MediaSessionCompat(getActivity(), MEDIA_SESSION_COMPAT_TOKEN); in onCreate()112 mMediaPlayerGlue.connectToMediaSession(mMediaSessionCompat); in onCreate()163 mMediaPlayerGlue.connectToMediaSession(mMediaSessionCompat); in switchAnotherGlue()
55 private MediaSessionCompat mMediaSessionCompat; field in SampleVideoFragment108 mMediaSessionCompat = new MediaSessionCompat(getActivity(), MEDIA_SESSION_COMPAT_TOKEN); in onCreate()109 mMediaPlayerGlue.connectToMediaSession(mMediaSessionCompat); in onCreate()160 mMediaPlayerGlue.connectToMediaSession(mMediaSessionCompat); in switchAnotherGlue()