/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityInteractionControllerNodeRequestsTest.java | 240 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 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A 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
|
H A D | MultiUserSwitch.java | 47 if (!TextUtils.equals(getContentDescription(), text)) { in refreshContentDescription()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A 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()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipCustomAction.java | 56 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 D | EthernetSignalController.java | 52 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListeners() 59 public int getContentDescription() { in getContentDescription() method in EthernetSignalController
|
H A D | WifiSignalController.java | 109 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 D | BarView.java | 78 final CharSequence barViewInfoContent = barViewInfo.getContentDescription(); in updateView() 81 mIcon.setContentDescription(barViewInfo.getContentDescription()); in updateView()
|
H A D | BarViewInfo.java | 108 public @Nullable CharSequence getContentDescription() { in getContentDescription() method in BarViewInfo
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | TvWindowMenuActionButton.java | 139 if (getContentDescription() == null) { in toString() 142 return getContentDescription().toString(); in toString()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
H A D | PeopleTileViewHelperTest.java | 376 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 D | WalletCardViewInfo.java | 38 CharSequence getContentDescription(); in getContentDescription() method
|
/aosp14/frameworks/base/core/java/android/text/style/ |
H A D | ReplacementSpan.java | 71 public CharSequence getContentDescription() { in getContentDescription() method in ReplacementSpan
|
H A D | AccessibilityReplacementSpan.java | 78 dest.writeCharSequence(this.getContentDescription()); in writeToParcelInternal()
|
/aosp14/frameworks/base/core/java/android/service/controls/templates/ |
H A D | ToggleTemplate.java | 64 public CharSequence getContentDescription() { in getContentDescription() method in ToggleTemplate
|
H A D | ThumbnailTemplate.java | 91 public CharSequence getContentDescription() { in getContentDescription() method in ThumbnailTemplate
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A 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()
|
H A 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()
|
H A D | UiCollection.java | 60 String nodeDesc = row.getContentDescription(); in getChildByDescription()
|
/aosp14/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
H A D | AELogger.java | 57 event.getContentDescription() in onAccessibilityEvent()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | CustomTile.java | 300 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 D | DreamTile.java | 172 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 D | ActionMenuItemView.java | 194 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 D | AssistVisualizer.java | 57 this.text = node.getText() != null ? node.getText() : node.getContentDescription(); in TextEntry() 162 if (root.getText() != null || root.getContentDescription() != null) {
|