HomeSort by relevance Sort by last modified time
    Searched refs:mRouter (Results 1 - 10 of 10) sorted by null

  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteDiscoveryFragment.java 39 private MediaRouter mRouter;
51 return mRouter;
55 if (mRouter == null) {
56 mRouter = MediaRouter.getInstance(getActivity());
93 mRouter.removeCallback(mCallback);
94 mRouter.addCallback(mSelector, mCallback,
147 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags());
154 mRouter.removeCallback(mCallback);
MediaRouteActionProvider.java 71 * private MediaRouter mRouter;
78 * mRouter = Mediarouter.getInstance(this);
129 private final MediaRouter mRouter;
144 mRouter = MediaRouter.getInstance(context);
178 mRouter.removeCallback(mCallback);
181 mRouter.addCallback(selector, mCallback);
273 return mRouter.isRouteAvailable(mSelector,
MediaRouteChooserDialog.java 48 private final MediaRouter mRouter;
64 mRouter = MediaRouter.getInstance(context);
91 mRouter.removeCallback(mCallback);
92 mRouter.addCallback(selector, mCallback,
141 mRouter.addCallback(mSelector, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN);
148 mRouter.removeCallback(mCallback);
173 final List<MediaRouter.RouteInfo> routes = mRouter.getRoutes();
MediaRouteControllerDialog.java 46 private final MediaRouter mRouter;
72 mRouter = MediaRouter.getInstance(context);
74 mRoute = mRouter.getSelectedRoute();
164 mRouter.getDefaultRoute().select();
188 mRouter.addCallback(MediaRouteSelector.EMPTY, mCallback,
195 mRouter.removeCallback(mCallback);
MediaRouteButton.java 86 private final MediaRouter mRouter;
124 mRouter = MediaRouter.getInstance(context);
165 mRouter.removeCallback(mCallback);
168 mRouter.addCallback(selector, mCallback);
228 MediaRouter.RouteInfo route = mRouter.getSelectedRoute();
405 mRouter.addCallback(mSelector, mCallback);
414 mRouter.removeCallback(mCallback);
486 final MediaRouter.RouteInfo route = mRouter.getSelectedRoute();
504 setEnabled(mRouter.isRouteAvailable(mSelector,
  /frameworks/base/core/java/android/app/
MediaRouteButton.java 43 private MediaRouter mRouter;
80 mRouter = (MediaRouter)context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
126 mRouter.selectRouteInt(mRouteTypes, mRouter.getDefaultRoute());
128 final int N = mRouter.getRouteCount();
130 final RouteInfo route = mRouter.getRouteAt(i);
132 route != mRouter.getDefaultRoute()) {
133 mRouter.selectRouteInt(mRouteTypes, route);
197 mRouter.removeCallback(mRouterCallback);
204 mRouter.addCallback(types, mRouterCallback)
    [all...]
MediaRouteActionProvider.java 37 private MediaRouter mRouter;
47 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
59 mRouter.removeCallback(mCallback);
63 mRouter.addCallback(types, mCallback);
139 return mRouter.getRouteCount() > 1;
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
RegisteredMediaRouteProviderWatcher.java 39 private final MediaRouter mRouter;
46 mRouter = router;
80 mRouter.addProvider(provider);
93 mRouter.removeProvider(provider);
MediaRouter.java 360 * private MediaRouter mRouter;
367 * mRouter = Mediarouter.getInstance(this);
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialogFragment.java 72 MediaRouter mRouter;
99 mRouter = (MediaRouter) activity.getSystemService(Context.MEDIA_ROUTER_SERVICE);
100 mRouter.addCallback(mRouteTypes, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN);
113 mRouter.removeCallback(mCallback);
114 mRouter = null;
126 if (mRouter == null) return;
128 final RouteInfo selectedRoute = mRouter.getSelectedRoute(mRouteTypes);
153 final RouteInfo selectedRoute = mRouter.getSelectedRoute(mRouteTypes);
244 final RouteInfo selectedRoute = mRouter.getSelectedRoute(mRouteTypes);
248 final int catCount = mRouter.getCategoryCount()
    [all...]

Completed in 9039 milliseconds