/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | QueryController.java | 127 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 …]
|
D | UiSelector.java | 76 UiSelector(UiSelector selector) { in UiSelector() argument 77 mSelectorAttributes = selector.cloneSelector().mSelectorAttributes; in UiSelector() 95 static UiSelector patternBuilder(UiSelector selector) { in patternBuilder() argument 96 if (!selector.hasPatternSelector()) { in patternBuilder() 97 return new UiSelector().patternSelector(selector); in patternBuilder() 99 return selector; in patternBuilder() 533 public UiSelector childSelector(UiSelector selector) { in childSelector() argument 534 return buildSelector(SELECTOR_CHILD, selector); in childSelector() 537 private UiSelector patternSelector(UiSelector selector) { in patternSelector() argument 538 return buildSelector(SELECTOR_PATTERN, selector); in patternSelector() [all …]
|
D | UiScrollable.java | 93 protected boolean exists(UiSelector selector) { in exists() argument 94 if(getQueryController().findAccessibilityNodeInfo(selector) != null) { in exists() 259 public boolean scrollIntoView(UiSelector selector) throws UiObjectNotFoundException { in scrollIntoView() argument 260 Tracer.trace(selector); in scrollIntoView() 262 UiSelector childSelector = getSelector().childSelector(selector); in scrollIntoView()
|
D | UiObject.java | 80 public UiObject(UiSelector selector) { in UiObject() argument 81 mSelector = selector; in UiObject() 123 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { in getChild() argument 124 Tracer.trace(selector); in getChild() 125 return new UiObject(getSelector().childSelector(selector)); in getChild() 137 public UiObject getFromParent(UiSelector selector) throws UiObjectNotFoundException { in getFromParent() argument 138 Tracer.trace(selector); in getFromParent() 139 return new UiObject(getSelector().fromParent(selector)); in getFromParent()
|
D | UiCollection.java | 34 public UiCollection(UiSelector selector) { in UiCollection() argument 35 super(selector); in UiCollection()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteSelector.java | 135 public boolean contains(MediaRouteSelector selector) { in contains() argument 136 if (selector != null) { in contains() 138 selector.ensureControlCategories(); in contains() 139 return mControlCategories.containsAll(selector.mControlCategories); in contains() 225 public Builder(@NonNull MediaRouteSelector selector) { in Builder() argument 226 if (selector == null) { in Builder() 230 selector.ensureControlCategories(); in Builder() 231 if (!selector.mControlCategories.isEmpty()) { in Builder() 232 mControlCategories = new ArrayList<String>(selector.mControlCategories); in Builder() 286 public Builder addSelector(@NonNull MediaRouteSelector selector) { in addSelector() argument [all …]
|
D | MediaRouteDiscoveryRequest.java | 40 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()
|
D | MediaRouter.java | 360 public RouteInfo updateSelectedRoute(@NonNull MediaRouteSelector selector) { in updateSelectedRoute() argument 361 if (selector == null) { in updateSelectedRoute() 367 Log.d(TAG, "updateSelectedRoute: " + selector); in updateSelectedRoute() 370 if (!route.isDefaultOrBluetooth() && !route.matchesSelector(selector)) { in updateSelectedRoute() 446 public boolean isRouteAvailable(@NonNull MediaRouteSelector selector, int flags) { in isRouteAvailable() argument 447 if (selector == null) { in isRouteAvailable() 452 return sGlobal.isRouteAvailable(selector, flags); in isRouteAvailable() 468 public void addCallback(MediaRouteSelector selector, Callback callback) { in addCallback() argument 469 addCallback(selector, callback, 0); in addCallback() 565 public void addCallback(@NonNull MediaRouteSelector selector, @NonNull Callback callback, in addCallback() argument [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ListViewCompat.java | 124 Drawable selector = getSelector(); in updateSelectorStateCompat() local 125 if (selector != null && shouldShowSelectorCompat()) { in updateSelectorStateCompat() 126 selector.setState(getDrawableState()); in updateSelectorStateCompat() 140 final Drawable selector = getSelector(); in drawSelectorCompat() local 141 if (selector != null) { in drawSelectorCompat() 142 selector.setBounds(mSelectorRect); in drawSelectorCompat() 143 selector.draw(canvas); in drawSelectorCompat() 191 Drawable selector = getSelector(); in positionSelectorLikeTouchCompat() local 192 if (selector != null && position != INVALID_POSITION) { in positionSelectorLikeTouchCompat() 193 DrawableCompat.setHotspot(selector, x, y); in positionSelectorLikeTouchCompat() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteChooserDialogFragment.java | 77 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument 78 if (selector == null) { in setRouteSelector() 83 if (!mSelector.equals(selector)) { in setRouteSelector() 84 mSelector = selector; in setRouteSelector() 90 args.putBundle(ARGUMENT_SELECTOR, selector.asBundle()); in setRouteSelector() 95 dialog.setRouteSelector(selector); in setRouteSelector()
|
D | MediaRouteActionProvider.java | 167 public void setRouteSelector(@NonNull MediaRouteSelector selector) { in setRouteSelector() argument 168 if (selector == null) { in setRouteSelector() 172 if (!mSelector.equals(selector)) { in setRouteSelector() 183 if (!selector.isEmpty()) { in setRouteSelector() 184 mRouter.addCallback(selector, mCallback); in setRouteSelector() 186 mSelector = selector; in setRouteSelector() 190 mButton.setRouteSelector(selector); in setRouteSelector()
|
D | MediaRouteDiscoveryFragment.java | 80 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument 81 if (selector == null) { in setRouteSelector() 86 if (!mSelector.equals(selector)) { in setRouteSelector() 87 mSelector = selector; in setRouteSelector() 93 args.putBundle(ARGUMENT_SELECTOR, selector.asBundle()); in setRouteSelector()
|
D | MediaRouteButton.java | 162 public void setRouteSelector(MediaRouteSelector selector) { in setRouteSelector() argument 163 if (selector == null) { in setRouteSelector() 167 if (!mSelector.equals(selector)) { in setRouteSelector() 172 if (!selector.isEmpty()) { in setRouteSelector() 173 mRouter.addCallback(selector, mCallback); in setRouteSelector() 176 mSelector = selector; in setRouteSelector()
|
D | MediaRouteChooserDialog.java | 117 public void setRouteSelector(@NonNull MediaRouteSelector selector) { in setRouteSelector() argument 118 if (selector == null) { in setRouteSelector() 122 if (!mSelector.equals(selector)) { in setRouteSelector() 123 mSelector = selector; in setRouteSelector() 127 mRouter.addCallback(selector, mCallback, in setRouteSelector()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
D | BaseBot.java | 54 protected UiObject2 find(BySelector selector) { in find() argument 55 mDevice.wait(Until.findObject(selector), mTimeout); in find() 56 return mDevice.findObject(selector); in find() 65 final UiSelector selector = new UiSelector() in findObject() local 68 return mDevice.findObject(selector); in findObject()
|
D | UiBot.java | 179 UiSelector selector = new UiSelector().text("Couldn't download"); in findDownloadRetryDialog() local 180 UiObject title = mDevice.findObject(selector); in findDownloadRetryDialog() 198 UiSelector selector = new UiSelector().text(label); in findMenuLabelWithName() local 199 return mDevice.findObject(selector); in findMenuLabelWithName() 218 UiSelector selector = new UiSelector().className("android.widget.ImageButton") in findMenuMoreOptions() local 221 return mDevice.findObject(selector); in findMenuMoreOptions()
|
/frameworks/base/tools/split-select/ |
D | SplitSelector_test.cpp | 48 SplitSelector selector(splits); in TEST() local 50 bestSplits.merge(selector.getBestSplits(targetSplit)); in TEST() 56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules(); in TEST()
|
D | Main.cpp | 67 const SplitSelector selector(splits); in select() local 68 return selector.getBestSplits(target); in select() 77 const SplitSelector selector(allSplits); in generate() local 78 KeyedVector<SplitDescription, sp<Rule> > rules(selector.getRules()); in generate()
|
/frameworks/base/core/java/android/security/net/config/ |
D | DirectoryCertificateSource.java | 140 private Set<X509Certificate> findCerts(X500Principal subj, CertSelector selector) { 155 if (selector.match(cert)) { 165 private X509Certificate findCert(X500Principal subj, CertSelector selector) { 179 if (selector.match(cert)) {
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | Utils.java | 43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { in waitForActivity() argument 45 UiObject2 window = device.wait(Until.findObject(selector), WAIT_FOR_ACTIVITY_TIMEOUT); in waitForActivity() 47 throw new RuntimeException(selector.toString() + " has not been started."); in waitForActivity()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | color-list-resource.jd | 23 <item>} element inside a single {@code <selector>} element. Each {@code <item>} 52 <<a href="#selector-element">selector</a> xmlns:android="http://schemas.android.com/apk/res/andr… 62 </selector> 70 <dt id="selector-element"><code><selector></code></dt> 82 child of a <code><selector></code> element. 134 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 140 </selector>
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/playback/ |
D | details.jd | 87 ClassPresenterSelector selector = new ClassPresenterSelector(); 92 selector.addClassPresenter(DetailsOverviewRow.class, rowPresenter); 93 selector.addClassPresenter(ListRow.class, 95 mRowsAdapter = new ArrayObjectAdapter(selector);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 216 LocalePickerWithRegion selector = LocalePickerWithRegion.createCountryPicker( in onListItemClick() local 218 if (selector != null) { in onListItemClick() 221 .replace(getId(), selector).addToBackStack(null) in onListItemClick()
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/ |
D | navigation.jd | 116 <selector xmlns:android="http://schemas.android.com/apk/res/android"> 124 </selector>
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerPrepareForDropTest.java | 89 for (SelectTargetChildren selector : selectors) { in params() 91 variations.add(new Object[]{config, selector}); in params()
|