/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | Utils.java | 274 CharSequence contentDescription = node.getContentDescription(); in isRotaryContainer() local 275 return contentDescription != null in isRotaryContainer() 276 && (ROTARY_CONTAINER.contentEquals(contentDescription) in isRotaryContainer() 277 || ROTARY_HORIZONTALLY_SCROLLABLE.contentEquals(contentDescription) in isRotaryContainer() 278 || ROTARY_VERTICALLY_SCROLLABLE.contentEquals(contentDescription)); in isRotaryContainer() 286 CharSequence contentDescription = node.getContentDescription(); in isScrollableContainer() local 287 return contentDescription != null in isScrollableContainer() 288 && (ROTARY_HORIZONTALLY_SCROLLABLE.contentEquals(contentDescription) in isScrollableContainer() 289 || ROTARY_VERTICALLY_SCROLLABLE.contentEquals(contentDescription)); in isScrollableContainer() 297 CharSequence contentDescription = node.getContentDescription(); in isHorizontallyScrollableContainer() local [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | ButtonController.java | 190 @StringRes protected final int contentDescription; field in ButtonController.NonCheckableButtonController 198 @StringRes int contentDescription) { in NonCheckableButtonController() argument 201 this.contentDescription = contentDescription; in NonCheckableButtonController() 253 button.setContentDescription(button.getContext().getText(contentDescription)); in setButton() 267 @StringRes int contentDescription, in SimpleNonCheckableButtonController() argument 270 super(delegate, buttonId, contentDescription == 0 ? label : contentDescription); in SimpleNonCheckableButtonController() 316 private CharSequence contentDescription; field in ButtonController.SpeakerButtonController 387 @StringRes int contentDescriptionResId = info.contentDescription; in setAudioState() 389 contentDescription = delegate.getContext().getText(contentDescriptionResId); in setAudioState() 392 contentDescription, in setAudioState() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/ |
D | SpeakerButtonInfo.java | 40 @StringRes public final int contentDescription; field in SpeakerButtonInfo 54 contentDescription = R.string.incall_content_description_bluetooth; in SpeakerButtonInfo() 59 contentDescription = R.string.incall_content_description_speaker; in SpeakerButtonInfo() 64 contentDescription = R.string.incall_content_description_headset; in SpeakerButtonInfo() 68 contentDescription = R.string.incall_content_description_earpiece; in SpeakerButtonInfo() 76 contentDescription = R.string.incall_content_description_speaker; in SpeakerButtonInfo()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSliceItem.java | 144 CharSequence contentDescription = mTitle; in getContentDescription() local 146 contentDescription = TextUtils.concat(contentDescription, ",", mSummary); in getContentDescription() 149 contentDescription = TextUtils.concat(contentDescription, ",", in getContentDescription() 152 return TextUtils.concat(contentDescription, ",", mSecurity == WifiEntry.SECURITY_NONE in getContentDescription()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/ |
D | PreferenceParcelable.java | 40 private String contentDescription; field in PreferenceParcelable 113 return contentDescription; in getContentDescription() 150 public void setContentDescription(String contentDescription) { in setContentDescription() argument 151 this.contentDescription = contentDescription; in setContentDescription() 211 ", contentDescription='" + contentDescription + '\'' + in toString() 229 copy.setContentDescription(contentDescription); in immutableCopy() 258 dest.writeString(contentDescription); in writeToParcel()
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/ |
D | ViewUtils.java | 440 CharSequence contentDescription = view.getContentDescription(); in isRotaryContainer() local 441 return TextUtils.equals(contentDescription, ROTARY_CONTAINER) in isRotaryContainer() 442 || TextUtils.equals(contentDescription, ROTARY_VERTICALLY_SCROLLABLE) in isRotaryContainer() 443 || TextUtils.equals(contentDescription, ROTARY_HORIZONTALLY_SCROLLABLE); in isRotaryContainer() 447 CharSequence contentDescription = view.getContentDescription(); in isScrollableContainer() local 448 return TextUtils.equals(contentDescription, ROTARY_VERTICALLY_SCROLLABLE) in isScrollableContainer() 449 || TextUtils.equals(contentDescription, ROTARY_HORIZONTALLY_SCROLLABLE); in isScrollableContainer() 453 CharSequence contentDescription = view.getContentDescription(); in isFocusDelegatingContainer() local 454 return TextUtils.equals(contentDescription, ROTARY_FOCUS_DELEGATING_CONTAINER); in isFocusDelegatingContainer()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
D | DialpadKeyButton.java | 99 public void setLongHoverContentDescription(CharSequence contentDescription) { in setLongHoverContentDescription() argument 100 mLongHoverContentDesc = contentDescription; in setLongHoverContentDescription() 108 public void setContentDescription(CharSequence contentDescription) { in setContentDescription() argument 110 mBackupContentDesc = contentDescription; in setContentDescription() 112 super.setContentDescription(contentDescription); in setContentDescription()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | CheckableImageButton.java | 89 CharSequence contentDescription = updateContentDescription(); in performSetChecked() local 90 announceForAccessibility(contentDescription); in performSetChecked() 95 CharSequence contentDescription = in updateContentDescription() local 97 setContentDescription(contentDescription); in updateContentDescription() 98 return contentDescription; in updateContentDescription()
|
D | SpeakerButtonController.java | 44 private CharSequence contentDescription; field in SpeakerButtonController 67 button.setContentDescription(contentDescription); in updateButtonState() 102 contentDescription = button.getContext().getText(contentDescriptionResId); in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | RttCheckableButton.java | 94 CharSequence contentDescription = updateContentDescription(); in performSetChecked() local 95 announceForAccessibility(contentDescription); in performSetChecked() 100 CharSequence contentDescription = in updateContentDescription() local 102 setContentDescription(contentDescription); in updateContentDescription() 103 return contentDescription; in updateContentDescription()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | AccessibilityUtil.java | 42 final StringBuilder contentDescription, final String val) { in appendContentDescription() argument 47 if (contentDescription.length() != 0) { in appendContentDescription() 48 contentDescription.append(sContentDescriptionDivider); in appendContentDescription() 50 contentDescription.append(val); in appendContentDescription() 51 return contentDescription; in appendContentDescription()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerGaugePreference.java | 45 public PowerGaugePreference(Context context, Drawable icon, CharSequence contentDescription, in PowerGaugePreference() argument 47 this(context, null, icon, contentDescription, info); in PowerGaugePreference() 59 CharSequence contentDescription, BatteryEntry info) { in PowerGaugePreference() argument 66 mContentDescription = contentDescription; in PowerGaugePreference()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | AccessPointPreference.java | 256 CharSequence contentDescription = pref.getTitle(); in buildContentDescription() local 259 contentDescription = TextUtils.concat(contentDescription, ",", summary); in buildContentDescription() 263 contentDescription = TextUtils.concat(contentDescription, ",", in buildContentDescription() 266 return TextUtils.concat(contentDescription, ",", in buildContentDescription()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 132 final StringBuilder contentDescription = new StringBuilder(); in setupContentDescription() local 140 contentDescription.append(briefContentDescription); in setupContentDescription() 145 contentDescription.append(noDataContentDescription); in setupContentDescription() 146 chart.setContentDescription(contentDescription); in setupContentDescription() 164 contentDescription.append(nodeContentDescription); in setupContentDescription() 167 chart.setContentDescription(contentDescription); in setupContentDescription()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.kt | 228 fab.contentDescription = fab.resources.getString(R.string.timer_stop) in updateFab() 236 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab() 244 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab() 248 fab.contentDescription = fab.resources.getString(R.string.timer_stop) in updateFab() 254 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab() 257 fab.contentDescription = null in updateFab() 278 left.contentDescription = left.resources.getString(R.string.timer_delete) in onUpdateFabButtons() 283 right.contentDescription = right.resources.getString(R.string.timer_add_timer) in onUpdateFabButtons() 288 left.contentDescription = left.resources.getString(R.string.timer_cancel) in onUpdateFabButtons()
|
D | TimerItem.kt | 116 mResetAddButton.contentDescription = null in update() 126 mResetAddButton.contentDescription = addTimeDesc in update() 136 mResetAddButton.contentDescription = addTimeDesc in update()
|
D | TimerSetupView.kt | 191 mTimeView.contentDescription = r.getString(R.string.timer_setup_description, in updateTime() 227 mDeleteView.contentDescription = context.getString( in append() 251 mDeleteView.contentDescription = context.getString( in delete() 255 mDeleteView.contentDescription = context.getString(R.string.timer_delete) in delete()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 335 if (info.contentDescription != null) { in applyLabel() 337 ? getContext().getString(R.string.disabled_app_label, info.contentDescription) in applyLabel() 338 : info.contentDescription); in applyLabel() 601 setContentDescription(info.contentDescription != null in applyProgressLevel() 602 ? info.contentDescription : ""); in applyProgressLevel() 665 if (itemInfo.contentDescription != null) { in applyDotState() 668 itemInfo.contentDescription)); in applyDotState() 672 R.plurals.dotted_app_label, count, itemInfo.contentDescription, count)); in applyDotState() 674 setContentDescription(itemInfo.contentDescription); in applyDotState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | SmartIconLoadPackagePermissionPreference.kt | 79 it.contentDescription = titleContentDescription in onBindViewHolder() 83 fun setTitleContentDescription(contentDescription: CharSequence) { in setTitleContentDescription() 84 titleContentDescription = contentDescription in setTitleContentDescription()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
D | MicPrivacyChip.java | 179 String contentDescription; in setContentDescription() local 181 contentDescription = getResources().getString(R.string.mic_privacy_chip_off_content); in setContentDescription() 183 contentDescription = getResources().getString( in setContentDescription() 187 setContentDescription(contentDescription); in setContentDescription()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerViewImpl.java | 362 CharSequence contentDescription = getContentDescription(); in initRotaryScroll() local 363 rotaryScrollEnabled = contentDescription != null in initRotaryScroll() 364 && (ROTARY_HORIZONTALLY_SCROLLABLE.contentEquals(contentDescription) in initRotaryScroll() 365 || ROTARY_VERTICALLY_SCROLLABLE.contentEquals(contentDescription)); in initRotaryScroll() 650 public void setContentDescription(CharSequence contentDescription) { in setContentDescription() argument 651 super.setContentDescription(contentDescription); in setContentDescription()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CommonControllerOverlay.java | 312 String contentDescription = resources.getString(R.string.accessibility_reload_video); in updateViews() local 315 contentDescription = resources.getString(R.string.accessibility_play_video); in updateViews() 318 contentDescription = resources.getString(R.string.accessibility_pause_video); in updateViews() 322 mPlayPauseReplayView.setContentDescription(contentDescription); in updateViews()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AccessiblePreferenceCategory.java | 34 public void setContentDescription(String contentDescription) { in setContentDescription() argument 35 mContentDescription = contentDescription; in setContentDescription()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ApplicationViewHolder.java | 100 void setTitle(CharSequence title, CharSequence contentDescription) { in setTitle() argument 106 if (TextUtils.isEmpty(contentDescription)) { in setTitle() 109 mAppName.setContentDescription(contentDescription); in setTitle()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 727 if (TextUtils.isEmpty(results.get(i).contentDescription)) { in bindAsText() 730 list.add(results.get(i).contentDescription); in bindAsText() 752 public @Nullable CharSequence contentDescription; field in PermissionActivity.Description 772 contentDescription = c.getString(0); in Description() 810 imageView.setContentDescription(contentDescription); in bindThumbnail() 818 imageView.setContentDescription(contentDescription); in bindFull() 825 imageView.setContentDescription(contentDescription); in bindMimeIcon()
|