Searched refs:contentDescription (Results 1 – 6 of 6) sorted by relevance
253 final String contentDescription = mActivity.getString(R.string.contentDescription); in testImageSpan_accessibilityServiceShouldSeeContentDescription() local254 imageSpan.setContentDescription(contentDescription); in testImageSpan_accessibilityServiceShouldSeeContentDescription()263 assertEquals(contentDescription, replacementSpanFromA11y.getContentDescription()); in testImageSpan_accessibilityServiceShouldSeeContentDescription()
187 .findAccessibilityNodeInfosByText(mActivity.getString(R.string.contentDescription)) in testFindByContentDescription()
359 final String contentDescription = image.getContentDescription();361 assertThat(contentDescription).isEqualTo("One image is worth thousand words");363 assertThat(contentDescription).isNull();
468 public UiObject2 assertShownByContentDescription(String contentDescription) throws Exception { in assertShownByContentDescription() argument469 final UiObject2 object = waitForObject(By.desc(contentDescription)); in assertShownByContentDescription()470 assertWithMessage("No node with content description '%s'", contentDescription).that(object) in assertShownByContentDescription()
915 final String contentDescription = "content description"; in testNotification_isBigPictureStyle_pictureContentDescriptionSet() local918 .setContentDescription(contentDescription); in testNotification_isBigPictureStyle_pictureContentDescriptionSet()927 assertEquals(contentDescription, notificationContentDescription); in testNotification_isBigPictureStyle_pictureContentDescriptionSet()
209 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription() local210 mRemoteViews.setContentDescription(R.id.remoteView_frame, contentDescription); in testSetContentDescription()212 assertTrue(TextUtils.equals(contentDescription, view.getContentDescription())); in testSetContentDescription()