Home
last modified time | relevance | path

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

1234

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInteractionControllerNodeRequestsTest.java240 assertEquals(TEXT_VIEW_1_DESCRIPTION, infoSentToService.getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent()
308 assertEquals(TEXT_VIEW_1_DESCRIPTION, infoSentToService.getContentDescription()); in testFindRootAndTextNodes_withTwoClients_shouldPreventClient1Prefetch()
378 assertEquals(TEXT_VIEW_1_DESCRIPTION, foundNodes.get(1).getContentDescription()); in testFindRootAndTextNode_withOneClient_shouldInterruptPrefetchAndSatisfyPendingMsg()
493 mFindInfoCaptor.getValue().getContentDescription()); in testFindRootAndTextNode_withTwoClients_shouldInterruptPrefetchAndSatisfyPendingMsg()
560 mFindInfoCaptor.getValue().getContentDescription()); in testFindNodeById_withTwoDifferentPrefetchFlags_shouldNotSatisfyPendingRequest()
573 mFindInfoCaptor.getValue().getContentDescription()); in testFindNodeById_withTwoDifferentPrefetchFlags_shouldNotSatisfyPendingRequest()
735 assertEquals(TEXT_VIEW_2_DESCRIPTION, nodes.get(1).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
736 assertEquals(CHILD_FRAME_DESCRIPTION, nodes.get(2).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
737 assertEquals(TEXT_VIEW_3_DESCRIPTION, nodes.get(3).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
738 assertEquals(TEXT_VIEW_4_DESCRIPTION, nodes.get(4).getContentDescription()); in testFindRootAndTextNodes_withNoInterruptStrategy_shouldSatisfySecondRequest()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandableIndicator.java37 setContentDescription(getContentDescription(mExpanded)); in onFinishInflate()
50 setContentDescription(getContentDescription(expanded)); in setExpanded()
69 private String getContentDescription(boolean expanded) { in getContentDescription() method in ExpandableIndicator
H A DMultiUserSwitch.java47 if (!TextUtils.equals(getContentDescription(), text)) { in refreshContentDescription()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegate.java44 CharSequence text = event.getContentDescription(); in onInitializeAccessibilityEvent()
71 if (!TextUtils.isEmpty(info.getContentDescription())) { in onInitializeAccessibilityNodeInfo()
72 info.setContentDescription(replaceFancyColon(info.getContentDescription())); in onInitializeAccessibilityNodeInfo()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipCustomAction.java56 if (mRemoteAction.getContentDescription().length() > 0) { in populateButton()
57 button.setTextAndDescription(mRemoteAction.getContentDescription()); in populateButton()
88 mRemoteAction.getContentDescription()); in toNotificationAction()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DEthernetSignalController.java52 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListeners()
59 public int getContentDescription() { in getContentDescription() method in EthernetSignalController
H A DWifiSignalController.java109 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListenersForNonCarrierWifi()
133 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListenersForCarrierWifi()
/aosp14/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
H A DBarView.java78 final CharSequence barViewInfoContent = barViewInfo.getContentDescription(); in updateView()
81 mIcon.setContentDescription(barViewInfo.getContentDescription()); in updateView()
H A DBarViewInfo.java108 public @Nullable CharSequence getContentDescription() { in getContentDescription() method in BarViewInfo
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DTvWindowMenuActionButton.java139 if (getContentDescription() == null) { in toString()
142 return getContentDescription().toString(); in toString()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
H A DPeopleTileViewHelperTest.java376 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
433 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
461 assertThat(statusContent.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()
743 assertEquals(statusContent.getContentDescription(), mContext.getString( in testCreateRemoteViewsWithMissedCallNotification()
782 assertEquals(statusContent.getContentDescription(), mContext.getString( in testCreateRemoteViewsWithMissedCallNotification()
810 assertEquals(statusContent.getContentDescription(), mContext.getString( in testCreateRemoteViewsWithNotificationTemplate()
856 assertEquals(statusContent.getContentDescription(), mContext.getString( in testCreateRemoteViewsWithNotificationTemplate()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A DWalletCardViewInfo.java38 CharSequence getContentDescription(); in getContentDescription() method
/aosp14/frameworks/base/core/java/android/text/style/
H A DReplacementSpan.java71 public CharSequence getContentDescription() { in getContentDescription() method in ReplacementSpan
H A DAccessibilityReplacementSpan.java78 dest.writeCharSequence(this.getContentDescription()); in writeToParcelInternal()
/aosp14/frameworks/base/core/java/android/service/controls/templates/
H A DToggleTemplate.java64 public CharSequence getContentDescription() { in getContentDescription() method in ToggleTemplate
H A DThumbnailTemplate.java91 public CharSequence getContentDescription() { in getContentDescription() method in ThumbnailTemplate
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A 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()
H A 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()
H A DUiCollection.java60 String nodeDesc = row.getContentDescription(); in getChildByDescription()
/aosp14/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
H A DAELogger.java57 event.getContentDescription() in onAccessibilityEvent()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java300 if (tile.getContentDescription() != null || overwriteNulls) { in applyTileState()
301 mTile.setContentDescription(tile.getContentDescription()); in applyTileState()
467 if (mTile.getContentDescription() != null) { in handleUpdateState()
468 state.contentDescription = mTile.getContentDescription(); in handleUpdateState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDreamTile.java172 state.contentDescription = getContentDescription(state.secondaryLabel); in handleUpdateState()
203 protected CharSequence getContentDescription(CharSequence dreamName) { in getContentDescription() method in DreamTile
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java194 final CharSequence contentDescription = mItemData.getContentDescription(); in updateTextButtonVisibility()
258 final CharSequence cdesc = getContentDescription(); in onPopulateAccessibilityEventInternal()
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java57 this.text = node.getText() != null ? node.getText() : node.getContentDescription(); in TextEntry()
162 if (root.getText() != null || root.getContentDescription() != null) {

1234