Home
last modified time | relevance | path

Searched refs:getContentDescription (Results 1 – 25 of 73) 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/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/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/core/java/android/text/style/
DReplacementSpan.java71 public CharSequence getContentDescription() { in getContentDescription() method in ReplacementSpan
DAccessibilityReplacementSpan.java78 dest.writeCharSequence(this.getContentDescription()); in writeToParcelInternal()
/frameworks/base/core/java/android/service/controls/templates/
DToggleTemplate.java64 public CharSequence getContentDescription() { in getContentDescription() method in ToggleTemplate
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java207 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec()
267 && safeCharSeqToString(node.getContentDescription()).isEmpty() in nafCheck()
296 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/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java57 event.getContentDescription() in onAccessibilityEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEthernetSignalController.java52 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListeners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java197 mTile.setContentDescription(tile.getContentDescription()); in updateState()
350 if (mTile.getContentDescription() != null) { in handleUpdateState()
351 state.contentDescription = mTile.getContentDescription(); in handleUpdateState()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DRecycleAccessibilityEventTest.java67 assertNull(first.getContentDescription()); in testAccessibilityEventViewTextChangedType()
DAccessibilityCacheTest.java385 assertEquals(contentDescription2, nodeFromCache.getContentDescription()); in overwriteThenGetNode_returnsNewNode()
412 assertEquals(nodeInfo1.getContentDescription(), node1FromCache.getContentDescription()); in nodesInDifferentWindowWithSameId_areKeptSeparate()
413 assertEquals(nodeInfo2.getContentDescription(), node2FromCache.getContentDescription()); in nodesInDifferentWindowWithSameId_areKeptSeparate()
/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/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationMenuRowPlugin.java64 public String getContentDescription(); in getContentDescription() method
/frameworks/base/core/java/android/service/quickaccesswallet/
DGetWalletCardsCallbackImpl.java144 if (TextUtils.isEmpty(walletCard.getContentDescription())) { in isValidResponse()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java337 if (event.getText().isEmpty() && (event.getContentDescription() == null)) { in createEventForChild()
447 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