Searched refs:UiObject (Results 1 - 7 of 7) sorted by relevance

/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiCollection.java23 public class UiCollection extends UiObject {
41 * The returned UiObject will point at the <code>childPattern</code> instance that matched the
46 * @return {@link UiObject} pointing at and instance of <code>childPattern</code>
50 public UiObject getChildByDescription(UiSelector childPattern, String text)
56 UiObject row = getChildByInstance(childPattern, x);
61 UiObject item = row.getChild(new UiSelector().descriptionContains(text));
81 * @return {@link UiObject} pointing at and instance of <code>childPattern</code>
84 public UiObject getChildByInstance(UiSelector childPattern, int instance)
89 return new UiObject(patternSelector);
98 * <code>text</code>. The returned UiObject wil
[all...]
H A DUiScrollable.java101 * If both search conditions are fulfilled, the method returns a {@ link UiObject}
110 * @return {@link UiObject} representing the child element that matches the search conditions
115 public UiObject getChildByDescription(UiSelector childPattern, String text)
125 * If both search conditions are fulfilled, the method returns a {@ link UiObject}
133 * @return {@link UiObject} representing the child element that matches the search conditions
137 public UiObject getChildByDescription(UiSelector childPattern, String text,
157 * @return {@link UiObject} representing the child element that matches the search conditions
161 public UiObject getChildByInstance(UiSelector childPattern, int instance)
166 return new UiObject(patternSelector);
173 * If both search conditions are fulfilled, the method returns a {@ link UiObject}
[all...]
H A DUiObject.java28 * A UiObject is a representation of a view. It is not in any way directly bound to a
29 * view as an object reference. A UiObject contains information to help it
31 * its constructor. Once you create an instance of a UiObject, it can
35 public class UiObject { class
36 private static final String LOG_TAG = UiObject.class.getSimpleName();
72 * Constructs a UiObject to represent a view that matches the specified
77 public UiObject(UiSelector selector) { method in class:UiObject
114 * Creates a new UiObject for a child view that is under the present UiObject.
117 * @return a new UiObject representin
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/
H A DUiWatchers.java22 import com.android.uiautomator.core.UiObject;
47 UiObject window = new UiObject(new UiSelector().className(
68 UiObject window = new UiObject(new UiSelector().packageName("android")
88 UiObject window = new UiObject(new UiSelector().className(
108 UiObject window = new UiObject(new UiSelector().packageName("android")
154 UiObject buttonO
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
H A DDatePickerHelper.java18 import com.android.uiautomator.core.UiObject;
100 public static UiObject getNumberPicker(int instance) {
101 return new UiObject(new UiSelector().className(
105 public static UiObject getNumberPickerField(int instance)
111 public static UiObject getNumberPickerDecrementButton(int instance)
117 public static UiObject getNumberPickerIncrementButton(int instance)
124 new UiObject(new UiSelector().text("Done")).click();
H A DTimePickerHelper.java18 import com.android.uiautomator.core.UiObject;
92 public static UiObject getNumberPicker(int instance) {
93 return new UiObject(new UiSelector().className(
97 public static UiObject getNumberPickerField(int instance)
103 public static UiObject getNumberPickerDecrementButton(int instance)
109 public static UiObject getNumberPickerIncrementButton(int instance)
116 new UiObject(new UiSelector().text("Done")).click();
/frameworks/base/docs/html/tools/
H A Dtools_toc.cs212 <li><a href="<?cs var:toroot ?>tools/help/uiautomator/UiObject.html"><span class="en">UiObject</span></a></li>

Completed in 220 milliseconds