Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInteractionControllerNodeRequestsTest.java205 assertEquals(ROOT_FRAME_LAYOUT_DESCRIPTION, infoSentToService.getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants()
212 assertEquals(TEXT_VIEW_1_DESCRIPTION, prefetchedNodes.get(0).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants()
213 assertEquals(TEXT_VIEW_2_DESCRIPTION, prefetchedNodes.get(1).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants()
214 assertEquals(CHILD_FRAME_DESCRIPTION, prefetchedNodes.get(2).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants()
215 assertEquals(TEXT_VIEW_3_DESCRIPTION, prefetchedNodes.get(3).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants()
216 assertEquals(TEXT_VIEW_4_DESCRIPTION, prefetchedNodes.get(4).getContentDescription()); in testFindRootView_withOneClient_shouldReturnRootNodeAndPrefetchDescendants()
240 assertEquals(TEXT_VIEW_1_DESCRIPTION, infoSentToService.getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent()
248 assertEquals(ROOT_FRAME_LAYOUT_DESCRIPTION, prefetchedNodes.get(0).getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent()
249 assertEquals(TEXT_VIEW_2_DESCRIPTION, prefetchedNodes.get(1).getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent()
250 assertEquals(CHILD_FRAME_DESCRIPTION, prefetchedNodes.get(2).getContentDescription()); in testFindTextView_withOneClient_shouldReturnNodeAndPrefetchedSiblingsAndParent()
[all …]
/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
DMultiUserSwitch.java47 if (!TextUtils.equals(getContentDescription(), text)) { in refreshContentDescription()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DEthernetSignalController.java52 String contentDescription = getTextIfExists(getContentDescription()).toString(); in notifyListeners()
59 public int getContentDescription() { in getContentDescription() method in EthernetSignalController
/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuActionButton.java144 if (mButtonView.getContentDescription() == null) { in toString()
147 return mButtonView.getContentDescription().toString(); in toString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleTileViewHelperTest.java297 assertEquals(result.findViewById(R.id.availability).getContentDescription(), in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()
344 assertEquals(largeResult.findViewById(R.id.availability).getContentDescription(), in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()
376 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
389 R.id.predefined_icon).getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
433 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
461 assertThat(statusContent.getContentDescription().toString()).isEqualTo( in testCreateRemoteViewsWithStatusTemplate()
474 R.id.predefined_icon).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()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipUtils.java99 && Objects.equals(action1.getContentDescription(), action2.getContentDescription()) in remoteActionsMatch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardViewInfo.java38 CharSequence getContentDescription(); in getContentDescription() method
/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/service/controls/templates/
DToggleTemplate.java64 public CharSequence getContentDescription() { in getContentDescription() method in ToggleTemplate
DThumbnailTemplate.java91 public CharSequence getContentDescription() { in getContentDescription() method in ThumbnailTemplate
/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/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java57 event.getContentDescription() in onAccessibilityEvent()
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DFooterPreferenceTest.java73 assertThat(mFooterPreference.getContentDescription()).isEqualTo("test"); in setContentDescription_contentSet_shouldGetSameContentDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java298 if (tile.getContentDescription() != null || overwriteNulls) { in applyTileState()
299 mTile.setContentDescription(tile.getContentDescription()); in applyTileState()
465 if (mTile.getContentDescription() != null) { in handleUpdateState()
466 state.contentDescription = mTile.getContentDescription(); in handleUpdateState()

12345