Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DQueryController.java127 public int getPatternCount(UiSelector selector) { in getPatternCount() argument
128 findAccessibilityNodeInfo(selector, true /*counting*/); in getPatternCount()
137 public AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector) { in findAccessibilityNodeInfo() argument
138 return findAccessibilityNodeInfo(selector, false); in findAccessibilityNodeInfo()
141 protected AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector, in findAccessibilityNodeInfo() argument
147 Log.d(LOG_TAG, "Searching: " + selector); in findAccessibilityNodeInfo()
157 UiSelector uiSelector = new UiSelector(selector); in findAccessibilityNodeInfo()
215 private AccessibilityNodeInfo translateCompoundSelector(UiSelector selector, in translateCompoundSelector() argument
221 if(selector.hasContainerSelector()) in translateCompoundSelector()
223 if(selector.getContainerSelector().hasContainerSelector()) { in translateCompoundSelector()
[all …]
DUiSelector.java73 UiSelector(UiSelector selector) { in UiSelector() argument
74 mSelectorAttributes = selector.cloneSelector().mSelectorAttributes; in UiSelector()
92 static UiSelector patternBuilder(UiSelector selector) { in patternBuilder() argument
93 if (!selector.hasPatternSelector()) { in patternBuilder()
94 return new UiSelector().patternSelector(selector); in patternBuilder()
96 return selector; in patternBuilder()
530 public UiSelector childSelector(UiSelector selector) { in childSelector() argument
531 return buildSelector(SELECTOR_CHILD, selector); in childSelector()
534 private UiSelector patternSelector(UiSelector selector) { in patternSelector() argument
535 return buildSelector(SELECTOR_PATTERN, selector); in patternSelector()
[all …]
DUiScrollable.java90 protected boolean exists(UiSelector selector) { in exists() argument
91 if(getQueryController().findAccessibilityNodeInfo(selector) != null) { in exists()
256 public boolean scrollIntoView(UiSelector selector) throws UiObjectNotFoundException { in scrollIntoView() argument
257 Tracer.trace(selector); in scrollIntoView()
259 UiSelector childSelector = getSelector().childSelector(selector); in scrollIntoView()
DUiCollection.java31 public UiCollection(UiSelector selector) { in UiCollection() argument
32 super(selector); in UiCollection()
DUiObject.java77 public UiObject(UiSelector selector) { in UiObject() argument
78 mSelector = selector; in UiObject()
120 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { in getChild() argument
121 Tracer.trace(selector); in getChild()
122 return new UiObject(getSelector().childSelector(selector)); in getChild()
134 public UiObject getFromParent(UiSelector selector) throws UiObjectNotFoundException { in getFromParent() argument
135 Tracer.trace(selector); in getFromParent()
136 return new UiObject(getSelector().fromParent(selector)); in getFromParent()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java133 public boolean contains(MediaRouteSelector selector) { in contains() argument
134 if (selector != null) { in contains()
136 selector.ensureControlCategories(); in contains()
137 return mControlCategories.containsAll(selector.mControlCategories); in contains()
223 public Builder(MediaRouteSelector selector) { in Builder() argument
224 if (selector == null) { in Builder()
228 selector.ensureControlCategories(); in Builder()
229 if (!selector.mControlCategories.isEmpty()) { in Builder()
230 mControlCategories = new ArrayList<String>(selector.mControlCategories); in Builder()
281 public Builder addSelector(MediaRouteSelector selector) { in addSelector() argument
[all …]
DMediaRouteDiscoveryRequest.java40 public MediaRouteDiscoveryRequest(MediaRouteSelector selector, boolean activeScan) { in MediaRouteDiscoveryRequest() argument
41 if (selector == null) { in MediaRouteDiscoveryRequest()
46 mSelector = selector; in MediaRouteDiscoveryRequest()
47 mBundle.putBundle(KEY_SELECTOR, selector.asBundle()); in MediaRouteDiscoveryRequest()
DMediaRouter.java265 public RouteInfo updateSelectedRoute(MediaRouteSelector selector) { in updateSelectedRoute() argument
266 if (selector == null) { in updateSelectedRoute()
272 Log.d(TAG, "updateSelectedRoute: " + selector); in updateSelectedRoute()
275 if (!route.isDefault() && !route.matchesSelector(selector)) { in updateSelectedRoute()
313 public boolean isRouteAvailable(MediaRouteSelector selector, int flags) { in isRouteAvailable() argument
314 if (selector == null) { in isRouteAvailable()
319 return sGlobal.isRouteAvailable(selector, flags); in isRouteAvailable()
335 public void addCallback(MediaRouteSelector selector, Callback callback) { in addCallback() argument
336 addCallback(selector, callback, 0); in addCallback()
410 public void addCallback(MediaRouteSelector selector, Callback callback, int flags) { in addCallback() argument
[all …]
DSystemMediaRouteProvider.java277 final MediaRouteSelector selector = request.getSelector(); in onDiscoveryRequestChanged() local
278 final List<String> categories = selector.getControlCategories(); in onDiscoveryRequestChanged()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteChooserDialogFragment.java75 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument
76 if (selector == null) { in setRouteSelector()
81 if (!mSelector.equals(selector)) { in setRouteSelector()
82 mSelector = selector; in setRouteSelector()
88 args.putBundle(ARGUMENT_SELECTOR, selector.asBundle()); in setRouteSelector()
93 dialog.setRouteSelector(selector); in setRouteSelector()
DMediaRouteActionProvider.java164 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument
165 if (selector == null) { in setRouteSelector()
169 if (!mSelector.equals(selector)) { in setRouteSelector()
180 if (!selector.isEmpty()) { in setRouteSelector()
181 mRouter.addCallback(selector, mCallback); in setRouteSelector()
183 mSelector = selector; in setRouteSelector()
187 mButton.setRouteSelector(selector); in setRouteSelector()
DMediaRouteDiscoveryFragment.java76 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument
77 if (selector == null) { in setRouteSelector()
82 if (!mSelector.equals(selector)) { in setRouteSelector()
83 mSelector = selector; in setRouteSelector()
89 args.putBundle(ARGUMENT_SELECTOR, selector.asBundle()); in setRouteSelector()
DMediaRouteChooserDialog.java82 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument
83 if (selector == null) { in setRouteSelector()
87 if (!mSelector.equals(selector)) { in setRouteSelector()
88 mSelector = selector; in setRouteSelector()
92 mRouter.addCallback(selector, mCallback, in setRouteSelector()
DMediaRouteButton.java157 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument
158 if (selector == null) { in setRouteSelector()
162 if (!mSelector.equals(selector)) { in setRouteSelector()
167 if (!selector.isEmpty()) { in setRouteSelector()
168 mRouter.addCallback(selector, mCallback); in setRouteSelector()
171 mSelector = selector; in setRouteSelector()
/frameworks/base/docs/html/guide/topics/resources/
Dcolor-list-resource.jd23 &lt;item>} element inside a single {@code &lt;selector>} element. Each {@code &lt;item>}
52 &lt;<a href="#selector-element">selector</a> xmlns:android="http://schemas.android.com/apk/res/andr…
62 &lt;/selector>
70 <dt id="selector-element"><code>&lt;selector&gt;</code></dt>
82 child of a <code>&lt;selector&gt;</code> element.
134 &lt;selector xmlns:android="http://schemas.android.com/apk/res/android">
140 &lt;/selector>
/frameworks/base/docs/html/tools/help/uiautomator/
DUiCollection.jd53 …omator.core.UiSelector)">UiCollection</a></span>(<a href="UiSelector.html">UiSelector</a> selector)
85 selector.</div>
338 …iautomator.core.UiSelector)">getChild</a></span>(<a href="UiSelector.html">UiSelector</a> selector)
394 …mator.core.UiSelector)">getFromParent</a></span>(<a href="UiSelector.html">UiSelector</a> selector)
1017 <span class="normal">(<a href="UiSelector.html">UiSelector</a> selector)</span>
1068 selector.
1079 …<td><code><a href="UiSelector.html">UiSelector</a></code> selector of the child pattern to match a…
1141 …<td><code><a href="UiSelector.html">UiSelector</a></code> selector of the child pattern to match a…
1194 selector.
1206 …<td><code><a href="UiSelector.html">UiSelector</a></code> selector of the child pattern to match a…
DConfigurator.jd166 the user interface so that it can be matched by a selector.</div>
260 interface so that it can be matched by a selector.</div>
682 for the selector to find a match.
714 the user interface so that it can be matched by a selector.
717 be visible immediately and won't be detected by a selector. This timeout
886 for the selector to find a match.
927 interface so that it can be matched by a selector.
930 be visible immediately and won't be detected by a selector. This timeout
DUiScrollable.jd278 matches the selector you provided.</div>
460 …re.UiSelector)">scrollIntoView</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
463 element until a visible item that matches the selector is found.</div>
674 …mator.core.UiSelector)">exists</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
728 selector.</div>
747 selector.</div>
766 selector.</div>
995 using the selector for this UiObject.</div>
1029 …tor.core.UiSelector)">getChild</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
1101 …ore.UiSelector)">getFromParent</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
[all …]
DUiObject.jd13 different views that match the selector criteria.</p>
112 …tor.core.UiSelector)">UiObject</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
115 selector criteria.</div>
327 …tor.core.UiSelector)">getChild</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
399 …ore.UiSelector)">getFromParent</a></span>(<a href="UiSelector.html">UiSelector</a> selector)</nobr>
921 using the selector for this UiObject.</div>
1432 <span class="normal">(<a href="UiSelector.html">UiSelector</a> selector)</span>
1443 selector criteria.</p></div>
1960 <span class="normal">(<a href="UiSelector.html">UiSelector</a> selector)</span>
1975 <th>selector</td>
[all …]
DUiSelector.jd118 ….uiautomator.core.UiSelector)">childSelector</a></span>(<a href="#">UiSelector</a> selector)</nobr>
120 <div class="jd-descrdiv">Adds a child UiSelector criteria to this selector.</div>
341 …oid.uiautomator.core.UiSelector)">fromParent</a></span>(<a href="#">UiSelector</a> selector)</nobr>
343 <div class="jd-descrdiv">Adds a child UiSelector criteria to this selector which is used to
1039 <span class="normal">(<a href="#">UiSelector</a> selector)</span>
1049 <div class="jd-tagdata jd-tagdescr"><p>Adds a child UiSelector criteria to this selector.
1051 Use this selector to narrow the search scope to
1601 <span class="normal">(<a href="#">UiSelector</a> selector)</span>
1611 …<div class="jd-tagdata jd-tagdescr"><p>Adds a child UiSelector criteria to this selector which is …
1614 Use this selector to narrow the search scope to
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewContentsClientAdapter.java192 Intent selector = intent.getSelector(); in shouldOverrideUrlLoading() local
193 if (selector != null) { in shouldOverrideUrlLoading()
194 selector.addCategory(Intent.CATEGORY_BROWSABLE); in shouldOverrideUrlLoading()
195 selector.setComponent(null); in shouldOverrideUrlLoading()
/frameworks/base/core/java/android/content/
DIntent.java3900 Intent selector = new Intent(); in makeMainSelectorActivity() local
3901 selector.setAction(selectorAction); in makeMainSelectorActivity()
3902 selector.addCategory(selectorCategory); in makeMainSelectorActivity()
3903 intent.setSelector(selector); in makeMainSelectorActivity()
5399 public void setSelector(Intent selector) { in setSelector() argument
5400 if (selector == this) { in setSelector()
5404 if (selector != null && mPackage != null) { in setSelector()
5408 mSelector = selector; in setSelector()
/frameworks/base/docs/html/training/tv/
Doptimizing-navigation-tv.jd124 &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
132 &lt;/selector&gt;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DListPopupWindow.java323 public void setListSelector(Drawable selector) { in setListSelector() argument
324 mDropDownListHighlight = selector; in setListSelector()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dbutton.jd201 &lt;selector xmlns:android="http://schemas.android.com/apk/res/android">
207 &lt;/selector>

12