Lines Matching defs:routes
92 * Gets the media route selector for filtering the routes that the user can select.
102 * Sets the media route selector for filtering the routes that the user can select.
125 * Called to filter the set of routes that should be included in the list.
127 * The default implementation iterates over all routes in the provided list and
131 * @param routes The list of routes to filter in-place, never null.
133 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) {
134 for (int i = routes.size(); i-- > 0; ) {
135 if (!onFilterRoute(routes.get(i))) {
136 routes.remove(i);
144 * The default implementation returns true for enabled non-default routes that
145 * match the selector. Subclasses can override this method to filter routes
200 * Refreshes the list of routes that are shown in the chooser dialog.
249 public RouteAdapter(Context context, List<MediaRouter.RouteInfo> routes) {
250 super(context, 0, routes);
436 private void loadRouteUsageScores(List<MediaRouter.RouteInfo> routes) {
437 for (MediaRouter.RouteInfo route : routes) {