/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | ViewPagerWithTabStripTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 50 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 54 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 58 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
|
H A D | ViewPagerWithTitleStripTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 51 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 55 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 61 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); 65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); 69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click());
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | ResolverActivityTest.java | 43 import static android.support.test.espresso.action.ViewActions.click; 95 .perform(click()); 97 .perform(click()); 127 onView(withId(R.id.button_once)).perform(click()); 162 .perform(click()); 164 .perform(click()); 203 .perform(click()); 204 onView(withId(R.id.button_once)).perform(click()); 248 .perform(click()); 249 onView(withId(R.id.button_once)).perform(click()); [all...] |
H A D | ChooserActivityTest.java | 42 import static android.support.test.espresso.action.ViewActions.click; 121 .perform(click()); 147 .perform(click()); 230 .perform(click()); 269 .perform(click()); 306 .perform(click());
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 79 click(notification, "bug report notification"); 143 public void click(UiObject uiObject, String description) { method in class:UiBot 145 boolean clicked = uiObject.click(); 146 // TODO: assertion below fails sometimes, even though the click succeeded, 148 // assertTrue("could not click on object '" + description + "'", clicked); 166 click(activity, name);
|
H A D | BugreportReceiverTest.java | 569 // Send notification and click on share. 583 mUiBot.click(dontShowAgain, "dont-show-again"); 590 mUiBot.click(dontShowAgain, "dont-show-again"); 593 mUiBot.click(ok, "ok"); 669 mUiBot.click(cancelButton, "cancel_button"); 1027 mUiBot.click(screenshotButton, "screenshot_button"); 1109 mUiBot.click(detailsButton, "details_button"); 1111 mUiBot.click(notification, "notification"); 1146 mUiBot.click(nameField, "name_field"); 1154 mUiBot.click(titleFiel [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
H A D | AlertDialogCursorTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 164 onView(withId(R.id.test_button)).perform(click()); 182 // Verify that our click listener hasn't been called yet 184 // Test that a click on an item invokes the registered listener 190 interactionForClick.inRoot(isDialog()).perform(click()); 251 onView(withId(R.id.test_button)).perform(click()); 264 // We're going to click item #1 and test that the click listener has been invoked to 271 interactionForClick.inRoot(isDialog()).perform(click()); 274 // Now click ite [all...] |
H A D | AlertDialogTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 158 onView(withId(R.id.test_button)).perform(click()); 189 onView(withId(R.id.test_button)).perform(click()); 204 onView(withId(R.id.test_button)).perform(click()); 258 onView(withId(R.id.test_button)).perform(click()); 286 onView(withId(R.id.test_button)).perform(click()); 327 onView(withId(R.id.test_button)).perform(click()); 342 onView(withId(R.id.test_button)).perform(click()); 370 onView(withId(R.id.test_button)).perform(click()); 389 onView(withId(R.id.test_button)).perform(click()); [all...] |
H A D | BaseKeyEventsTestCase.java | 20 import static android.support.test.espresso.action.ViewActions.click; 100 onView(withId(R.id.action_search)).perform(click());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewActivityMouseTest.java | 38 import static android.support.test.espresso.action.ViewActions.click; 70 onView(withId(R.id.textview)).perform(click()); 94 onView(withId(R.id.textview)).perform(click()); 105 onView(withId(R.id.textview)).perform(click()); 156 onView(withId(R.id.textview)).perform(click()); 173 onView(withId(R.id.textview)).perform(click()); 190 onView(withId(R.id.textview)).perform(click()); 215 onView(withId(R.id.textview)).perform(click()); 240 onView(withId(R.id.textview)).perform(click()); 251 onView(withId(R.id.textview)).perform(click()); [all...] |
H A D | SuggestionsPopupWindowTest.java | 22 import static android.support.test.espresso.action.ViewActions.click; 88 onView(withId(R.id.textview)).perform(click()); 106 onView(withId(R.id.textview)).perform(click()); 128 onView(withId(R.id.textview)).perform(click()); 136 onHandleView(com.android.internal.R.id.insertion_handle).perform(click()); 157 onView(withId(R.id.textview)).perform(click()); 195 onView(withId(R.id.textview)).perform(click()); 222 onView(withId(R.id.textview)).perform(click()); 289 onView(withId(R.id.textview)).perform(click());
|
H A D | EditorCursorTest.java | 28 import static android.support.test.espresso.action.ViewActions.click; 79 onView(sameInstance(mEditText)).perform(click());
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | AppCompatSpinnerTest.java | 19 import static android.support.test.espresso.action.ViewActions.click; 69 onView(withId(spinnerId)).perform(click()); 89 onView(withText(itemText)).perform(click());
|
H A D | ListPopupWindowTest.java | 19 import static android.support.test.espresso.action.ViewActions.click; 77 * Item click listener that dismisses our <code>ListPopupWindow</code> when any item 107 onView(withId(R.id.test_button)).perform(click()); 136 onView(withId(R.id.test_button)).perform(click()); 161 onView(withId(R.id.test_button)).perform(click()); 180 // Also register a click listener on the top-level container 184 onView(withId(R.id.test_button)).perform(click()); 235 assertFalse("Popup window not showing after outside click", mListPopupWindow.isShowing()); 237 // Also test that the click outside the popup bounds has been "delivered" to the main 260 onView(withId(R.id.test_button)).perform(click()); [all...] |
H A D | PopupMenuTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 123 onView(withId(R.id.test_button)).perform(click()); 311 onView(withId(R.id.test_button)).perform(click()); 334 onView(withId(R.id.test_button)).perform(click()); 358 onView(withId(R.id.test_button)).perform(click()); 414 onView(withId(R.id.test_button)).perform(click()); 416 // Verify that our menu item click listener hasn't been called yet 421 .perform(click()); 423 // Verify that out menu item click listener has been called with the expected menu item 437 onView(withId(R.id.test_button)).perform(click()); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileView.java | 120 public void init(OnClickListener click, OnClickListener secondaryClick, argument 122 super.init(click, secondaryClick, longClick);
|
H A D | QSTileBaseView.java | 108 init(v -> tile.click(), v -> tile.secondaryClick(), view -> { 114 public void init(OnClickListener click, OnClickListener secondaryClick, argument 116 setOnClickListener(click);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | BottomSheetDialogTest.java | 84 .perform(ViewActions.click()); 112 .perform(ViewActions.click()); 143 .perform(ViewActions.click()); 191 .perform(ViewActions.click());
|
H A D | BottomNavigationViewTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 129 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 130 // Verify our listener has been notified of the click 138 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 139 // Verify our listener has been notified of the click 148 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 149 // Verify our listener has been notified of the click 156 // Set null listener to test that the next click is not going to notify the 162 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); 163 // Verify that our previous listener has not been notified of the click [all...] |
H A D | NavigationViewTest.java | 40 import static android.support.test.espresso.action.ViewActions.click; 423 .perform(click()) 459 .perform(click()) // Check it 489 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); 491 assertTrue("Drawer is still open after click", 501 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); 503 assertTrue("Drawer is still open after click", 505 // And that our listener has been notified of the click 509 // Set null listener to test that the next click is not going to notify the 515 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); [all...] |
H A D | TextInputLayoutTest.java | 36 import static android.support.test.espresso.action.ViewActions.click; 169 // Now click the toggle button 170 onView(withId(R.id.text_input_password_toggle)).perform(click()); 207 // Now click the toggle button 208 onView(withId(R.id.text_input_password_toggle)).perform(click()); 253 // Type some text on the EditText and then click the toggle button 255 onView(withId(R.id.text_input_password_toggle)).perform(click()); 269 // First click on the EditText, so that it is focused and the hint collapses... 270 onView(withId(R.id.textinput_edittext)).perform(click()); 500 .perform(click()) [all...] |
H A D | BottomSheetBehaviorTouchTest.java | 94 .perform(ViewActions.click()) // Click outside the bottom sheet
|
H A D | SnackbarTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 192 click(), 315 // perform the action click 316 onView(withId(R.id.snackbar_action)).perform(click()); 317 // and verify that our click listener has been called
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | FloatingToolbarEspressoUtils.java | 20 import static android.support.test.espresso.action.ViewActions.click; 99 .perform(click()); 191 onFloatingToolBarItem(withText(itemLabel)).perform(click());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | GestureDescriptionTest.java | 44 PointF click = new PointF(10, 20); 46 clickPath.moveTo(click.x, click.y); 57 numEndsOfStroke(0), hasPoint(click))); 59 numEndsOfStroke(1), hasPoint(click)));
|