Home
last modified time | relevance | path

Searched refs:mediaPlayerGlue (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DNewDetailsSupportFragment.java86 MediaPlayerGlue mediaPlayerGlue = new MediaPlayerGlue(getActivity()); in setupTrailerVideo() local
87 mDetailsBackground.setupVideoPlayback(mediaPlayerGlue); in setupTrailerVideo()
88 mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE); in setupTrailerVideo()
89 mediaPlayerGlue.setArtist("A Googler"); in setupTrailerVideo()
90 mediaPlayerGlue.setTitle("Diving with Sharks Trailer"); in setupTrailerVideo()
91 mediaPlayerGlue.setMediaSource(Uri.parse("android.resource://com.example.android.leanback/" in setupTrailerVideo()
98 PlaybackTransportControlGlue<MediaPlayerAdapter> mediaPlayerGlue = in setupMainVideo() local
100 mDetailsBackground.setupVideoPlayback(mediaPlayerGlue); in setupMainVideo()
101 mediaPlayerGlue.setSubtitle("A Googler"); in setupMainVideo()
102 mediaPlayerGlue.setTitle("Diving with Sharks"); in setupMainVideo()
[all …]
DNewDetailsFragment.java83 MediaPlayerGlue mediaPlayerGlue = new MediaPlayerGlue(getActivity()); in setupTrailerVideo() local
84 mDetailsBackground.setupVideoPlayback(mediaPlayerGlue); in setupTrailerVideo()
85 mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE); in setupTrailerVideo()
86 mediaPlayerGlue.setArtist("A Googler"); in setupTrailerVideo()
87 mediaPlayerGlue.setTitle("Diving with Sharks Trailer"); in setupTrailerVideo()
88 mediaPlayerGlue.setMediaSource(Uri.parse("android.resource://com.example.android.leanback/" in setupTrailerVideo()
95 PlaybackTransportControlGlue<MediaPlayerAdapter> mediaPlayerGlue = in setupMainVideo() local
97 mDetailsBackground.setupVideoPlayback(mediaPlayerGlue); in setupMainVideo()
98 mediaPlayerGlue.setSubtitle("A Googler"); in setupMainVideo()
99 mediaPlayerGlue.setTitle("Diving with Sharks"); in setupMainVideo()
[all …]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DDetailsSupportFragmentTest.java719 MediaPlayerGlue mediaPlayerGlue = (MediaPlayerGlue) detailsFragment
722 return mediaPlayerGlue != null && mediaPlayerGlue != glue1
723 && mediaPlayerGlue.getHost() != null;
DDetailsFragmentTest.java722 MediaPlayerGlue mediaPlayerGlue = (MediaPlayerGlue) detailsFragment
725 return mediaPlayerGlue != null && mediaPlayerGlue != glue1
726 && mediaPlayerGlue.getHost() != null;