Home
last modified time | relevance | path

Searched refs:isDisplayed (Results 1 – 13 of 13) sorted by relevance

/developers/samples/android/ui/views/EffectiveNavigation/app/src/androidTest/java/com/example/android/effectivenavigation/
DMainActivityTest.java23 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
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()
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()
64 onView(withText("Section 2 is just a dummy section.")).check(matches(isDisplayed())); in swipeToChangeSection()
[all …]
DCollectionDemoActivityTest.java23 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
46 onView(withText("2")).check(matches(not(isDisplayed()))); 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()
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/androidTest/java/com/example/android/pdfrendererbasic/
DPdfRendererBasicTest.java30 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
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/notification/Bubbles/app/src/androidTest/java/com/example/android/bubbles/
DMainActivityTest.kt22 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
36 .check(matches(isDisplayed())) in navigateToChatFragment()
38 onView(withHint("Type a message…")).check(matches(isDisplayed())) in navigateToChatFragment()
DBubbleActivityTest.kt25 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
41 onView(withHint("Type a message…")).check(matches(isDisplayed())) in showsChatFragment()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
DRecyclingImageView.java76 private static void notifyDrawable(Drawable drawable, final boolean isDisplayed) { in notifyDrawable() argument
79 ((RecyclingBitmapDrawable) drawable).setIsDisplayed(isDisplayed); in notifyDrawable()
84 notifyDrawable(layerDrawable.getDrawable(i), isDisplayed); in notifyDrawable() local
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DRecyclingBitmapDrawable.java51 public void setIsDisplayed(boolean isDisplayed) { in setIsDisplayed() argument
54 if (isDisplayed) { in setIsDisplayed()
/developers/samples/android/views/EmojiCompat/kotlinApp/app/src/androidTest/java/com/example/android/emojicompat/
DMainActivityTest.kt21 import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
43 onView(withText(text)).check(matches(isDisplayed())) in allTextsDisplayed()
/developers/samples/android/views/EmojiCompat/app/src/androidTest/java/com/example/android/emojicompat/
DMainActivityTest.java21 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
52 onView(withText(text)).check(matches(isDisplayed())); in allTextsDisplayed()
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/
DMainActivityTest.kt27 import android.support.test.espresso.matcher.ViewMatchers.isDisplayed
56 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip()
76 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume()
DMediaSessionPlaybackActivityTest.kt27 import android.support.test.espresso.matcher.ViewMatchers.isDisplayed
59 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip()
82 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume()
/developers/samples/android/media/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/
DMainActivityTest.java23 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
60 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip()
83 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume()
DMediaSessionPlaybackActivityTest.java42 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
64 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_playingOnPip()
90 .check(matches(allOf(isDisplayed(), isPlaying()))) in movie_pauseAndResume()