Home
last modified time | relevance | path

Searched refs:UiSelector (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java31 public class UiSelector { class
70 public UiSelector() { in UiSelector() method in UiSelector
73 UiSelector(UiSelector selector) { in UiSelector() method in UiSelector
80 protected UiSelector cloneSelector() { in cloneSelector()
81 UiSelector ret = new UiSelector(); in cloneSelector()
84 ret.mSelectorAttributes.put(SELECTOR_CHILD, new UiSelector(getChildSelector())); in cloneSelector()
86 ret.mSelectorAttributes.put(SELECTOR_PARENT, new UiSelector(getParentSelector())); in cloneSelector()
88 ret.mSelectorAttributes.put(SELECTOR_PATTERN, new UiSelector(getPatternSelector())); in cloneSelector()
92 static UiSelector patternBuilder(UiSelector selector) { in patternBuilder()
94 return new UiSelector().patternSelector(selector); in patternBuilder()
[all …]
DUiCollection.java31 public UiCollection(UiSelector selector) { in UiCollection()
50 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
61 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); in getChildByDescription()
84 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance()
87 UiSelector patternSelector = UiSelector.patternBuilder(getSelector(), in getChildByInstance()
88 UiSelector.patternBuilder(childPattern).instance(instance)); in getChildByInstance()
108 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
119 UiObject item = row.getChild(new UiSelector().text(text)); in getChildByText()
139 public int getChildCount(UiSelector childPattern) { in getChildCount()
141 UiSelector patternSelector = in getChildCount()
[all …]
DUiScrollable.java54 public UiScrollable(UiSelector container) { in UiScrollable()
90 protected boolean exists(UiSelector selector) { in exists()
115 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
137 public UiObject getChildByDescription(UiSelector childPattern, String text, in getChildByDescription()
142 scrollIntoView(new UiSelector().descriptionContains(text)); in getChildByDescription()
161 public UiObject getChildByInstance(UiSelector childPattern, int instance) in getChildByInstance()
164 UiSelector patternSelector = UiSelector.patternBuilder(getSelector(), in getChildByInstance()
165 UiSelector.patternBuilder(childPattern).instance(instance)); in getChildByInstance()
186 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
207 public UiObject getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) in getChildByText()
[all …]
DQueryController.java127 public int getPatternCount(UiSelector selector) { in getPatternCount()
137 public AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector) { in findAccessibilityNodeInfo()
141 protected AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector, in findAccessibilityNodeInfo()
157 UiSelector uiSelector = new UiSelector(selector); in findAccessibilityNodeInfo()
215 private AccessibilityNodeInfo translateCompoundSelector(UiSelector selector, in translateCompoundSelector()
285 private AccessibilityNodeInfo translateReqularSelector(UiSelector selector, in translateReqularSelector()
291 private AccessibilityNodeInfo findNodeRegularRecursive(UiSelector subSelector, in findNodeRegularRecursive()
372 private AccessibilityNodeInfo translatePatternSelector(UiSelector subSelector, in translatePatternSelector()
403 UiSelector subSelector, AccessibilityNodeInfo fromNode, int index, in findNodePatternRecursive()
404 UiSelector originalPattern) { in findNodePatternRecursive()
DUiObject.java67 private final UiSelector mSelector;
77 public UiObject(UiSelector selector) { in UiObject()
88 public final UiSelector getSelector() { in getSelector()
90 return new UiSelector(mSelector); in getSelector()
120 public UiObject getChild(UiSelector selector) throws UiObjectNotFoundException { in getChild()
134 public UiObject getFromParent(UiSelector selector) throws UiObjectNotFoundException { in getFromParent()
632 UiObject selectAll = new UiObject(new UiSelector().descriptionContains("Select all")); in clearTextField()
/frameworks/base/cmds/uiautomator/api/
D17.txt4 ctor public UiCollection(com.android.uiautomator.core.UiSelector);
5 …mator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.Strin…
6 …utomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com…
7 ….uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.Strin…
8 method public int getChildCount(com.android.uiautomator.core.UiSelector);
62 ctor public UiObject(com.android.uiautomator.core.UiSelector);
72 …ndroid.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.andr…
75 …d.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.andr…
77 method public final com.android.uiautomator.core.UiSelector getSelector();
113 ctor public UiScrollable(com.android.uiautomator.core.UiSelector);
[all …]
D16.txt4 ctor public UiCollection(com.android.uiautomator.core.UiSelector);
5 …mator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.Strin…
6 …utomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com…
7 ….uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.Strin…
8 method public int getChildCount(com.android.uiautomator.core.UiSelector);
54 ctor public UiObject(com.android.uiautomator.core.UiSelector);
64 …ndroid.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.andr…
67 …d.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.andr…
69 method public final com.android.uiautomator.core.UiSelector getSelector();
103 ctor public UiScrollable(com.android.uiautomator.core.UiSelector);
[all …]
Dcurrent.txt18 ctor public UiCollection(com.android.uiautomator.core.UiSelector);
19 …mator.core.UiObject getChildByDescription(com.android.uiautomator.core.UiSelector, java.lang.Strin…
20 …utomator.core.UiObject getChildByInstance(com.android.uiautomator.core.UiSelector, int) throws com…
21 ….uiautomator.core.UiObject getChildByText(com.android.uiautomator.core.UiSelector, java.lang.Strin…
22 method public int getChildCount(com.android.uiautomator.core.UiSelector);
81 ctor public UiObject(com.android.uiautomator.core.UiSelector);
93 …ndroid.uiautomator.core.UiObject getChild(com.android.uiautomator.core.UiSelector) throws com.andr…
97 …d.uiautomator.core.UiObject getFromParent(com.android.uiautomator.core.UiSelector) throws com.andr…
99 method public final com.android.uiautomator.core.UiSelector getSelector();
140 ctor public UiScrollable(com.android.uiautomator.core.UiSelector);
[all …]
/frameworks/base/docs/html/tools/help/uiautomator/
DUiCollection.jd53 …Collection(com.android.uiautomator.core.UiSelector)">UiCollection</a></span>(<a href="UiSelector.h…
82 ….android.uiautomator.core.UiSelector, java.lang.String)">getChildByDescription</a></span>(<a href=…
84 …hild UI element within the constraints of this <code><a href="UiSelector.html">UiSelector</a></co…
101 …ance(com.android.uiautomator.core.UiSelector, int)">getChildByInstance</a></span>(<a href="UiSelec…
103 …hild UI element within the constraints of this <code><a href="UiSelector.html">UiSelector</a></co…
119 …(com.android.uiautomator.core.UiSelector, java.lang.String)">getChildByText</a></span>(<a href="Ui…
121 …hild UI element within the constraints of this <code><a href="UiSelector.html">UiSelector</a></co…
137 …hildCount(com.android.uiautomator.core.UiSelector)">getChildCount</a></span>(<a href="UiSelector.h…
338 …tml#getChild(com.android.uiautomator.core.UiSelector)">getChild</a></span>(<a href="UiSelector.htm…
394 …romParent(com.android.uiautomator.core.UiSelector)">getFromParent</a></span>(<a href="UiSelector.h…
[all …]
DUiSelector.jd1 page.title=UiSelector
52 <span class="sympad"><a href="#UiSelector()">UiSelector</a></span>()</nobr>
78 <a href="#">UiSelector</a></nobr>
96 <a href="#">UiSelector</a></nobr>
115 <a href="#">UiSelector</a></nobr>
118 …="#childSelector(com.android.uiautomator.core.UiSelector)">childSelector</a></span>(<a href="#">Ui…
120 <div class="jd-descrdiv">Adds a child UiSelector criteria to this selector.</div>
133 <a href="#">UiSelector</a></nobr>
152 <a href="#">UiSelector</a></nobr>
171 <a href="#">UiSelector</a></nobr>
[all …]
DUiScrollable.jd135 …Scrollable(com.android.uiautomator.core.UiSelector)">UiScrollable</a></span>(<a href="UiSelector.h…
239 …roid.uiautomator.core.UiSelector, java.lang.String, boolean)">getChildByDescription</a></span>(<a …
257 ….android.uiautomator.core.UiSelector, java.lang.String)">getChildByDescription</a></span>(<a href=…
275 …ance(com.android.uiautomator.core.UiSelector, int)">getChildByInstance</a></span>(<a href="UiSelec…
294 …android.uiautomator.core.UiSelector, java.lang.String, boolean)">getChildByText</a></span>(<a href…
312 …(com.android.uiautomator.core.UiSelector, java.lang.String)">getChildByText</a></span>(<a href="Ui…
460 …lIntoView(com.android.uiautomator.core.UiSelector)">scrollIntoView</a></span>(<a href="UiSelector.…
674 …href="#exists(com.android.uiautomator.core.UiSelector)">exists</a></span>(<a href="UiSelector.html…
725 ….android.uiautomator.core.UiSelector, java.lang.String)">getChildByDescription</a></span>(<a href=…
727 …ent within the constraints of this UiCollection <code><a href="UiSelector.html">UiSelector</a></co…
[all …]
DUiWatcher.jd33 … is unable to find a match using the <code><a href="UiSelector.html">UiSelector</a></code>.</div>
67 …e framework is unable to find a match using the <code><a href="UiSelector.html">UiSelector</a></co…
DUiObject.jd11 <code><a href="#UiSelector.html">UiSelector</a></code> properties specified in
112 …f="#UiObject(com.android.uiautomator.core.UiSelector)">UiObject</a></span>(<a href="UiSelector.htm…
327 …f="#getChild(com.android.uiautomator.core.UiSelector)">getChild</a></span>(<a href="UiSelector.htm…
399 …romParent(com.android.uiautomator.core.UiSelector)">getFromParent</a></span>(<a href="UiSelector.h…
433 <a href="UiSelector.html">UiSelector</a></nobr>
1419 <A NAME="UiObject(com.android.uiautomator.core.UiSelector)"></A>
1432 <span class="normal">(<a href="UiSelector.html">UiSelector</a> selector)</span>
1489 …The <code><a href="UiSelector.html">UiSelector</a></code> of this object must reference a UI eleme…
1947 <A NAME="getChild(com.android.uiautomator.core.UiSelector)"></A>
1960 <span class="normal">(<a href="UiSelector.html">UiSelector</a> selector)</span>
[all …]
Dindex.jd133 …br><a href="{@docRoot}tools/help/uiautomator/UiSelector.html">{@code com.android.uiautomator.core.
179 <td>Indicates when a a <a href="{@docRoot}tools/help/uiautomator/UiSelector.html">{@code UiSelector
DUiObjectNotFoundException.jd8 <p>Generated in test runs when a <code><a href="UiSelector.html">UiSelector</a></code> selector cou…
DConfigurator.jd680 …object's <code><a href="UiSelector.html">UiSelector</a></code>. Once the idle state is detected or…
884 …object's <code><a href="UiSelector.html">UiSelector</a></code>. Once the idle state is detected or…
DUiDevice.jd676 find a match using a <code><a href="UiSelector.html">UiSelector</a></code>.</div>
2482 …find a match using a <code><a href="UiSelector.html">UiSelector</a></code>. See <code><a href="#ru…
/frameworks/base/docs/html/tools/testing/
Dtesting_ui.jd41 <li><a href="{@docRoot}tools/help/uiautomator/UiSelector.html">UiSelector</a></li>
181 <dt><a href="{@docRoot}tools/help/uiautomator/UiSelector.html">{@code UiSelector}</a></dt>
183UiSelector.html">{@code UiSelector}</a>, you can chain together multiple properties to refine your…
185 UiObject appItem = new UiObject(new UiSelector()
187 .childSelector(new UiSelector().text("Apps")));
192 …uiautomator/UiObject.html">{@code UiObject}</a> instance, use a {@code UiSelector} that describes …
195 UiObject cancelButton = new UiObject(new UiSelector().text("Cancel"));
196 UiObject okButton = new UiObject(new UiSelector().text("OK"));
208 UiObject cancelButton = new UiObject(new UiSelector().text("Cancel")
210 UiObject okButton = new UiObject(new UiSelector().text("OK")
[all …]
/frameworks/base/docs/html/training/testing/ui-testing/
Duiautomator-testing.jd204 …id/support/test/uiautomator/UiDevice.html#findObject(android.support.test.uiautomator.UiSelector)">
264 …/uiautomator/UiDevice.html#findObject(android.support.test.uiautomator.UiSelector)">{@code findObj…
279 UiObject cancelButton = mDevice.findObject(new UiSelector()
282 UiObject okButton = mDevice.findObject(new UiSelector()
294 <a href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</…
302 <a href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</…
309 …erence/android/support/test/uiautomator/UiSelector.html#childSelector(android.support.test.uiautom…
311 <a href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</…
317 UiObject appItem = new UiObject(new UiSelector()
320 .childSelector(new UiSelector()
[all …]
/frameworks/base/docs/html/tools/testing-support-library/
Dindex.jd505 …href="{@docRoot}reference/android/support/test/uiautomator/UiSelector.html">{@code UiSelector}</a>:
529 .findObject(new UiSelector().description("Apps"));
/frameworks/base/docs/html/
Dsitemap.txt159 http://developer.android.com/tools/help/uiautomator/UiSelector.html