/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialogFragment.java | 33 private final String ARGUMENT_SELECTOR = "selector"; 48 * Gets the media route selector for filtering the routes that the user can select. 50 * @return The selector, never null. 70 * Sets the media route selector for filtering the routes that the user can select. 73 * @param selector The selector to set. 75 public void setRouteSelector(MediaRouteSelector selector) { argument 76 if (selector == null) { 77 throw new IllegalArgumentException("selector must not be null"); 81 if (!mSelector.equals(selector)) { [all...] |
H A D | MediaRouteDiscoveryFragment.java | 31 * The application must supply a route selector to specify the kinds of routes 37 private final String ARGUMENT_SELECTOR = "selector"; 61 * Gets the media route selector for filtering the routes to be discovered. 63 * @return The selector, never null. 71 * Sets the media route selector for filtering the routes to be discovered. 74 * @param selector The selector to set. 76 public void setRouteSelector(MediaRouteSelector selector) { argument 77 if (selector == null) { 78 throw new IllegalArgumentException("selector mus [all...] |
H A D | MediaRouteActionProvider.java | 35 * to select by specifying a {@link MediaRouteSelector selector} with the 68 * Then configure the menu and set the route selector for the chooser. 98 * // Remove the selector on stop to tell the media router that it no longer 149 * Gets the media route selector for filtering the routes that the user can 152 * @return The selector, never null. 159 * Sets the media route selector for filtering the routes that the user can 162 * @param selector The selector, must not be null. 164 public void setRouteSelector(MediaRouteSelector selector) { argument 165 if (selector [all...] |
H A D | MediaRouteChooserDialog.java | 41 * This dialog allows the user to choose a route that matches a given selector. 69 * Gets the media route selector for filtering the routes that the user can select. 71 * @return The selector, never null. 78 * Sets the media route selector for filtering the routes that the user can select. 80 * @param selector The selector, must not be null. 82 public void setRouteSelector(MediaRouteSelector selector) { argument 83 if (selector == null) { 84 throw new IllegalArgumentException("selector must not be null"); 87 if (!mSelector.equals(selector)) { [all...] |
H A D | MediaRouteButton.java | 47 * to select by specifying a {@link MediaRouteSelector selector} with the 51 * match the {@link #getRouteSelector() selector}, the button will appear in 55 * If no non-default routes match the selector and it is not possible for an active 59 * When a non-default route is selected that matches the selector, the button will 142 * Gets the media route selector for filtering the routes that the user can 145 * @return The selector, never null. 152 * Sets the media route selector for filtering the routes that the user can 155 * @param selector The selector, must not be null. 157 public void setRouteSelector(MediaRouteSelector selector) { argument [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | QueryController.java | 42 // During a pattern selector search, the recursive pattern search 47 // These help show each selector's search context as it relates to the previous sub selector 48 // matched. When a compound selector fails, it is hard to tell which part of it is failing. 49 // Seeing how a selector is being parsed and which sub selector failed within a long list 120 * Counts the instances of the selector group. The selector must be in the following 124 * @param selector 127 public int getPatternCount(UiSelector selector) { argument 137 findAccessibilityNodeInfo(UiSelector selector) argument 141 findAccessibilityNodeInfo(UiSelector selector, boolean isCounting) argument 215 translateCompoundSelector(UiSelector selector, AccessibilityNodeInfo fromNode, boolean isCounting) argument 285 translateReqularSelector(UiSelector selector, AccessibilityNodeInfo fromNode) argument [all...] |
H A D | UiSelector.java | 73 UiSelector(UiSelector selector) { argument 74 mSelectorAttributes = selector.cloneSelector().mSelectorAttributes; 92 static UiSelector patternBuilder(UiSelector selector) { argument 93 if (!selector.hasPatternSelector()) { 94 return new UiSelector().patternSelector(selector); 96 return selector; 521 * Adds a child UiSelector criteria to this selector. 523 * Use this selector to narrow the search scope to 526 * @param selector 530 public UiSelector childSelector(UiSelector selector) { argument 534 patternSelector(UiSelector selector) argument 538 containerSelector(UiSelector selector) argument 553 fromParent(UiSelector selector) argument [all...] |
H A D | UiCollection.java | 26 * Constructs an instance as described by the selector 28 * @param selector 31 public UiCollection(UiSelector selector) { argument 32 super(selector); 37 * selector. 44 * @param childPattern {@link UiSelector} selector of the child pattern to match and return 72 * selector. 79 * @param childPattern {@link UiSelector} selector of the child pattern to match and return 94 * selector. 102 * @param childPattern {@link UiSelector} selector o [all...] |
H A D | UiScrollable.java | 50 * @param container a {@link UiSelector} selector to identify the scrollable 55 // wrap the container selector with container so that QueryController can handle 86 * @param selector 90 protected boolean exists(UiSelector selector) { argument 91 if(getQueryController().findAccessibilityNodeInfo(selector) != null) { 99 * The search first looks for a child element that matches the selector 102 * representing the element matching the selector (not the child element in its 123 * The search first looks for a child element that matches the selector 126 * representing the element matching the selector (not the child element in its 151 * matches the selector yo 256 scrollIntoView(UiSelector selector) argument [all...] |
H A D | UiObject.java | 32 * be reused for different views that match the selector criteria. 73 * selector criteria. 74 * @param selector 77 public UiObject(UiSelector selector) { argument 78 mSelector = selector; 82 * Debugging helper. A test can dump the properties of a selector as a string 94 * Retrieves the {@link QueryController} to translate a {@link UiSelector} selector 116 * @param selector for child view to match 120 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { argument 121 Tracer.trace(selector); 134 getFromParent(UiSelector selector) argument [all...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
H A D | QueryController.java | 42 // During a pattern selector search, the recursive pattern search 47 // These help show each selector's search context as it relates to the previous sub selector 48 // matched. When a compound selector fails, it is hard to tell which part of it is failing. 49 // Seeing how a selector is being parsed and which sub selector failed within a long list 120 * Counts the instances of the selector group. The selector must be in the following 124 * @param selector 127 public int getPatternCount(UiSelector selector) { argument 137 findAccessibilityNodeInfo(UiSelector selector) argument 141 findAccessibilityNodeInfo(UiSelector selector, boolean isCounting) argument 213 translateCompoundSelector(UiSelector selector, AccessibilityNodeInfo fromNode, boolean isCounting) argument 283 translateReqularSelector(UiSelector selector, AccessibilityNodeInfo fromNode) argument [all...] |
H A D | UiSelector.java | 73 UiSelector(UiSelector selector) { argument 74 mSelectorAttributes = selector.cloneSelector().mSelectorAttributes; 92 static UiSelector patternBuilder(UiSelector selector) { argument 93 if (!selector.hasPatternSelector()) { 94 return new UiSelector().patternSelector(selector); 96 return selector; 521 * Adds a child UiSelector criteria to this selector. 523 * Use this selector to narrow the search scope to 526 * @param selector 530 public UiSelector childSelector(UiSelector selector) { argument 534 patternSelector(UiSelector selector) argument 538 containerSelector(UiSelector selector) argument 553 fromParent(UiSelector selector) argument [all...] |
H A D | UiCollection.java | 26 * Constructs an instance as described by the selector 28 * @param selector 31 public UiCollection(UiSelector selector) { argument 32 super(selector); 37 * selector. 44 * @param childPattern {@link UiSelector} selector of the child pattern to match and return 72 * selector. 79 * @param childPattern {@link UiSelector} selector of the child pattern to match and return 94 * selector. 102 * @param childPattern {@link UiSelector} selector o [all...] |
H A D | UiScrollable.java | 50 * @param container a {@link UiSelector} selector to identify the scrollable 55 // wrap the container selector with container so that QueryController can handle 86 * @param selector 90 protected boolean exists(UiSelector selector) { argument 91 if(getQueryController().findAccessibilityNodeInfo(selector) != null) { 99 * The search first looks for a child element that matches the selector 102 * representing the element matching the selector (not the child element in its 123 * The search first looks for a child element that matches the selector 126 * representing the element matching the selector (not the child element in its 151 * matches the selector yo 256 scrollIntoView(UiSelector selector) argument [all...] |
H A D | UiObject.java | 32 * be reused for different views that match the selector criteria. 73 * selector criteria. 74 * @param selector 77 public UiObject(UiSelector selector) { argument 78 mSelector = selector; 82 * Debugging helper. A test can dump the properties of a selector as a string 94 * Retrieves the {@link QueryController} to translate a {@link UiSelector} selector 116 * @param selector for child view to match 120 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { argument 121 Tracer.trace(selector); 134 getFromParent(UiSelector selector) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteSelector.java | 41 * router.addCallback(selector, callback, MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY); 51 * An empty media route selector that will not match any routes. 61 * Gets the list of {@link MediaControlIntent media control categories} in the selector. 80 * Returns true if the selector contains the specified category. 99 * Returns true if the selector matches at least one of the specified control filters. 126 * Returns true if this selector contains all of the capabilities described 127 * by the specified selector. 129 * @param selector The selector to be examined. 130 * @return True if this selector contain 133 contains(MediaRouteSelector selector) argument 223 Builder(MediaRouteSelector selector) argument 281 addSelector(MediaRouteSelector selector) argument [all...] |
H A D | MediaRouteDiscoveryRequest.java | 28 private static final String KEY_SELECTOR = "selector"; 37 * @param selector The route selector that specifies the kinds of routes to discover. 40 public MediaRouteDiscoveryRequest(MediaRouteSelector selector, boolean activeScan) { argument 41 if (selector == null) { 42 throw new IllegalArgumentException("selector must not be null"); 46 mSelector = selector; 47 mBundle.putBundle(KEY_SELECTOR, selector.asBundle()); 56 * Gets the route selector that specifies the kinds of routes to discover. 107 result.append("DiscoveryRequest{ selector [all...] |
H A D | MediaRouter.java | 254 * Returns the selected route if it matches the specified selector, otherwise 257 * @param selector The selector to match. 258 * @return The previously selected route if it matched the selector, otherwise the 265 public RouteInfo updateSelectedRoute(MediaRouteSelector selector) { argument 266 if (selector == null) { 267 throw new IllegalArgumentException("selector must not be null"); 272 Log.d(TAG, "updateSelectedRoute: " + selector); 275 if (!route.isDefault() && !route.matchesSelector(selector)) { 300 * Returns true if there is a route that matches the specified selector 313 isRouteAvailable(MediaRouteSelector selector, int flags) argument 335 addCallback(MediaRouteSelector selector, Callback callback) argument 410 addCallback(MediaRouteSelector selector, Callback callback, int flags) argument 771 matchesSelector(MediaRouteSelector selector) argument 1524 isRouteAvailable(MediaRouteSelector selector, int flags) argument [all...] |
H A D | SystemMediaRouteProvider.java | 277 final MediaRouteSelector selector = request.getSelector(); 278 final List<String> categories = selector.getControlCategories();
|
/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 2884 * Intent with this category in the selector.</p> 2896 * Intent with this category in the selector.</p> 2908 * Intent with this category in the selector.</p> 2920 * Intent with this category in the selector.</p> 2932 * Intent with this category in the selector.</p> 2945 * Intent with this category in the selector.</p> 2957 * Intent with this category in the selector.</p> 2969 * Intent with this category in the selector.</p> 2982 * Intent with this category in the selector.</p> 3876 * specifying a specific activity to run but giving a selector t 5399 setSelector(Intent selector) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 346 * Sets a drawable to use as the list item selector. 348 * @param selector List selector drawable to use in the popup. 350 public void setListSelector(Drawable selector) { argument 351 mDropDownListHighlight = selector; 1431 /** Whether to force drawing of the pressed state selector. */ 1515 * Starts an alpha animation on the selector. When the animation ends, 1553 // the children. This will ensure the selector actually gets drawn. 1562 // which will also update the selector state.
|
H A D | AbsListView.java | 294 * Indicates whether the list selector should be drawn on top of the children or behind 299 * The drawable used to draw the selector 304 * The current position of the selector in the list. 309 * Defines the selector's location and dimension at drawing time 2168 * List padding is the maximum of the normal view's padding and the padding of the selector. 2180 * List padding is the maximum of the normal view's padding and the padding of the selector. 2192 * List padding is the maximum of the normal view's padding and the padding of the selector. 2204 * List padding is the maximum of the normal view's padding and the padding of the selector. 2508 * @return True if the current touch mode requires that we draw the selector in the pressed 2523 * Indicates whether this view is in a state where the selector shoul [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ListPopupWindow.java | 319 * Sets a drawable to use as the list item selector. 321 * @param selector List selector drawable to use in the popup. 323 public void setListSelector(Drawable selector) { argument 324 mDropDownListHighlight = selector;
|
/frameworks/uiautomator/tests/CtsUiAutomatorTest/src/com/android/uiautomator/tests/cts/ |
H A D | CtsUiAutomatorTest.java | 334 * Creates a complex selector 361 UiSelector selector = new UiSelector().text("Nothing should be found"); 363 UiObject obj = new UiObject(selector.childSelector(child)); 744 assertTrue("Object with selector resource-id not found", toggleButton.exists()); 745 assertTrue("Incorrect object for selector resource-id returned",
|