Home
last modified time | relevance | path

Searched refs:UiObject (Results 1 – 13 of 13) sorted by relevance

/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiObjectTest.java28 import androidx.test.uiautomator.UiObject;
60 UiObject treeN2 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N2")); in testGetChild()
61 UiObject treeN3 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N3")); in testGetChild()
72 UiObject treeN4 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N4")); in testGetFromParent()
84 UiObject treeN2 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N2")); in testGetChildCount()
85 UiObject treeN3 = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/tree_N3")); in testGetChildCount()
95 UiObject noNode = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/no_node")); in testGetChildCount_throwsUiObjectNotFoundException()
105 UiObject dragButton = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destObjAndSteps()
107 UiObject dragDestination = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destObjAndSteps()
110 UiObject expectedDragDest = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testDragTo_destObjAndSteps()
[all …]
DUiScrollableTest.java25 import androidx.test.uiautomator.UiObject;
61 UiObject target = in testGetChildByDescription()
78 UiObject target = in testGetChildByDescription_withoutScrollSearch()
96 UiObject target = in testGetChildByInstance()
111 UiObject target = in testGetChildByText()
127 UiObject target = in testGetChildByText_withoutScrollSearch()
143 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollDescriptionIntoView()
158 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollIntoView_withUiObject()
160 UiObject nonExistentTarget = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollIntoView_withUiObject()
190 UiObject target = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id" in testScrollTextIntoView()
[all …]
DUiSelectorTest.java26 import androidx.test.uiautomator.UiObject;
227 UiObject button = mDevice.findObject(new UiSelector().resourceId(TEST_APP + ":id/button")); in testFocused()
270 UiObject selectedButton = mDevice.findObject( in testSelected()
288 UiObject checkBox = mDevice.findObject( in testChecked()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiCollection.java25 public class UiCollection extends UiObject {
50 public @NonNull UiObject getChildByDescription(@NonNull UiSelector childPattern, in getChildByDescription()
55 UiObject row = getChildByInstance(childPattern, x); in getChildByDescription()
60 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); in getChildByDescription()
82 public @NonNull UiObject getChildByInstance(@NonNull UiSelector childPattern, int instance) in getChildByInstance()
86 return new UiObject(patternSelector); in getChildByInstance()
104 public @NonNull UiObject getChildByText(@NonNull UiSelector childPattern, @NonNull String text) in getChildByText()
109 UiObject row = getChildByInstance(childPattern, x); in getChildByText()
114 UiObject item = row.getChild(new UiSelector().text(text)); in getChildByText()
DUiScrollable.java109 public @NonNull UiObject getChildByDescription( in getChildByDescription()
130 public @NonNull UiObject getChildByDescription(@NonNull UiSelector childPattern, in getChildByDescription()
152 public @NonNull UiObject getChildByInstance(@NonNull UiSelector childPattern, int instance) in getChildByInstance()
156 return new UiObject(patternSelector); in getChildByInstance()
175 public @NonNull UiObject getChildByText(@NonNull UiSelector childPattern, @NonNull String text) in getChildByText()
194 public @NonNull UiObject getChildByText(@NonNull UiSelector childPattern, in getChildByText()
227 public boolean scrollIntoView(@NonNull UiObject obj) throws UiObjectNotFoundException { in scrollIntoView()
DUiObject.java37 public class UiObject { class
38 private static final String TAG = UiObject.class.getSimpleName();
66 public UiObject(UiSelector selector) { in UiObject() method in UiObject
75 UiObject(UiDevice device, UiSelector selector) { in UiObject() method in UiObject
123 public @NonNull UiObject getChild(@NonNull UiSelector selector) in getChild()
125 return new UiObject(getSelector().childSelector(selector)); in getChild()
136 public @NonNull UiObject getFromParent(@NonNull UiSelector selector) in getFromParent()
138 return new UiObject(getSelector().fromParent(selector)); in getFromParent()
193 public boolean dragTo(@NonNull UiObject destObj, int steps) throws UiObjectNotFoundException { in dragTo()
DUiDevice.java133 public @NonNull UiObject findObject(@NonNull UiSelector selector) { in findObject()
134 return new UiObject(this, selector); in findObject()
/test/uiautomator/uiautomator/api/
D2.2.0.txt134 public class UiCollection extends androidx.test.uiautomator.UiObject {
136 …method public androidx.test.uiautomator.UiObject! getChildByDescription(androidx.test.uiautomator.…
137 …method public androidx.test.uiautomator.UiObject! getChildByInstance(androidx.test.uiautomator.UiS…
138 …method public androidx.test.uiautomator.UiObject! getChildByText(androidx.test.uiautomator.UiSelec…
150 …method public androidx.test.uiautomator.UiObject! findObject(androidx.test.uiautomator.UiSelector!…
207 public class UiObject {
208 ctor @Deprecated public UiObject(androidx.test.uiautomator.UiSelector!);
215 …method public boolean dragTo(androidx.test.uiautomator.UiObject!, int) throws androidx.test.uiauto…
220 …method public androidx.test.uiautomator.UiObject! getChild(androidx.test.uiautomator.UiSelector!) …
224 …method public androidx.test.uiautomator.UiObject! getFromParent(androidx.test.uiautomator.UiSelect…
[all …]
Drestricted_2.2.0.txt134 public class UiCollection extends androidx.test.uiautomator.UiObject {
136 …method public androidx.test.uiautomator.UiObject! getChildByDescription(androidx.test.uiautomator.…
137 …method public androidx.test.uiautomator.UiObject! getChildByInstance(androidx.test.uiautomator.UiS…
138 …method public androidx.test.uiautomator.UiObject! getChildByText(androidx.test.uiautomator.UiSelec…
150 …method public androidx.test.uiautomator.UiObject! findObject(androidx.test.uiautomator.UiSelector!…
207 public class UiObject {
208 ctor @Deprecated public UiObject(androidx.test.uiautomator.UiSelector!);
215 …method public boolean dragTo(androidx.test.uiautomator.UiObject!, int) throws androidx.test.uiauto…
220 …method public androidx.test.uiautomator.UiObject! getChild(androidx.test.uiautomator.UiSelector!) …
224 …method public androidx.test.uiautomator.UiObject! getFromParent(androidx.test.uiautomator.UiSelect…
[all …]
Drestricted_2.3.0-beta01.txt157 public class UiCollection extends androidx.test.uiautomator.UiObject {
159 …method public androidx.test.uiautomator.UiObject getChildByDescription(androidx.test.uiautomator.U…
160 …method public androidx.test.uiautomator.UiObject getChildByInstance(androidx.test.uiautomator.UiSe…
161 …method public androidx.test.uiautomator.UiObject getChildByText(androidx.test.uiautomator.UiSelect…
174 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector);
247 public class UiObject {
248 ctor @Deprecated public UiObject(androidx.test.uiautomator.UiSelector!);
255 …method public boolean dragTo(androidx.test.uiautomator.UiObject, int) throws androidx.test.uiautom…
260 …method public androidx.test.uiautomator.UiObject getChild(androidx.test.uiautomator.UiSelector) th…
264 …method public androidx.test.uiautomator.UiObject getFromParent(androidx.test.uiautomator.UiSelecto…
[all …]
D2.3.0-beta01.txt157 public class UiCollection extends androidx.test.uiautomator.UiObject {
159 …method public androidx.test.uiautomator.UiObject getChildByDescription(androidx.test.uiautomator.U…
160 …method public androidx.test.uiautomator.UiObject getChildByInstance(androidx.test.uiautomator.UiSe…
161 …method public androidx.test.uiautomator.UiObject getChildByText(androidx.test.uiautomator.UiSelect…
174 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector);
247 public class UiObject {
248 ctor @Deprecated public UiObject(androidx.test.uiautomator.UiSelector!);
255 …method public boolean dragTo(androidx.test.uiautomator.UiObject, int) throws androidx.test.uiautom…
260 …method public androidx.test.uiautomator.UiObject getChild(androidx.test.uiautomator.UiSelector) th…
264 …method public androidx.test.uiautomator.UiObject getFromParent(androidx.test.uiautomator.UiSelecto…
[all …]
Dcurrent.txt268 public class UiCollection extends androidx.test.uiautomator.UiObject {
270 …method public androidx.test.uiautomator.UiObject getChildByDescription(androidx.test.uiautomator.U…
271 …method public androidx.test.uiautomator.UiObject getChildByInstance(androidx.test.uiautomator.UiSe…
272 …method public androidx.test.uiautomator.UiObject getChildByText(androidx.test.uiautomator.UiSelect…
285 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector);
381 public class UiObject {
382 ctor @Deprecated public UiObject(androidx.test.uiautomator.UiSelector!);
389 …method public boolean dragTo(androidx.test.uiautomator.UiObject, int) throws androidx.test.uiautom…
394 …method public androidx.test.uiautomator.UiObject getChild(androidx.test.uiautomator.UiSelector) th…
398 …method public androidx.test.uiautomator.UiObject getFromParent(androidx.test.uiautomator.UiSelecto…
[all …]
Drestricted_current.txt268 public class UiCollection extends androidx.test.uiautomator.UiObject {
270 …method public androidx.test.uiautomator.UiObject getChildByDescription(androidx.test.uiautomator.U…
271 …method public androidx.test.uiautomator.UiObject getChildByInstance(androidx.test.uiautomator.UiSe…
272 …method public androidx.test.uiautomator.UiObject getChildByText(androidx.test.uiautomator.UiSelect…
285 … method public androidx.test.uiautomator.UiObject findObject(androidx.test.uiautomator.UiSelector);
381 public class UiObject {
382 ctor @Deprecated public UiObject(androidx.test.uiautomator.UiSelector!);
389 …method public boolean dragTo(androidx.test.uiautomator.UiObject, int) throws androidx.test.uiautom…
394 …method public androidx.test.uiautomator.UiObject getChild(androidx.test.uiautomator.UiSelector) th…
398 …method public androidx.test.uiautomator.UiObject getFromParent(androidx.test.uiautomator.UiSelecto…
[all …]