Searched refs:selector (Results 1 - 25 of 78) sorted by relevance

1234

/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
H A DMediaRouteChooserDialogFragment.java35 private final String ARGUMENT_SELECTOR = "selector";
51 * Gets the media route selector for filtering the routes that the user can select.
53 * @return The selector, never null.
73 * Sets the media route selector for filtering the routes that the user can select.
76 * @param selector The selector to set.
78 public void setRouteSelector(MediaRouteSelector selector) { argument
79 if (selector == null) {
80 throw new IllegalArgumentException("selector must not be null");
84 if (!mSelector.equals(selector)) {
[all...]
H A DMediaRouteDiscoveryFragment.java32 * The application must supply a route selector to specify the kinds of routes
42 private final String ARGUMENT_SELECTOR = "selector";
66 * Gets the media route selector for filtering the routes to be discovered.
68 * @return The selector, never null.
76 * Sets the media route selector for filtering the routes to be discovered.
79 * @param selector The selector to set.
81 public void setRouteSelector(MediaRouteSelector selector) { argument
82 if (selector == null) {
83 throw new IllegalArgumentException("selector mus
[all...]
H A DMediaRouteActionProvider.java38 * to select by specifying a {@link MediaRouteSelector selector} with the
71 * Then configure the menu and set the route selector for the chooser.
101 * // Remove the selector on stop to tell the media router that it no longer
152 * Gets the media route selector for filtering the routes that the user can
155 * @return The selector, never null.
163 * Sets the media route selector for filtering the routes that the user can
166 * @param selector The selector, must not be null.
168 public void setRouteSelector(@NonNull MediaRouteSelector selector) { argument
169 if (selector
[all...]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DMediaRouteChooserDialogFragment.java35 private static final String ARGUMENT_SELECTOR = "selector";
51 * Gets the media route selector for filtering the routes that the user can select.
53 * @return The selector, never null.
73 * Sets the media route selector for filtering the routes that the user can select.
76 * @param selector The selector to set.
78 public void setRouteSelector(MediaRouteSelector selector) { argument
79 if (selector == null) {
80 throw new IllegalArgumentException("selector must not be null");
84 if (!mSelector.equals(selector)) {
[all...]
H A DMediaRouteDiscoveryFragment.java32 * The application must supply a route selector to specify the kinds of routes
42 private static final String ARGUMENT_SELECTOR = "selector";
66 * Gets the media route selector for filtering the routes to be discovered.
68 * @return The selector, never null.
76 * Sets the media route selector for filtering the routes to be discovered.
79 * @param selector The selector to set.
81 public void setRouteSelector(MediaRouteSelector selector) { argument
82 if (selector == null) {
83 throw new IllegalArgumentException("selector mus
[all...]
H A DMediaRouteActionProvider.java40 * to select by specifying a {@link MediaRouteSelector selector} with the
73 * Then configure the menu and set the route selector for the chooser.
103 * // Remove the selector on stop to tell the media router that it no longer
154 * Gets the media route selector for filtering the routes that the user can
157 * @return The selector, never null.
165 * Sets the media route selector for filtering the routes that the user can
168 * @param selector The selector, must not be null.
170 public void setRouteSelector(@NonNull MediaRouteSelector selector) { argument
171 if (selector
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DQueryController.java42 // 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 DUiSelector.java76 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 DUiCollection.java29 * 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...]
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/
H A DTypesMap.kt99 * Finds all original types matched by the given ProGuard selector and returns their new types.
107 var selector = proGuardSelector.value.replace("?", "[^/]")
108 selector = selector.replace("*", "@")
109 selector = selector.replace("@@@", ".*")
110 selector = selector.replace("@@", ".*")
111 selector = selector
[all...]
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
H A DMediaRouteSelector.java43 * 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 DMediaRouteDiscoveryRequest.java28 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...]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DMediaRouteSelector.java44 * router.addCallback(selector, callback, MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY);
54 * An empty media route selector that will not match any routes.
64 * Gets the list of {@link MediaControlIntent media control categories} in the selector.
83 * Returns true if the selector contains the specified category.
102 * Returns true if the selector matches at least one of the specified control filters.
129 * Returns true if this selector contains all of the capabilities described
130 * by the specified selector.
132 * @param selector The selector to be examined.
133 * @return True if this selector contain
136 contains(MediaRouteSelector selector) argument
226 Builder(@onNull MediaRouteSelector selector) argument
287 addSelector(@onNull MediaRouteSelector selector) argument
[all...]
H A DMediaRouteDiscoveryRequest.java28 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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DMediaRouterWrapper.java36 public void addCallback(MediaRouteSelector selector, MediaRouter.Callback callback, int flags) { argument
37 mRouter.addCallback(selector, callback, flags);
/frameworks/base/tools/split-select/
H A DSplitSelector_test.cpp48 SplitSelector selector(splits);
50 bestSplits.merge(selector.getBestSplits(targetSplit));
56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules();
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DDropDownListView.java97 /** Whether to force drawing of the pressed state selector. */
455 // the proper selector state gets used when we update.
538 * Starts an alpha animation on the selector. When the animation ends,
558 Drawable selector = getSelector();
559 if (selector != null && touchModeDrawsInPressedStateCompat() && isPressed()) {
560 selector.setState(getDrawableState());
566 final Drawable selector = getSelector();
567 if (selector != null) {
568 selector.setBounds(mSelectorRect);
569 selector
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DITunerCallback.aidl27 void onTuneFailed(int result, in ProgramSelector selector);
H A DAnnouncement.java86 public Announcement(@NonNull ProgramSelector selector, @Type int type, argument
88 mSelector = Objects.requireNonNull(selector);
H A DITuner.aidl58 void tune(in ProgramSelector selector);
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DUtils.java43 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/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DPlaybackTransportControlFragment.java90 ClassPresenterSelector selector = new ClassPresenterSelector();
91 selector.addClassPresenter(ListRow.class, new ListRowPresenter());
92 setAdapter(new SparseArrayObjectAdapter(selector));
H A DPlaybackTransportControlSupportFragment.java93 ClassPresenterSelector selector = new ClassPresenterSelector();
94 selector.addClassPresenter(ListRow.class, new ListRowPresenter());
95 setAdapter(new SparseArrayObjectAdapter(selector));
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DPlaybackTransportControlFragment.java90 ClassPresenterSelector selector = new ClassPresenterSelector();
91 selector.addClassPresenter(ListRow.class, new ListRowPresenter());
92 setAdapter(new SparseArrayObjectAdapter(selector));
H A DPlaybackTransportControlSupportFragment.java93 ClassPresenterSelector selector = new ClassPresenterSelector();
94 selector.addClassPresenter(ListRow.class, new ListRowPresenter());
95 setAdapter(new SparseArrayObjectAdapter(selector));

Completed in 557 milliseconds

1234