Home
last modified time | relevance | path

Searched refs:contentDescription (Results 1 – 6 of 6) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java253 final String contentDescription = mActivity.getString(R.string.contentDescription); in testImageSpan_accessibilityServiceShouldSeeContentDescription() local
254 imageSpan.setContentDescription(contentDescription); in testImageSpan_accessibilityServiceShouldSeeContentDescription()
263 assertEquals(contentDescription, replacementSpanFromA11y.getContentDescription()); in testImageSpan_accessibilityServiceShouldSeeContentDescription()
DAccessibilityWindowQueryTest.java187 .findAccessibilityNodeInfosByText(mActivity.getString(R.string.contentDescription)) in testFindByContentDescription()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DCheckoutActivityTest.java359 final String contentDescription = image.getContentDescription();
361 assertThat(contentDescription).isEqualTo("One image is worth thousand words");
363 assertThat(contentDescription).isNull();
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java468 public UiObject2 assertShownByContentDescription(String contentDescription) throws Exception { in assertShownByContentDescription() argument
469 final UiObject2 object = waitForObject(By.desc(contentDescription)); in assertShownByContentDescription()
470 assertWithMessage("No node with content description '%s'", contentDescription).that(object) in assertShownByContentDescription()
/cts/tests/app/src/android/app/cts/
DNotificationTest.java915 final String contentDescription = "content description"; in testNotification_isBigPictureStyle_pictureContentDescriptionSet() local
918 .setContentDescription(contentDescription); in testNotification_isBigPictureStyle_pictureContentDescriptionSet()
927 assertEquals(contentDescription, notificationContentDescription); in testNotification_isBigPictureStyle_pictureContentDescriptionSet()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java209 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription() local
210 mRemoteViews.setContentDescription(R.id.remoteView_frame, contentDescription); in testSetContentDescription()
212 assertTrue(TextUtils.equals(contentDescription, view.getContentDescription())); in testSetContentDescription()