Home
last modified time | relevance | path

Searched refs:mPlayer (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java47 private Player mPlayer; field in SessionManager
70 return mPlayer.getStatistics(); in getStatistics()
86 mPlayer.updateStatistics(); in updateStatus()
91 } else if (mPlayer.isQueuingSupported()) { in updateStatus()
97 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */); in updateStatus()
102 mPlayer.getStatus(getCurrentItem(), true /* update */); in updateStatus()
125 if (mPlayer.isQueuingSupported()) { in add()
126 mPlayer.enqueue(item); in add()
153 mPlayer.seek(item); in seek()
164 if (mPlayer.isRemotePlayback()) { in getStatus()
[all …]
DMainActivity.java112 private Player mPlayer; field in MainActivity
136 mPlayer = Player.create(MainActivity.this, route);
137 mPlayer.updatePresentation();
138 mSessionManager.setPlayer(mPlayer);
156 mPlayer.updatePresentation();
157 mPlayer.release();
168 mPlayer.updatePresentation();
205 mPlayer = (Player) savedInstanceState.getSerializable("mPlayer"); in onCreate()
374 mPlayer = Player.create(MainActivity.this, mMediaRouter.getSelectedRoute()); in onCreate()
375 mSessionManager.setPlayer(mPlayer); in onCreate()
[all …]
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java230 private final Player mPlayer; field in SampleMediaRouteProvider.SampleRouteController
235 mPlayer = Player.create(getContext(), null); in SampleRouteController()
236 mSessionManager.setPlayer(mPlayer); in SampleRouteController()
253 mPlayer.release(); in onRelease()
259 mPlayer.connect(null); in onSelect()
265 mPlayer.release(); in onUnselect()