Lines Matching refs:selector
48 * to select by specifying a {@link MediaRouteSelector selector} with the
52 * match the {@link #getRouteSelector() selector}, the button will appear in
56 * If no non-default routes match the selector and it is not possible for an active
60 * When a non-default route is selected that matches the selector, the button will
143 * Gets the media route selector for filtering the routes that the user can
146 * @return The selector, never null.
154 * Sets the media route selector for filtering the routes that the user can
157 * @param selector The selector, must not be null.
159 public void setRouteSelector(MediaRouteSelector selector) {
160 if (selector == null) {
161 throw new IllegalArgumentException("selector must not be null");
164 if (!mSelector.equals(selector)) {
169 if (!selector.isEmpty()) {
170 mRouter.addCallback(selector, mCallback);
173 mSelector = selector;
207 * not match the {@link #getRouteSelector selector}, then shows the route chooser dialog.