/frameworks/support/design/tests/src/android/support/design/widget/ |
D | NavigationViewTest.java | 48 import static org.hamcrest.core.AllOf.allOf; 102 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testBasics() 118 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextAppearance() 129 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextAppearance() 147 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextColor() 160 onView(allOf(withText(mMenuStringContent.get(MENU_CONTENT_ITEM_IDS[i])), in testTextColor() 183 Matcher menuItemMatcher = allOf( in testBackground() 199 Matcher menuItemMatcher = allOf( in testBackground() 215 Matcher menuItemMatcher = allOf( in testBackground() 288 onView(allOf(withText(mMenuStringContent.get(R.id.destination_home)), in testIconTinting() [all …]
|
D | BaseDynamicCoordinatorLayoutTest.java | 32 import static org.hamcrest.Matchers.allOf; 84 return allOf(isAssignableFrom(ViewStub.class), hasParent());
|
D | SnackbarTest.java | 40 import static org.hamcrest.core.AllOf.allOf; 72 withText(expectedMessage).matches(allOf( in verifySnackbarContent() 78 withText(expectedAction).matches(allOf( in verifySnackbarContent()
|
D | TabLayoutWithViewPagerTest.java | 47 import static org.hamcrest.Matchers.allOf; 436 onView(allOf(isDescendantOfA(withId(R.id.tabs)), withText("Title " + j))). in testFixedTabMode() 506 Matcher<View> tabMatcher = allOf( in verifyMinMaxTabWidth()
|
/frameworks/support/v4/tests/java/android/support/v4/view/ |
D | ViewPagerWithTabStripTest.java | 28 import static org.hamcrest.Matchers.allOf; 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 | 28 import static org.hamcrest.Matchers.allOf; 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()
|
D | BaseViewPagerTest.java | 51 import static org.hamcrest.Matchers.allOf; 341 onView(withId(R.id.page_0)).check(matches(allOf( in verifyPageContent() 353 onView(withId(R.id.page_1)).check(matches(allOf( in verifyPageContent() 366 onView(withId(R.id.page_2)).check(matches(allOf( in verifyPageContent() 403 onView(withId(R.id.page_0)).check(matches(allOf( in verifyAdapterChange() 417 onView(withId(R.id.page_1)).check(matches(allOf( in verifyAdapterChange() 431 onView(withId(R.id.page_2)).check(matches(allOf( in verifyAdapterChange() 445 onView(withId(R.id.page_3)).check(matches(allOf( in verifyAdapterChange() 489 allOf(withText(expectedStartTitle), isDisplayed(), startAlignedToParent())))); in verifyTitleStripLayout() 494 allOf(withText(expectedSelectedTitle), isDisplayed(), centerAlignedInParent())))); in verifyTitleStripLayout() [all …]
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | AppCompatTintableViewActions.java | 34 import static org.hamcrest.core.AllOf.allOf; 45 return allOf(isDisplayingAtLeast(90), TestUtilsMatchers.isTintableBackgroundView()); in setEnabled() 72 return allOf(isDisplayed(), TestUtilsMatchers.isTintableBackgroundView()); 100 return allOf(isDisplayed(), TestUtilsMatchers.isTintableBackgroundView()); 128 return allOf(TestUtilsMatchers.isTintableBackgroundView()); 155 return allOf(TestUtilsMatchers.isTintableBackgroundView());
|
D | TestUtilsActions.java | 31 import static org.hamcrest.core.AllOf.allOf; 67 return allOf(isDisplayingAtLeast(90), isAssignableFrom(TextView.class));
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | AlertDialogCursorTest.java | 49 import static org.hamcrest.core.AllOf.allOf; 165 DataInteraction rowInteraction = onData(allOf( in verifySimpleItemsContent() 175 DataInteraction interactionForClick = onData(allOf( in verifySimpleItemsContent() 225 DataInteraction rowInteraction = onData(allOf( in verifyMultiChoiceItemsState() 229 check(matches(allOf( in verifyMultiChoiceItemsState() 258 DataInteraction interactionForClick = onData(allOf( in verifyMultiChoiceItemsContent() 274 interactionForClick = onData(allOf( in verifyMultiChoiceItemsContent() 342 DataInteraction rowInteraction = onData(allOf( in verifySingleChoiceItemsState() 346 check(matches(allOf( in verifySingleChoiceItemsState() 368 DataInteraction interactionForClick = onData(allOf( in verifySingleChoiceItemsContent() [all …]
|
D | AlertDialogTest.java | 59 import static org.hamcrest.core.AllOf.allOf; 410 onData(allOf(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()). in verifySimpleItemsContent() 418 onData(allOf(is(instanceOf(String.class)), is(expectedContent[indexToClick]))). in verifySimpleItemsContent() 496 onData(allOf(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()). in verifyMultiChoiceItemsState() 497 check(matches(allOf( in verifyMultiChoiceItemsState() 529 onData(allOf(is(instanceOf(String.class)), is(expectedContent[1]))). in verifyMultiChoiceItemsContent() 536 onData(allOf(is(instanceOf(String.class)), is(expectedContent[1]))). in verifyMultiChoiceItemsContent() 544 onData(allOf(is(instanceOf(String.class)), is(expectedContent[expectedCount - 1]))). in verifyMultiChoiceItemsContent() 623 onData(allOf(is(instanceOf(String.class)), is(expectedContent[i]))).inRoot(isDialog()). in verifySingleChoiceItemsState() 624 check(matches(allOf( in verifySingleChoiceItemsState() [all …]
|
D | DrawerDynamicLayoutTest.java | 38 import static org.hamcrest.core.AllOf.allOf; 89 return allOf(isAssignableFrom(ViewStub.class), hasParent());
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | PopupMenuTest.java | 55 import static org.hamcrest.Matchers.allOf; 435 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus())) 444 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus())) 447 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus())) 452 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus())) 500 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus())) 509 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus())) 512 .inRoot(allOf(withDecorView(not(is(mMainDecorView))), hasWindowFocus()))
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragHandleUtils.java | 26 import static org.hamcrest.Matchers.allOf; 55 return onView(allOf(withId(id), isAssignableFrom(Editor.HandleView.class))) in onHandleView()
|
D | ContextMenuUtils.java | 28 import static org.hamcrest.Matchers.allOf; 85 hasDescendant(allOf( in asssertContextMenuContainsItemWithEnabledState()
|
D | FloatingToolbarEspressoUtils.java | 29 import static org.hamcrest.Matchers.allOf; 91 onView(allOf(withId(id), isDisplayed())) in toggleOverflow()
|
D | DragAction.java | 22 import static org.hamcrest.Matchers.allOf; 444 return allOf(isCompletelyDisplayed(), isAssignableFrom(mViewClass)); in getConstraints()
|
/frameworks/support/annotations/src/android/support/annotation/ |
D | RequiresPermission.java | 93 String[] allOf() default {}; in allOf() method
|
/frameworks/base/core/java/android/annotation/ |
D | RequiresPermission.java | 97 String[] allOf() default {}; in allOf() method
|
/frameworks/support/percent/tests/java/android/support/percent/ |
D | PercentDynamicLayoutTest.java | 36 import static org.hamcrest.core.AllOf.allOf; 85 return allOf(isAssignableFrom(ViewStub.class), hasParent());
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 126 @RequiresPermission(allOf = { 144 @RequiresPermission(allOf = {
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1540 @RequiresPermission( allOf = { 1556 @RequiresPermission( allOf = {
|
/frameworks/base/docs/html/training/testing/ui-testing/ |
D | espresso-testing.jd | 383 {@code allOf()} methods to combine multiple matchers, such as 387 onView(allOf(withId(R.id.button_signin), withText("Sign-in"))); 392 onView(allOf(withId(R.id.button_signin), not(withText("Sign-out")))); 452 onData(allOf(is(instanceOf(Map.class)),
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 671 @RequiresPermission(allOf = {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 199 return EnumSet.allOf(Capability.class); in getCapabilities()
|