/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInteractionControllerNodeRequestsTest.java | 205 assertEquals(ROOT_FRAME_LAYOUT_DESCRIPTION, infoSentToService.getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants() 212 assertEquals(TEXT_VIEW_1_DESCRIPTION, prefetchedNodes.get(0).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants() 213 assertEquals(TEXT_VIEW_2_DESCRIPTION, prefetchedNodes.get(1).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants() 214 assertEquals(CHILD_FRAME_DESCRIPTION, prefetchedNodes.get(2).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants() 215 assertEquals(TEXT_VIEW_3_DESCRIPTION, prefetchedNodes.get(3).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants() 216 assertEquals(TEXT_VIEW_4_DESCRIPTION, prefetchedNodes.get(4).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants() 240 assertEquals(TEXT_VIEW_1_DESCRIPTION, infoSentToService.getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent() 248 assertEquals(ROOT_FRAME_LAYOUT_DESCRIPTION, prefetchedNodes.get(0).getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent() 249 assertEquals(TEXT_VIEW_2_DESCRIPTION, prefetchedNodes.get(1).getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent() 250 assertEquals(CHILD_FRAME_DESCRIPTION, prefetchedNodes.get(2).getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegateTest.java | 61 assertFalse(TextUtils.isEmpty(ev.getContentDescription())); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc() 62 assertTrue(isAscii(ev.getContentDescription())); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc() 78 info.setContentDescription(mView.getContentDescription()); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText() 84 assertFalse(TextUtils.isEmpty(info.getContentDescription())); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText() 85 assertTrue(isAscii(info.getContentDescription())); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ExpandableIndicator.java | 37 setContentDescription(getContentDescription(mExpanded)); in onFinishInflate() 50 setContentDescription(getContentDescription(expanded)); in setExpanded() 69 private String getContentDescription(boolean expanded) { in getContentDescription() method in ExpandableIndicator
|
D | MultiUserSwitch.java | 47 if (!TextUtils.equals(getContentDescription(), text)) { in refreshContentDescription()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegate.java | 44 CharSequence text = event.getContentDescription(); in onInitializeAccessibilityEvent() 71 if (!TextUtils.isEmpty(info.getContentDescription())) { in onInitializeAccessibilityNodeInfo() 72 info.setContentDescription(replaceFancyColon(info.getContentDescription())); in onInitializeAccessibilityNodeInfo()
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 94 "LinkSpan description should be \"e\"", "e", event.getContentDescription().toString()); in testOnPopulateEventForVirtualView() 108 event.getContentDescription().toString()); in testOnPopulateEventForVirtualViewHost() 120 "LinkSpan description should be \"e\"", "e", info.getContentDescription().toString()); in testOnPopulateNodeForVirtualView() 159 "LinkSpan description should be \"כ\"", "כ", info.getContentDescription().toString()); in testRtlLayout() 185 info.getContentDescription().toString()); in testMultilineLink() 212 info.getContentDescription().toString()); in testRtlMultilineLink() 245 info.getContentDescription().toString()); in testBidiMultilineLink()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | EthernetSignalController.java | 52 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListeners() 59 public int getContentDescription() { in getContentDescription() method in EthernetSignalController
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | IconMixin.java | 97 public CharSequence getContentDescription() { in getContentDescription() method in IconMixin 99 return iconView != null ? iconView.getContentDescription() : null; in getContentDescription()
|
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/ |
D | BarView.java | 78 final CharSequence barViewInfoContent = barViewInfo.getContentDescription(); in updateView() 81 mIcon.setContentDescription(barViewInfo.getContentDescription()); in updateView()
|
D | BarViewInfo.java | 108 public @Nullable CharSequence getContentDescription() { in getContentDescription() method in BarViewInfo
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipMenuActionButton.java | 144 if (mButtonView.getContentDescription() == null) { in toString() 147 return mButtonView.getContentDescription().toString(); in toString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleTileViewHelperTest.java | 297 assertEquals(result.findViewById(R.id.availability).getContentDescription(), in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() 344 assertEquals(largeResult.findViewById(R.id.availability).getContentDescription(), in testCreateRemoteViewsWithGameTypeOnlyIsIgnored() 376 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() 389 R.id.predefined_icon).getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() 433 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored() 461 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithStatusTemplate() 474 R.id.predefined_icon).getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithStatusTemplate() 520 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithStatusTemplate() 548 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithStatusTemplateWithImageOnMediumAndLarge() 572 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithStatusTemplateWithImageOnMediumAndLarge() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipUtils.java | 99 && Objects.equals(action1.getContentDescription(), action2.getContentDescription()) in remoteActionsMatch()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardViewInfo.java | 38 CharSequence getContentDescription(); in getContentDescription() method
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | IconMixinTest.java | 130 assertThat(mIconView.getContentDescription()).isEqualTo("hello world"); in setContentDescription_shouldSetContentDescriptionOnIconView() 137 assertThat(mixin.getContentDescription()).isEqualTo("aloha"); in getContentDescription_shouldReturnContentDescriptionFromView()
|
/frameworks/base/core/java/android/service/controls/templates/ |
D | ToggleTemplate.java | 64 public CharSequence getContentDescription() { in getContentDescription() method in ToggleTemplate
|
D | ThumbnailTemplate.java | 91 public CharSequence getContentDescription() { in getContentDescription() method in ThumbnailTemplate
|
/frameworks/base/core/java/android/text/style/ |
D | ReplacementSpan.java | 71 public CharSequence getContentDescription() { in getContentDescription() method in ReplacementSpan
|
D | AccessibilityReplacementSpan.java | 78 dest.writeCharSequence(this.getContentDescription()); in writeToParcelInternal()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 57 event.getContentDescription() in onAccessibilityEvent()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 207 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec() 267 && safeCharSeqToString(node.getContentDescription()).isEmpty() in nafCheck() 296 if (!safeCharSeqToString(childNode.getContentDescription()).isEmpty() in childNafCheck()
|
D | UiSelector.java | 700 s = node.getContentDescription(); in isMatchFor() 707 s = node.getContentDescription(); in isMatchFor() 714 s = node.getContentDescription(); in isMatchFor() 720 s = node.getContentDescription(); in isMatchFor()
|
D | UiCollection.java | 60 String nodeDesc = row.getContentDescription(); in getChildByDescription()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | FooterPreferenceTest.java | 73 assertThat(mFooterPreference.getContentDescription()).isEqualTo("test"); in setContentDescription_contentSet_shouldGetSameContentDescription()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 298 if (tile.getContentDescription() != null || overwriteNulls) { in applyTileState() 299 mTile.setContentDescription(tile.getContentDescription()); in applyTileState() 465 if (mTile.getContentDescription() != null) { in handleUpdateState() 466 state.contentDescription = mTile.getContentDescription(); in handleUpdateState()
|