Home
last modified time | relevance | path

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

/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java59 private MediaRouter mMediaRouter; field in MainActivity
86 mMediaRouter = (MediaRouter) getSystemService(Context.MEDIA_ROUTER_SERVICE); in onCreate()
152 RouteInfo selectedRoute = mMediaRouter.getSelectedRoute( in updatePresentation()
209 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_LIVE_VIDEO, mMediaRouterCallback); in onResume()
226 mMediaRouter.removeCallback(mMediaRouterCallback); in onPause()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java70 private MediaRouter mMediaRouter; field in PresentationWithMediaRouterActivity
87 mMediaRouter = (MediaRouter)getSystemService(Context.MEDIA_ROUTER_SERVICE); in onCreate()
108 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_LIVE_VIDEO, mMediaRouterCallback); in onResume()
121 mMediaRouter.removeCallback(mMediaRouterCallback); in onPause()
160 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute( in updatePresentation()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java82 private MediaRouter mMediaRouter; field in MainActivity
209 mMediaRouter = MediaRouter.getInstance(this); in onCreate()
374 mPlayer = Player.create(MainActivity.this, mMediaRouter.getSelectedRoute()); in onCreate()
398 mMediaRouter.addRemoteControlClient(mRemoteControlClient); in registerRemoteControlClient()
413 mMediaRouter.removeRemoteControlClient(mRemoteControlClient); in unregisterRemoteControlClient()
565 RouteInfo route = mMediaRouter.getSelectedRoute(); in updateRouteDescription()
574 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute(); in updateButtons()