Searched refs:mGlue (Results 1 – 4 of 4) sorted by relevance
38 private MediaPlayerGlue mGlue; field in VideoConsumptionExampleFragment44 mGlue = new VideoMediaPlayerGlue(getActivity(), this) { in onCreate()52 mGlue.setOnMediaFileFinishedPlayingListener(this); in onCreate()56 mGlue.setMetaData(metaData); in onCreate()57 mGlue.setMediaSource(URL); in onCreate()58 mGlue.prepareMediaForPlaying(); in onCreate()68 mGlue.setDisplay(holder); in onCreate()88 mGlue.enableProgressUpdating(mGlue.hasValidMedia() && mGlue.isMediaPlaying()); in onStart()94 mGlue.enableProgressUpdating(false); in onStop()95 mGlue.reset(); in onStop()[all …]
47 private MediaPlayerGlue mGlue; field in MusicConsumptionExampleFragment56 mGlue = new MediaPlayerGlue(getActivity(), this) { in onCreate()64 mGlue.setOnMediaFileFinishedPlayingListener(this); in onCreate()106 mGlue.setMetaData(metaData); in onCreate()107 mGlue.setMediaSource(uri); in onCreate()108 mGlue.prepareMediaForPlaying(); in onCreate()115 mGlue.enableProgressUpdating(mGlue.hasValidMedia() && mGlue.isMediaPlaying()); in onStart()120 mGlue.enableProgressUpdating(false); in onStop()121 mGlue.reset(); in onStop()217 mGlue.createControlsRowAndPresenter())); in addPlaybackControlsRow()[all …]
67 private PlaybackControlHelper mGlue; field in PlaybackOverlayFragment77 mGlue.onActionClicked((Action) item);106 mGlue = new PlaybackControlHelper(context, this) { in createComponents()137 mGlue.setOnItemViewClickedListener(mOnItemViewClickedListener); in createComponents()139 mPlaybackControlsRowPresenter = mGlue.createControlsRowAndPresenter(); in createComponents()156 getAdapter().set(ROW_CONTROLS, mGlue.getControlsRow()); in createComponents()172 mGlue.setFadingEnabled(true); in onStart()173 mGlue.enableProgressUpdating(mGlue.hasValidMedia() && mGlue.isMediaPlaying()); in onStart()179 mGlue.enableProgressUpdating(false); in onStop()191 setFadingEnabled(mGlue.isMediaPlaying()); in onPictureInPictureModeChanged()
69 private PlaybackControlSupportHelper mGlue; field in PlaybackOverlaySupportFragment79 mGlue.onActionClicked((Action) item);108 mGlue = new PlaybackControlSupportHelper(context, this) { in createComponents()139 mGlue.setOnItemViewClickedListener(mOnItemViewClickedListener); in createComponents()141 mPlaybackControlsRowPresenter = mGlue.createControlsRowAndPresenter(); in createComponents()158 getAdapter().set(ROW_CONTROLS, mGlue.getControlsRow()); in createComponents()174 mGlue.setFadingEnabled(true); in onStart()175 mGlue.enableProgressUpdating(mGlue.hasValidMedia() && mGlue.isMediaPlaying()); in onStart()181 mGlue.enableProgressUpdating(false); in onStop()193 setFadingEnabled(mGlue.isMediaPlaying()); in onPictureInPictureModeChanged()