Searched refs:contentDescription (Results 1 – 9 of 9) sorted by relevance
42 public static Icon createSmartspaceIcon(String contentDescription) { in createSmartspaceIcon() argument45 return new Icon.Builder(icon).setContentDescription(contentDescription).build(); in createSmartspaceIcon()
261 final String contentDescription = mActivity.getString(R.string.contentDescription); in testImageSpan_accessibilityServiceShouldSeeContentDescription() local262 imageSpan.setContentDescription(contentDescription); in testImageSpan_accessibilityServiceShouldSeeContentDescription()271 assertEquals(contentDescription, replacementSpanFromA11y.getContentDescription()); in testImageSpan_accessibilityServiceShouldSeeContentDescription()
196 .findAccessibilityNodeInfosByText(mActivity.getString(R.string.contentDescription)) in testFindByContentDescription()
61 contentDescription = "name filter" // Do not change: used in the tests. in <lambda>()
361 final String contentDescription = image.getContentDescription();363 assertThat(contentDescription).isEqualTo("One image is worth thousand words");365 assertThat(contentDescription).isNull();
497 public UiObject2 assertShownByContentDescription(String contentDescription) throws Exception { in assertShownByContentDescription() argument498 final UiObject2 object = waitForObject(By.desc(contentDescription)); in assertShownByContentDescription()499 assertWithMessage("No node with content description '%s'", contentDescription).that(object) in assertShownByContentDescription()
1003 final String contentDescription = "content description"; in testNotification_isBigPictureStyle_pictureContentDescriptionSet() local1006 .setContentDescription(contentDescription); in testNotification_isBigPictureStyle_pictureContentDescriptionSet()1015 assertEquals(contentDescription, notificationContentDescription); in testNotification_isBigPictureStyle_pictureContentDescriptionSet()
244 CharSequence contentDescription = mContext.getString(R.string.remote_content_description); in testSetContentDescription() local245 mRemoteViews.setContentDescription(R.id.remoteView_frame, contentDescription); in testSetContentDescription()247 assertTrue(TextUtils.equals(contentDescription, view.getContentDescription())); in testSetContentDescription()
654 field public static final int contentDescription = 16843379; // 0x1010273