Lines Matching refs:route
42 * This class implements the route chooser dialog for {@link MediaRouter}.
44 * This dialog allows the user to choose a route that matches a given selector.
73 * Gets the media route selector for filtering the routes that the user can select.
83 * Sets the media route selector for filtering the routes that the user can select.
123 * Returns true if the route should be included in the list.
130 * @param route The route to consider, never null.
131 * @return True if the route should be included in the chooser dialog.
133 public boolean onFilterRoute(@NonNull MediaRouter.RouteInfo route) {
134 return !route.isDefault() && route.isEnabled() && route.matchesSelector(mSelector);
214 MediaRouter.RouteInfo route = getItem(position);
217 text1.setText(route.getName());
218 String description = route.getDescription();
226 view.setEnabled(route.isEnabled());
232 MediaRouter.RouteInfo route = getItem(position);
233 if (route.isEnabled()) {
234 route.select();
257 public void onRouteSelected(MediaRouter router, MediaRouter.RouteInfo route) {