Lines Matching refs:label
63 for (String label : labels) {
64 if (!findDocument(label).exists()) {
65 absent.add(label);
76 for (String label : labels) {
77 if (findDocument(label).exists()) {
78 found.add(label);
114 public void openDocument(String label) throws UiObjectNotFoundException {
117 UiObject doc = findDocument(label);
122 public void clickDocument(String label) throws UiObjectNotFoundException {
123 findDocument(label).click();
126 public UiObject selectDocument(String label) throws UiObjectNotFoundException {
127 UiObject doc = findDocument(label);
145 public void waitForDocument(String label) throws UiObjectNotFoundException {
146 findDocument(label).waitForExists(mTimeout);
149 public UiObject findDocument(String label) throws UiObjectNotFoundException {
157 // new UiScrollable(docList).scrollIntoView(new UiSelector().text(label));
158 return mDevice.findObject(docList.childSelector(new UiSelector().text(label)));
162 for (String label : labels) {
163 if (!findDocument(label).exists()) {