/developers/samples/android/ui/views/EffectiveNavigation/app/src/androidTest/java/com/example/android/effectivenavigation/ |
D | MainActivityTest.java | 22 import static android.support.test.espresso.assertion.ViewAssertions.matches; 46 onView(withId(R.id.toolbar)).check(matches(isDisplayed())); in checkPreconditions() 47 onView(withId(R.id.pager)).check(matches(isDisplayed())); in checkPreconditions() 48 onView(withId(R.id.tabs)).check(matches(isDisplayed())); in checkPreconditions() 49 onView(withId(R.id.demo_collection_button)).check(matches(isDisplayed())); in checkPreconditions() 50 onView(withId(R.id.demo_external_activity)).check(matches(isDisplayed())); in checkPreconditions() 55 onView(withText("Section 2 is just a dummy section.")).check(matches(not(isDisplayed()))); in clickTabToChangeSection() 56 onView(withText("Section 2")).perform(click()).check(matches(isSelected())); in clickTabToChangeSection() 57 onView(withText("Section 2 is just a dummy section.")).check(matches(isDisplayed())); in clickTabToChangeSection() 62 onView(withText("Section 2 is just a dummy section.")).check(matches(not(isDisplayed()))); in swipeToChangeSection() [all …]
|
D | CollectionDemoActivityTest.java | 22 import static android.support.test.espresso.assertion.ViewAssertions.matches; 46 onView(withText("2")).check(matches(not(isDisplayed()))); in clickTabToChangeSection() 47 onView(withText("Page 2")).perform(click()).check(matches(isSelected())); in clickTabToChangeSection() 48 onView(withText("2")).check(matches(isDisplayed())); in clickTabToChangeSection() 53 onView(withText("1")).check(matches(isDisplayed())); in swipeToChangeSection() 55 onView(withText("2")).check(matches(isDisplayed())); in swipeToChangeSection() 56 onView(withText("Page 2")).check(matches(isSelected())); in swipeToChangeSection()
|
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/androidTest/java/com/example/android/pdfrendererbasic/ |
D | PdfRendererBasicTest.java | 29 import static androidx.test.espresso.assertion.ViewAssertions.matches; 50 onView(withId(R.id.image)).check(matches(isDisplayed())); in integration() 51 onView(withId(R.id.previous)).check(matches(allOf(isDisplayed(), not(isEnabled())))); in integration() 52 onView(withId(R.id.next)).check(matches(allOf(isDisplayed(), isEnabled()))); in integration() 53 onView(withText("PdfRendererBasic (1/10)")).check(matches(isDisplayed())); in integration() 55 onView(withText("PdfRendererBasic (2/10)")).check(matches(isDisplayed())); in integration() 56 onView(withId(R.id.previous)).check(matches(allOf(isDisplayed(), isEnabled()))); in integration() 57 onView(withId(R.id.next)).check(matches(allOf(isDisplayed(), isEnabled()))); in integration() 61 onView(withText("PdfRendererBasic (10/10)")).check(matches(isDisplayed())); in integration() 62 onView(withId(R.id.previous)).check(matches(allOf(isDisplayed(), isEnabled()))); in integration() [all …]
|
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/androidTest/java/ |
D | LaunchTests.java | 20 import static android.support.test.espresso.assertion.ViewAssertions.matches; 52 .check(matches(withText(R.string.activity_description_basic))); in testLaunchBasicActivity() 62 .check(matches(withText(R.string.activity_description_unresizable))); in testLaunchUnresizableActivity() 73 .check(matches(withText(R.string.activity_adjacent_description))); in testLaunchAdjacentActivity() 83 .check(matches(withText(R.string.activity_custom_description))); in testLaunchCustomConfigurationActivity() 94 .check(matches(withText(R.string.activity_minimum_description))); in testLaunchMinimumSizeActivity() 104 .check(matches(withText(R.string.activity_bounds_description))); in testLaunchBoundsActivity()
|
/developers/samples/android/notification/Bubbles/app/src/androidTest/java/com/example/android/bubbles/ |
D | MainActivityTest.kt | 21 import androidx.test.espresso.assertion.ViewAssertions.matches 36 .check(matches(isDisplayed())) in navigateToChatFragment() 38 onView(withHint("Type a message…")).check(matches(isDisplayed())) in navigateToChatFragment()
|
D | BubbleActivityTest.kt | 24 import androidx.test.espresso.assertion.ViewAssertions.matches 41 onView(withHint("Type a message…")).check(matches(isDisplayed())) in showsChatFragment()
|
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/ |
D | MainActivityTest.kt | 25 import android.support.test.espresso.assertion.ViewAssertions.matches 56 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip() 76 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume() 80 onView(withId(R.id.movie)).check(matches(not(isPlaying()))) in movie_pauseAndResume() 83 onView(withId(R.id.movie)).check(matches(isPlaying())) in movie_pauseAndResume()
|
D | MediaSessionPlaybackActivityTest.kt | 25 import android.support.test.espresso.assertion.ViewAssertions.matches 59 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip() 82 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume() 86 onView(withId(R.id.movie)).check(matches(not(isPlaying()))) in movie_pauseAndResume() 91 onView(withId(R.id.movie)).check(matches(isPlaying())) in movie_pauseAndResume()
|
/developers/samples/android/views/EmojiCompat/kotlinApp/app/src/androidTest/java/com/example/android/emojicompat/ |
D | MainActivityTest.kt | 20 import androidx.test.espresso.assertion.ViewAssertions.matches 43 onView(withText(text)).check(matches(isDisplayed())) in allTextsDisplayed()
|
/developers/samples/android/media/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/ |
D | MainActivityTest.java | 21 import static android.support.test.espresso.assertion.ViewAssertions.matches; 60 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip() 83 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume() 87 onView(withId(R.id.movie)).check(matches((not(isPlaying())))); in movie_pauseAndResume() 90 onView(withId(R.id.movie)).check(matches(isPlaying())); in movie_pauseAndResume()
|
D | MediaSessionPlaybackActivityTest.java | 40 import static android.support.test.espresso.assertion.ViewAssertions.matches; 64 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip() 90 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume() 94 onView(withId(R.id.movie)).check(matches((not(isPlaying())))); in movie_pauseAndResume() 99 onView(withId(R.id.movie)).check(matches(isPlaying())); in movie_pauseAndResume()
|
/developers/samples/android/views/EmojiCompat/app/src/androidTest/java/com/example/android/emojicompat/ |
D | MainActivityTest.java | 20 import static android.support.test.espresso.assertion.ViewAssertions.matches; 52 onView(withText(text)).check(matches(isDisplayed())); in allTextsDisplayed()
|
/developers/build/templates/base-application/_MODULE_/ |
D | build.gradle.ftl | 44 <#if sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 7> 46 <#elseif sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 13>
|
/developers/build/templates/base/_MODULE_/ |
D | build.gradle.ftl | 45 <#if sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 7> 48 <#elseif sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 13>
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/ |
D | Util.java | 227 if (filter.matches(node, id)) { in findNodeByFilter() 310 boolean matches(ViewNode node, Object id); in matches() method
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
D | AppListFragment.java | 102 if (p.matcher(application.label).matches()) { in setFilterQuery()
|
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/ |
D | ApplyTemplates.groovy | 148 if (extensionMatch.matches()) {
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | MainActivity.java | 251 if (filename.matches(".*\\.(m4v|mp4)")) { in onCreate()
|