/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
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()); in assertStripInteraction() 54 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction() 58 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction() 65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction() 69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click()); in assertStripInteraction()
|
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()); in assertStripInteraction() 55 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction() 61 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction() 65 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction() 69 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click()); in assertStripInteraction()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverActivityTest.java | 43 import static android.support.test.espresso.action.ViewActions.click; 95 .perform(click()); in twoOptionsAndUserSelectsOne() 97 .perform(click()); in twoOptionsAndUserSelectsOne() 127 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivity() 162 .perform(click()); in hasOtherProfileOneOption() 164 .perform(click()); in hasOtherProfileOneOption() 203 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne() 204 onView(withId(R.id.button_once)).perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne() 248 .perform(click()); in hasLastChosenActivityAndOtherProfile() 249 onView(withId(R.id.button_once)).perform(click()); in hasLastChosenActivityAndOtherProfile()
|
D | ChooserActivityTest.java | 42 import static android.support.test.espresso.action.ViewActions.click; 121 .perform(click()); in twoOptionsAndUserSelectsOne() 147 .perform(click()); in updateChooserCountsAndModelAfterUserSelection() 230 .perform(click()); in hasOtherProfileOneOption() 269 .perform(click()); in hasOtherProfileTwoOptionsAndUserSelectsOne() 306 .perform(click()); in hasLastChosenActivityAndOtherProfile()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | AlertDialogTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 163 onView(withId(R.id.test_button)).perform(click()); in testBasicContent() 194 onView(withId(R.id.test_button)).perform(click()); in testMessageString() 209 onView(withId(R.id.test_button)).perform(click()); in testMessageStringPostCreation() 263 onView(withId(R.id.test_button)).perform(click()); in testCustomTitle() 291 onView(withId(R.id.test_button)).perform(click()); in testCustomTitlePostCreation() 332 onView(withId(R.id.test_button)).perform(click()); in testCustomView() 347 onView(withId(R.id.test_button)).perform(click()); in testCustomViewById() 375 onView(withId(R.id.test_button)).perform(click()); in testCustomViewPostCreation() 394 onView(withId(R.id.test_button)).perform(click()); in testCancelCancelableDialog() [all …]
|
D | AlertDialogCursorTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 171 onView(withId(R.id.test_button)).perform(click()); in verifySimpleItemsContent() 197 interactionForClick.inRoot(isDialog()).perform(click()); in verifySimpleItemsContent() 258 onView(withId(R.id.test_button)).perform(click()); in verifyMultiChoiceItemsContent() 278 interactionForClick.inRoot(isDialog()).perform(click()); in verifyMultiChoiceItemsContent() 284 interactionForClick.inRoot(isDialog()).perform(click()); in verifyMultiChoiceItemsContent() 295 interactionForClick.inRoot(isDialog()).perform(click()); in verifyMultiChoiceItemsContent() 376 onView(withId(R.id.test_button)).perform(click()); in verifySingleChoiceItemsContent() 389 interactionForClick.inRoot(isDialog()).perform(click()); in verifySingleChoiceItemsContent() 394 interactionForClick.inRoot(isDialog()).perform(click()); in verifySingleChoiceItemsContent() [all …]
|
D | BaseKeyEventsTestCase.java | 20 import static android.support.test.espresso.action.ViewActions.click; 118 onView(withId(R.id.action_search)).perform(click()); in testBackCollapsesActionView()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | UiBot.java | 79 click(notification, "bug report notification"); in clickOnNotification() 143 public void click(UiObject uiObject, String description) { in click() method in UiBot 145 boolean clicked = uiObject.click(); in click() 166 click(activity, name); in chooseActivity()
|
D | BugreportReceiverTest.java | 583 mUiBot.click(dontShowAgain, "dont-show-again"); in bugreportFinishedWithWarningTest() 590 mUiBot.click(dontShowAgain, "dont-show-again"); in bugreportFinishedWithWarningTest() 593 mUiBot.click(ok, "ok"); in bugreportFinishedWithWarningTest() 669 mUiBot.click(cancelButton, "cancel_button"); in cancelFromNotification() 1027 mUiBot.click(screenshotButton, "screenshot_button"); in takeScreenshot() 1109 mUiBot.click(detailsButton, "details_button"); in DetailsUi() 1111 mUiBot.click(notification, "notification"); in DetailsUi() 1146 mUiBot.click(nameField, "name_field"); in focusOnName() 1154 mUiBot.click(titleField, "title_field"); // Change focus. in focusAwayFromName() 1160 mUiBot.click(detailsButton, "details_button"); in reOpen() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SuggestionsPopupWindowTest.java | 22 import static android.support.test.espresso.action.ViewActions.click; 88 onView(withId(R.id.textview)).perform(click()); in testOnTextContextMenuItem() 106 onView(withId(R.id.textview)).perform(click()); in testSelectionActionMode() 128 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode() 136 onHandleView(com.android.internal.R.id.insertion_handle).perform(click()); in testInsertionActionMode() 157 onView(withId(R.id.textview)).perform(click()); in testSuggestionItems() 195 onView(withId(R.id.textview)).perform(click()); in testMisspelled() 222 onView(withId(R.id.textview)).perform(click()); in testEasyCorrect() 289 onView(withId(R.id.textview)).perform(click()); in testTextAppearanceInSuggestionsPopup()
|
D | EditorCursorTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 76 onView(sameInstance(mEditText)).perform(click()); in setUp()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | PopupMenuTest.java | 20 import static android.support.test.espresso.action.ViewActions.click; 127 onView(withId(R.id.test_button)).perform(click()); in testBasicContent() 314 onView(withId(R.id.test_button)).perform(click()); 348 onView(withId(R.id.test_button)).perform(click()); 372 onView(withId(R.id.test_button)).perform(click()); 428 onView(withId(R.id.test_button)).perform(click()); 435 .perform(click()); 451 onView(withId(R.id.test_button)).perform(click()); 477 onView(withId(R.id.test_button)).perform(click()); 484 .perform(click()); [all …]
|
D | AppCompatSpinnerTest.java | 19 import static android.support.test.espresso.action.ViewActions.click; 69 onView(withId(spinnerId)).perform(click()); in verifySpinnerPopupTheming() 89 onView(withText(itemText)).perform(click()); in verifySpinnerPopupTheming()
|
D | ListPopupWindowTest.java | 19 import static android.support.test.espresso.action.ViewActions.click; 112 onView(withId(R.id.test_button)).perform(click()); in testBasicContent() 141 onView(withId(R.id.test_button)).perform(click()); in testAnchoring() 166 onView(withId(R.id.test_button)).perform(click()); in testDismissalViaAPI() 194 onView(withId(R.id.test_button)).perform(click()); in testDismissalViaTouch() 270 onView(withId(R.id.test_button)).perform(click()); in testItemClickViaEvent() 280 .perform(click()); in testItemClickViaEvent() 297 onView(withId(R.id.test_button)).perform(click()); in testItemClickViaAPI()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomNavigationViewTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 130 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationSelectionListener() 139 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationSelectionListener() 149 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationSelectionListener() 163 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationSelectionListener() 229 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationReselectionListener() 237 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationReselectionListener() 253 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationReselectionListener() 264 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationReselectionListener() 277 isDescendantOfA(withId(R.id.bottom_navigation)), isDisplayed())).perform(click()); in testNavigationReselectionListener() [all …]
|
D | BottomSheetDialogTest.java | 85 .perform(ViewActions.click()); in testBasicDialogSetup() 113 .perform(ViewActions.click()); in testTouchInside() 144 .perform(ViewActions.click()); in testClickContent() 192 .perform(ViewActions.click()); in testNonCancelableDialog()
|
D | NavigationViewTest.java | 40 import static android.support.test.espresso.action.ViewActions.click; 423 .perform(click()) in testHeaderState() 459 .perform(click()) // Check it in testActionViewState() 489 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); in testNavigationSelectionListener() 501 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); in testNavigationSelectionListener() 515 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); in testNavigationSelectionListener() 593 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); in testCheckedAppearance() 610 isDescendantOfA(withId(R.id.start_drawer)))).perform(click()); in testCheckedAppearance() 644 onView(menuItemMatcher).perform(click()); in testActionLayout() 655 onView(customItemMatcher).perform(click()); in testActionLayout()
|
D | SnackbarTest.java | 21 import static android.support.test.espresso.action.ViewActions.click; 194 click(), in testDismissViaActionClick() 320 onView(withId(R.id.snackbar_action)).perform(click()); in testActionClickListener()
|
D | BottomSheetBehaviorTouchTest.java | 94 .perform(ViewActions.click()) // Click outside the bottom sheet in testTouchCoordinatorLayout()
|
D | FloatingActionButtonTest.java | 36 import static android.support.test.espresso.action.ViewActions.click; 257 onView(withId(R.id.fab_standard)).perform(click()); in testOnClickListener()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | FloatingToolbarEspressoUtils.java | 20 import static android.support.test.espresso.action.ViewActions.click; 101 .perform(click()); in toggleOverflow() 226 onFloatingToolBarItem(withText(itemLabel)).perform(click()); in clickFloatingToolbarItem()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileBaseView.java | 108 init(v -> tile.click(), v -> tile.secondaryClick(), view -> { in init() 114 public void init(OnClickListener click, OnClickListener secondaryClick, in init() argument 116 setOnClickListener(click); in init()
|
D | QSTileView.java | 120 public void init(OnClickListener click, OnClickListener secondaryClick, in init() argument 122 super.init(click, secondaryClick, longClick); in init()
|
/frameworks/support/ |
D | README.md | 28 If you get “Unregistered VCS root detected” click “Add root” to enable git integration for Android … 42 2. Right-click on a test class or @Test method name and select `Run FooBarTest` 47 3. Right-click on the directory and select `Run android.support.foobar`
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GestureDescriptionTest.java | 44 PointF click = new PointF(10, 20); in testGestureShorterThanSampleRate_producesStartAndEnd() local 46 clickPath.moveTo(click.x, click.y); in testGestureShorterThanSampleRate_producesStartAndEnd() 57 numEndsOfStroke(0), hasPoint(click))); in testGestureShorterThanSampleRate_producesStartAndEnd() 59 numEndsOfStroke(1), hasPoint(click))); in testGestureShorterThanSampleRate_producesStartAndEnd()
|