Lines Matching defs:category

1003             // Enforce that any added route in a groupable category must be in a group.
1085 * Return the {@link MediaRouter.RouteCategory category} at the given index.
1088 * @param index which category to return
1089 * @return the category at index
1126 * @param category The category the new route will belong to
1133 public UserRouteInfo createUserRoute(RouteCategory category) {
1134 return new UserRouteInfo(category);
1138 * Create a new route category. Each route must belong to a category.
1140 * @param name Name of the new category
1141 * @param isGroupable true if routes in this category may be grouped with one another
1149 * Create a new route category. Each route must belong to a category.
1151 * @param nameResId Resource ID of the name of the new category
1152 * @param isGroupable true if routes in this category may be grouped with one another
1527 RouteInfo(RouteCategory category) {
1528 mCategory = category;
1679 * @return the category this route belongs to.
1971 ", category=" + getCategory() +
1988 UserRouteInfo(RouteCategory category) {
1989 super(category);
2271 RouteGroup(RouteCategory category) {
2272 super(category);
2294 "Route cannot be added to a group with a different category. " +
2295 "(Route category=" + route.getCategory() +
2296 " group category=" + mCategory + ")");
2319 "Route cannot be added to a group with a different category. " +
2320 "(Route category=" + route.getCategory() +
2321 " group category=" + mCategory + ")");
2531 * Definition of a category of routes. All routes belong to a category.
2553 * @return the name of this route category
2563 * @return the name of this route category
2577 * Return the current list of routes in this category that have been added
2581 * A RouteGroup is treated as a single route within its category.</p>
2583 * @param out a List to fill with the routes in this category. If this parameter is
2585 * category, and returned. If this parameter is null, a new List will be
2586 * allocated to report the category's current routes.
2587 * @return A list with the routes in this category that have been added to the MediaRouter.
2607 * @return Flag set describing the route types supported by this category
2614 * Return whether or not this category supports grouping.
2616 * <p>If this method returns true, all routes obtained from this category
2619 * @return true if this category supports
2626 * @return true if this is the category reserved for system routes.