/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialogFragment.java | 34 private final String ARGUMENT_SELECTOR = "selector"; 50 * Gets the media route selector for filtering the routes that the user can select. 52 * @return The selector, never null. 72 * Sets the media route selector for filtering the routes that the user can select. 75 * @param selector The selector to set. 77 public void setRouteSelector(MediaRouteSelector selector) { argument 78 if (selector == null) { 79 throw new IllegalArgumentException("selector must not be null"); 83 if (!mSelector.equals(selector)) { [all...] |
H A D | MediaRouteDiscoveryFragment.java | 31 * The application must supply a route selector to specify the kinds of routes 41 private final String ARGUMENT_SELECTOR = "selector"; 65 * Gets the media route selector for filtering the routes to be discovered. 67 * @return The selector, never null. 75 * Sets the media route selector for filtering the routes to be discovered. 78 * @param selector The selector to set. 80 public void setRouteSelector(MediaRouteSelector selector) { argument 81 if (selector == null) { 82 throw new IllegalArgumentException("selector mus [all...] |
H A D | MediaRouteActionProvider.java | 37 * to select by specifying a {@link MediaRouteSelector selector} with the 70 * Then configure the menu and set the route selector for the chooser. 100 * // Remove the selector on stop to tell the media router that it no longer 151 * Gets the media route selector for filtering the routes that the user can 154 * @return The selector, never null. 162 * Sets the media route selector for filtering the routes that the user can 165 * @param selector The selector, must not be null. 167 public void setRouteSelector(@NonNull MediaRouteSelector selector) { argument 168 if (selector [all...] |
H A D | MediaRouteChooserDialog.java | 56 * This dialog allows the user to choose a route that matches a given selector. 102 * Gets the media route selector for filtering the routes that the user can select. 104 * @return The selector, never null. 112 * Sets the media route selector for filtering the routes that the user can select. 114 * @param selector The selector, must not be null. 116 public void setRouteSelector(@NonNull MediaRouteSelector selector) { argument 117 if (selector == null) { 118 throw new IllegalArgumentException("selector must not be null"); 121 if (!mSelector.equals(selector)) { [all...] |
H A D | MediaRouteButton.java | 49 * to select by specifying a {@link MediaRouteSelector selector} with the 53 * match the {@link #getRouteSelector() selector}, the button will appear in 57 * If no non-default routes match the selector and it is not possible for an active 61 * When a non-default route is selected that matches the selector, the button will 146 * Gets the media route selector for filtering the routes that the user can 149 * @return The selector, never null. 157 * Sets the media route selector for filtering the routes that the user can 160 * @param selector The selector, must not be null. 162 public void setRouteSelector(MediaRouteSelector selector) { argument [all...] |
/frameworks/base/cmds/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 | 76 UiSelector(UiSelector selector) { argument 77 mSelectorAttributes = selector.cloneSelector().mSelectorAttributes; 95 static UiSelector patternBuilder(UiSelector selector) { argument 96 if (!selector.hasPatternSelector()) { 97 return new UiSelector().patternSelector(selector); 99 return selector; 524 * Adds a child UiSelector criteria to this selector. 526 * Use this selector to narrow the search scope to 529 * @param selector 533 public UiSelector childSelector(UiSelector selector) { argument 537 patternSelector(UiSelector selector) argument 541 containerSelector(UiSelector selector) argument 556 fromParent(UiSelector selector) argument [all...] |
H A D | UiCollection.java | 29 * Constructs an instance as described by the selector 31 * @param selector 34 public UiCollection(UiSelector selector) { argument 35 super(selector); 40 * selector. 47 * @param childPattern {@link UiSelector} selector of the child pattern to match and return 75 * selector. 82 * @param childPattern {@link UiSelector} selector of the child pattern to match and return 97 * selector. 105 * @param childPattern {@link UiSelector} selector o [all...] |
H A D | UiScrollable.java | 53 * @param container a {@link UiSelector} selector to identify the scrollable 58 // wrap the container selector with container so that QueryController can handle 89 * @param selector 93 protected boolean exists(UiSelector selector) { argument 94 if(getQueryController().findAccessibilityNodeInfo(selector) != null) { 102 * The search first looks for a child element that matches the selector 105 * representing the element matching the selector (not the child element in its 126 * The search first looks for a child element that matches the selector 129 * representing the element matching the selector (not the child element in its 154 * matches the selector yo 259 scrollIntoView(UiSelector selector) argument [all...] |
H A D | UiObject.java | 32 * be reused for different views that match the selector criteria. 76 * selector criteria. 77 * @param selector 80 public UiObject(UiSelector selector) { argument 81 mSelector = selector; 85 * Debugging helper. A test can dump the properties of a selector as a string 97 * Retrieves the {@link QueryController} to translate a {@link UiSelector} selector 119 * @param selector for child view to match 123 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { argument 124 Tracer.trace(selector); 137 getFromParent(UiSelector selector) argument [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
H A D | BaseBot.java | 54 protected UiObject2 find(BySelector selector) { argument 55 mDevice.wait(Until.findObject(selector), mTimeout); 56 return mDevice.findObject(selector); 65 final UiSelector selector = new UiSelector() 68 return mDevice.findObject(selector);
|
H A D | UiBot.java | 179 UiSelector selector = new UiSelector().text("Couldn't download"); 180 UiObject title = mDevice.findObject(selector); 198 UiSelector selector = new UiSelector().text(label); 199 return mDevice.findObject(selector); 218 UiSelector selector = new UiSelector().className("android.widget.ImageButton") 221 return mDevice.findObject(selector);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteSelector.java | 43 * router.addCallback(selector, callback, MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY); 53 * An empty media route selector that will not match any routes. 63 * Gets the list of {@link MediaControlIntent media control categories} in the selector. 82 * Returns true if the selector contains the specified category. 101 * Returns true if the selector matches at least one of the specified control filters. 128 * Returns true if this selector contains all of the capabilities described 129 * by the specified selector. 131 * @param selector The selector to be examined. 132 * @return True if this selector contain 135 contains(MediaRouteSelector selector) argument 225 Builder(@onNull MediaRouteSelector selector) argument 286 addSelector(@onNull 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 | 350 * Returns the selected route if it matches the specified selector, otherwise 354 * @param selector The selector to match. 355 * @return The previously selected route if it matched the selector, otherwise the 362 public RouteInfo updateSelectedRoute(@NonNull MediaRouteSelector selector) { argument 363 if (selector == null) { 364 throw new IllegalArgumentException("selector must not be null"); 369 Log.d(TAG, "updateSelectedRoute: " + selector); 372 if (!route.isDefaultOrBluetooth() && !route.matchesSelector(selector)) { 427 * Returns true if there is a route that matches the specified selector 448 isRouteAvailable(@onNull MediaRouteSelector selector, int flags) argument 470 addCallback(MediaRouteSelector selector, Callback callback) argument 567 addCallback(@onNull MediaRouteSelector selector, @NonNull Callback callback, @CallbackFlags int flags) argument 1080 matchesSelector(@onNull MediaRouteSelector selector) argument 2072 isRouteAvailable(MediaRouteSelector selector, int flags) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListViewCompat.java | 128 Drawable selector = getSelector(); 129 if (selector != null && shouldShowSelectorCompat()) { 130 selector.setState(getDrawableState()); 144 final Drawable selector = getSelector(); 145 if (selector != null) { 146 selector.setBounds(mSelectorRect); 147 selector.draw(canvas); 195 Drawable selector = getSelector(); 196 if (selector != null && position != INVALID_POSITION) { 197 DrawableCompat.setHotspot(selector, [all...] |
/frameworks/base/tools/split-select/ |
H A D | SplitSelector_test.cpp | 48 SplitSelector selector(splits); 50 bestSplits.merge(selector.getBestSplits(targetSplit)); 56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules();
|
H A D | Main.cpp | 67 const SplitSelector selector(splits); 68 return selector.getBestSplits(target); 77 const SplitSelector selector(allSplits); 78 KeyedVector<SplitDescription, sp<Rule> > rules(selector.getRules());
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
H A D | Utils.java | 43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { argument 45 UiObject2 window = device.wait(Until.findObject(selector), WAIT_FOR_ACTIVITY_TIMEOUT); 47 throw new RuntimeException(selector.toString() + " has not been started.");
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | DirectoryCertificateSource.java | 142 private Set<X509Certificate> findCerts(X500Principal subj, CertSelector selector) { argument 160 if (selector.match(cert)) { 170 private X509Certificate findCert(X500Principal subj, CertSelector selector) { argument 187 if (selector.match(cert)) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerPrepareForDropTest.java | 89 for (SelectTargetChildren selector : selectors) { 91 variations.add(new Object[]{config, selector});
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePickerWithRegion.java | 216 LocalePickerWithRegion selector = LocalePickerWithRegion.createCountryPicker( 218 if (selector != null) { 221 .replace(getId(), selector).addToBackStack(null)
|
/frameworks/base/tools/aapt2/split/ |
H A D | TableSplitter.cpp | 210 SplitValueSelector selector(splitConstraint); 212 selector.selectValues(densityGroups, &configClaimedMap);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
H A D | PageAndListRowFragment.java | 267 ListRowPresenter selector = new ListRowPresenter(); 268 selector.setNumRows(2); 269 mRowsAdapter = new ArrayObjectAdapter(selector);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
H A D | PageAndListRowFragment.java | 267 ListRowPresenter selector = new ListRowPresenter(); 268 selector.setNumRows(2); 269 mRowsAdapter = new ArrayObjectAdapter(selector);
|