Home
last modified time | relevance | path

Searched refs:check (Results 1 – 24 of 24) sorted by relevance

/developers/samples/android/ui/views/EffectiveNavigation/app/src/androidTest/java/com/example/android/effectivenavigation/
DMainActivityTest.java46 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()
64 onView(withText("Section 2 is just a dummy section.")).check(matches(isDisplayed())); in swipeToChangeSection()
[all …]
DCollectionDemoActivityTest.java46 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/
DPdfRendererBasicTest.java50 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()
63 onView(withId(R.id.next)).check(matches(allOf(isDisplayed(), not(isEnabled())))); in integration()
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/androidTest/java/
DLaunchTests.java52 .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/
DMainActivityTest.kt36 .check(matches(isDisplayed())) in navigateToChatFragment()
38 onView(withHint("Type a message…")).check(matches(isDisplayed())) in navigateToChatFragment()
DBubbleActivityTest.kt41 onView(withHint("Type a message…")).check(matches(isDisplayed())) in showsChatFragment()
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/androidTest/java/com/example/android/pictureinpicture/
DMainActivityTest.kt56 .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()
DMediaSessionPlaybackActivityTest.kt59 .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/media/PictureInPicture/app/src/androidTest/java/com/example/android/pictureinpicture/
DMainActivityTest.java60 .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()
DMediaSessionPlaybackActivityTest.java64 .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/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/
DDalService.java27 Call<DalCheck> check(@Query("source.web.site") String webDomain, in check() method
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDigitalAssetLinksRepository.java115 mDalService.check(webDomain, PERMISSION_GET_LOGIN_CREDS, packageName, fingerprint).enqueue( in checkValid()
127 mDalService.check(webDomain, PERMISSION_HANDLE_ALL_URLS, in checkValid()
154 mDalService.check(webDomain, PERMISSION_HANDLE_ALL_URLS, packageName, in checkValid()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/settings/
DSettingsActivity.java130 loggingLevelContainer.check(R.id.loggingOff); in onCreate()
133 loggingLevelContainer.check(R.id.loggingDebug); in onCreate()
136 loggingLevelContainer.check(R.id.loggingVerbose); in onCreate()
156 dalCheckRequirementContainer.check(R.id.dalDisabled); in onCreate()
159 dalCheckRequirementContainer.check(R.id.dalLoginOnly); in onCreate()
162 dalCheckRequirementContainer.check(R.id.dalAllUrls); in onCreate()
/developers/samples/android/views/EmojiCompat/kotlinApp/app/src/androidTest/java/com/example/android/emojicompat/
DMainActivityTest.kt43 onView(withText(text)).check(matches(isDisplayed())) in allTextsDisplayed()
/developers/samples/android/views/EmojiCompat/app/src/androidTest/java/com/example/android/emojicompat/
DMainActivityTest.java52 onView(withText(text)).check(matches(isDisplayed())); in allTextsDisplayed()
/developers/build/templates/include/
Dcommon.ftl28 Also, there's no way to check if it's a number or not without spamming output with
49 Also, there's no way to check if it's a number or not without spamming output with
/developers/samples/android/connectivity/network/BasicNetworking/
DREADME.md5 This sample demonstrates how to check network connectivity with Android APIs.
/developers/samples/android/ui/lists/CustomChoiceList/
DREADME.md27 The framework provides these default list item layouts that show standard radio buttons or check bo…
/developers/samples/android/
Dbuild.gradle138 "check",
/developers/samples/android/system/RuntimePermissions/kotlinApp/
DREADME.md6 It shows how to check and request permissions at runtime, handle backwards compatibility using the
/developers/samples/android/ui/text/TextStyling-Kotlin/
DREADME.md17 To see how to apply one or multiple spans on a string, check out [`MarkdownBuilder.buildElement`](h…
/developers/samples/android/ui/text/TextStyling-Java/
DREADME.md17 To see how to apply a span, check out [`MarkdownBuilder.buildCodeBlockSpan`](https://github.com/goo…
/developers/samples/android/media/BasicMediaDecoder/
DREADME.md35 9. In `onTimeUpdate`, check if the media track has reached the end of stream, using `getSampleFlags…
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/
DCardStreamLinearLayout.java.ftl333 //check the position of each view.
530 <#-- TODO(chansuk): check orientation value. -->