Home
last modified time | relevance | path

Searched refs:getContentDescription (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockAccessibilityDelegateTest.java61 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/
DExpandableIndicator.java37 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/
DLabeledIntentTest.java78 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/
DKeyguardClockAccessibilityDelegate.java44 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/
DLinkAccessibilityHelperTest.java94 "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/
DIconMixin.java97 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/
DBarView.java78 final CharSequence barViewInfoContent = barViewInfo.getContentDescription(); in updateView()
81 mIcon.setContentDescription(barViewInfo.getContentDescription()); in updateView()
DBarViewInfo.java108 public @Nullable CharSequence getContentDescription() { in getContentDescription() method in BarViewInfo
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java111 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec()
171 && safeCharSeqToString(node.getContentDescription()).isEmpty() in nafCheck()
200 if (!safeCharSeqToString(childNode.getContentDescription()).isEmpty() in childNafCheck()
DUiSelector.java700 s = node.getContentDescription(); in isMatchFor()
707 s = node.getContentDescription(); in isMatchFor()
714 s = node.getContentDescription(); in isMatchFor()
720 s = node.getContentDescription(); in isMatchFor()
DUiCollection.java60 String nodeDesc = row.getContentDescription(); in getChildByDescription()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DIconMixinTest.java130 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/
DCustomTile.java187 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/
DEthernetSignalController.java52 String contentDescription = getStringIfExists(getContentDescription()).toString(); in notifyListeners()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java57 event.getContentDescription() in onAccessibilityEvent()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java232 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()
DRecycleAccessibilityEventTest.java67 assertNull(first.getContentDescription()); in testAccessibilityEventViewTextChangedType()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java117 assertEquals(primaryDescription, primaryAction.getContentDescription()); in testParcel()
123 assertEquals(secondaryDescription, secondaryAction.getContentDescription()); in testParcel()
DActionsSuggestionsHelperTest.java206 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/
DActionMenuItemView.java188 final CharSequence contentDescription = mItemData.getContentDescription(); in updateTextButtonVisibility()
252 final CharSequence cdesc = getContentDescription(); in onPopulateAccessibilityEventInternal()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java57 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/
DTile.java175 public CharSequence getContentDescription() { in getContentDescription() method in Tile
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationMenuRowPlugin.java64 public String getContentDescription(); in getContentDescription() method
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java336 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/
DRemoteAction.java110 public @NonNull CharSequence getContentDescription() { in getContentDescription() method in RemoteAction

123