Searched refs:mMediaPlayerGlue (Results 1 – 3 of 3) sorted by relevance
56 private PlaybackTransportControlGlueSample<MediaPlayerAdapter> mMediaPlayerGlue; field in SampleVideoSupportFragment105 mMediaPlayerGlue = new PlaybackTransportControlGlueSample(getActivity(), in onCreate()112 mMediaPlayerGlue.connectToMediaSession(mMediaSessionCompat); in onCreate()114 mMediaPlayerGlue.setHost(mHost); in onCreate()115 mMediaPlayerGlue.setMode(PlaybackControlsRow.RepeatAction.INDEX_NONE); in onCreate()116 mMediaPlayerGlue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { in onCreate()122 mMediaPlayerGlue.setSubtitle("Leanback artist Changed!"); in onCreate()123 mMediaPlayerGlue.setTitle("Leanback team at work"); in onCreate()126 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath)); in onCreate()127 loadSeekData(mMediaPlayerGlue); in onCreate()[all …]
53 private PlaybackTransportControlGlueSample<MediaPlayerAdapter> mMediaPlayerGlue; field in SampleVideoFragment102 mMediaPlayerGlue = new PlaybackTransportControlGlueSample(getActivity(), in onCreate()109 mMediaPlayerGlue.connectToMediaSession(mMediaSessionCompat); in onCreate()111 mMediaPlayerGlue.setHost(mHost); in onCreate()112 mMediaPlayerGlue.setMode(PlaybackControlsRow.RepeatAction.INDEX_NONE); in onCreate()113 mMediaPlayerGlue.addPlayerCallback(new PlaybackGlue.PlayerCallback() { in onCreate()119 mMediaPlayerGlue.setSubtitle("Leanback artist Changed!"); in onCreate()120 mMediaPlayerGlue.setTitle("Leanback team at work"); in onCreate()123 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath)); in onCreate()124 loadSeekData(mMediaPlayerGlue); in onCreate()[all …]
41 private PlaybackBannerControlGlue<MediaPlayerAdapter> mMediaPlayerGlue; field in VideoConsumptionWithDetailCardFragment70 mMediaPlayerGlue = new PlaybackBannerControlGlue<>(getActivity(), defuatSpeed, in onCreate()73 mMediaPlayerGlue.setHost(mHost); in onCreate()76 mMediaPlayerGlue.setArt(getActivity().getDrawable(R.drawable.google_map)); in onCreate()79 mMediaPlayerGlue.setTitle(TITLE); in onCreate()80 mMediaPlayerGlue.setSubtitle(SUBTITLE); in onCreate()81 mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(VIDEO_URL)); in onCreate()82 playWhenReady(mMediaPlayerGlue); in onCreate()88 if (mMediaPlayerGlue != null) { in onPause()89 mMediaPlayerGlue.pause(); in onPause()