Home
last modified time | relevance | path

Searched refs:route (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlayer.java34 public abstract void connect(RouteInfo route); in connect() argument
61 public static Player create(Context context, RouteInfo route) { in create() argument
63 if (route != null && route.supportsControlCategory( in create()
66 } else if (route != null) { in create()
71 player.connect(route); in create()
DMainActivity.java118 public void onRouteAdded(MediaRouter router, RouteInfo route) {
119 Log.d(TAG, "onRouteAdded: route=" + route);
123 public void onRouteChanged(MediaRouter router, RouteInfo route) {
124 Log.d(TAG, "onRouteChanged: route=" + route);
128 public void onRouteRemoved(MediaRouter router, RouteInfo route) {
129 Log.d(TAG, "onRouteRemoved: route=" + route);
133 public void onRouteSelected(MediaRouter router, RouteInfo route) {
134 Log.d(TAG, "onRouteSelected: route=" + route);
136 mPlayer = Player.create(MainActivity.this, route);
146 public void onRouteUnselected(MediaRouter router, RouteInfo route) {
[all …]
DLocalPlayer.java90 public void connect(RouteInfo route) { in connect() argument
92 Log.d(TAG, "connecting to: " + route); in connect()
395 public void connect(RouteInfo route) { in connect() argument
396 super.connect(route); in connect()
397 mRoute = route; in connect()
594 public void connect(RouteInfo route) { in connect() argument
595 super.connect(route); in connect()
DRemotePlayer.java105 public void connect(RouteInfo route) { in connect() argument
106 mRoute = route; in connect()
107 mClient = new RemotePlaybackClient(mContext, route); in connect()
111 Log.d(TAG, "connected to: " + route in connect()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java123 String route = null; in handle() local
132 route = line.substring(start, end); in handle()
141 if (null == route) { in handle()
145 byte[] bytes = loadContent(route); in handle()
153 output.println("Content-Type: " + detectMimeType(route)); in handle()
/development/samples/browseable/MediaRouter/
D_index.jd7 Demonstrates how to create a custom media route provider.
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java160 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute( in updatePresentation() local
162 Display presentationDisplay = route != null ? route.getPresentationDisplay() : null; in updatePresentation()