/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
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/ |
D | LabeledIntentTest.java | 78 assertThat(result.remoteAction.getContentDescription()).isEqualTo(DESCRIPTION); in resolve_preferTitleWithEntity() 101 assertThat(result.remoteAction.getContentDescription()).isEqualTo(DESCRIPTION); in resolve_useAvailableTitle() 123 assertThat(result.remoteAction.getContentDescription()).isEqualTo(DESCRIPTION); in resolve_titleChooser() 145 assertThat(result.remoteAction.getContentDescription()).isEqualTo(DESCRIPTION); in resolve_titleChooserReturnsNull() 198 assertThat(result.remoteAction.getContentDescription()).isEqualTo("Use fake to open map"); in resolve_descriptionWithAppName()
|
/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/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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 111 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec() 171 && safeCharSeqToString(node.getContentDescription()).isEmpty() in nafCheck() 200 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/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/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 187 mTile.setContentDescription(tile.getContentDescription()); in updateState() 334 if (mTile.getContentDescription() != null) { in handleUpdateState() 335 state.contentDescription = mTile.getContentDescription(); in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | EthernetSignalController.java | 52 String contentDescription = getStringIfExists(getContentDescription()).toString(); in notifyListeners()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 57 event.getContentDescription() in onAccessibilityEvent()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 232 assertEquals(contentDescription2, nodeFromCache.getContentDescription()); in overwriteThenGetNode_returnsNewNode() 259 assertEquals(nodeInfo1.getContentDescription(), node1FromCache.getContentDescription()); in nodesInDifferentWindowWithSameId_areKeptSeparate() 260 assertEquals(nodeInfo2.getContentDescription(), node2FromCache.getContentDescription()); in nodesInDifferentWindowWithSameId_areKeptSeparate()
|
D | RecycleAccessibilityEventTest.java | 67 assertNull(first.getContentDescription()); in testAccessibilityEventViewTextChangedType()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationTest.java | 117 assertEquals(primaryDescription, primaryAction.getContentDescription()); in testParcel() 123 assertEquals(secondaryDescription, secondaryAction.getContentDescription()); in testParcel()
|
D | ActionsSuggestionsHelperTest.java | 206 assertThat(conversationActions.get(0).getAction().getContentDescription()).isEqualTo("4"); in testDeduplicateActions() 207 assertThat(conversationActions.get(1).getAction().getContentDescription()).isEqualTo("5"); in testDeduplicateActions()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 188 final CharSequence contentDescription = mItemData.getContentDescription(); in updateTextButtonVisibility() 252 final CharSequence cdesc = getContentDescription(); in onPopulateAccessibilityEventInternal()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | AssistVisualizer.java | 57 this.text = node.getText() != null ? node.getText() : node.getContentDescription(); in TextEntry() 162 if (root.getText() != null || root.getContentDescription() != null) {
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 175 public CharSequence getContentDescription() { in getContentDescription() method in Tile
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
D | NotificationMenuRowPlugin.java | 64 public String getContentDescription(); in getContentDescription() method
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 336 if (event.getText().isEmpty() && (event.getContentDescription() == null)) { in createEventForChild() 446 if ((node.getText() == null) && (node.getContentDescription() == null)) { in createNodeForChild()
|
/frameworks/base/core/java/android/app/ |
D | RemoteAction.java | 110 public @NonNull CharSequence getContentDescription() { in getContentDescription() method in RemoteAction
|