Home
last modified time | relevance | path

Searched refs:contentDescription (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonController.java190 @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/
DSpeakerButtonInfo.java40 @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/providers/MediaProvider/src/com/android/providers/media/
DPermissionActivity.java91 child.setContentDescription(result.contentDescription); in onCreate()
94 Log.d(TAG, "Found description " + result.contentDescription); in onCreate()
97 child.setText(result.contentDescription); in onCreate()
166 public CharSequence contentDescription; field in PermissionActivity.Description
182 contentDescription = c.getString(0); in Description()
186 if (TextUtils.isEmpty(contentDescription)) { in Description()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadKeyButton.java99 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/
DCheckableImageButton.java89 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()
DSpeakerButtonController.java44 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/
DRttCheckableButton.java94 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/
DAccessibilityUtil.java42 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/Launcher3/src/com/android/launcher3/
DBubbleTextView.java285 if (info.contentDescription != null) { in applyIconAndLabel()
287 ? getContext().getString(R.string.disabled_app_label, info.contentDescription) in applyIconAndLabel()
288 : info.contentDescription); in applyIconAndLabel()
536 setContentDescription(info.contentDescription != null in applyProgressLevel()
537 ? info.contentDescription : ""); in applyProgressLevel()
580 if (itemInfo.contentDescription != null) { in applyDotState()
583 itemInfo.contentDescription)); in applyDotState()
587 R.plurals.dotted_app_label, count, itemInfo.contentDescription, count)); in applyDotState()
589 setContentDescription(itemInfo.contentDescription); in applyDotState()
DItemInfo.java107 public CharSequence contentDescription; field in ItemInfo
130 contentDescription = info.contentDescription; in copyFrom()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationTipView.java114 image.setContentDescription(attr.contentDescription); in bindIcon()
274 public String contentDescription; field in ConversationTipView.ImageAttrSet
276 public ImageAttrSet(int resId, int background, String contentDescription) { in ImageAttrSet() argument
279 this.contentDescription = contentDescription; in ImageAttrSet()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerGaugePreference.java44 public PowerGaugePreference(Context context, Drawable icon, CharSequence contentDescription, in PowerGaugePreference() argument
46 this(context, null, icon, contentDescription, info); in PowerGaugePreference()
58 CharSequence contentDescription, BatteryEntry info) { in PowerGaugePreference() argument
65 mContentDescription = contentDescription; in PowerGaugePreference()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java44 public PowerGaugePreference(Context context, Drawable icon, CharSequence contentDescription, in PowerGaugePreference() argument
46 this(context, null, icon, contentDescription, info); in PowerGaugePreference()
58 CharSequence contentDescription, BatteryEntry info) { in PowerGaugePreference() argument
65 mContentDescription = contentDescription; in PowerGaugePreference()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java74 public CharSequence contentDescription = ""; field in BaseIconCache.CacheEntry
268 entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in addIconToDBAndMemCache()
344 entry.contentDescription = packageEntry.contentDescription; in cacheLocked()
362 … entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in cacheLocked()
441 … entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in getEntryForPackageLocked()
480 entry.contentDescription = ""; in getEntryFromDB()
482 entry.contentDescription = mPackageManager.getUserBadgedLabel( in getEntryFromDB()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DBenefitsAnimation.java83 int contentDescription, CustomizationParams customizationParams) { in BenefitsAnimation() argument
90 applyContentDescription(contentDescription); in BenefitsAnimation()
291 private void applyContentDescription(int contentDescription) { in applyContentDescription() argument
293 mActivity.getString(contentDescription)); in applyContentDescription()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCommonControllerOverlay.java312 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/
DAccessiblePreferenceCategory.java34 public void setContentDescription(String contentDescription) { in setContentDescription() argument
35 mContentDescription = contentDescription; in setContentDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAccessiblePreferenceCategory.java34 public void setContentDescription(String contentDescription) { in setContentDescription() argument
35 mContentDescription = contentDescription; in setContentDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDevicePreference.java61 private String contentDescription = null; field in BluetoothDevicePreference
140 contentDescription = pair.second; in onDeviceAttributesChanged()
172 imageView.setContentDescription(contentDescription); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePreference.java62 private String contentDescription = null; field in BluetoothDevicePreference
141 contentDescription = pair.second; in onDeviceAttributesChanged()
173 imageView.setContentDescription(contentDescription); in onBindViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java186 info.contentDescription = ""; in getTitleAndIcon()
226 info.contentDescription = entry.contentDescription; in applyCacheEntry()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootAndAppItem.java52 String contentDescription = in bindView() local
55 bindAction(convertView, View.VISIBLE, R.drawable.ic_exit_to_app, contentDescription); in bindView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSeekBarPreference.java289 public void setSeekBarContentDescription(CharSequence contentDescription) { in setSeekBarContentDescription() argument
290 mSeekBarContentDescription = contentDescription; in setSeekBarContentDescription()
292 mSeekBar.setContentDescription(contentDescription); in setSeekBarContentDescription()
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java300 public void setSeekBarContentDescription(CharSequence contentDescription) { in setSeekBarContentDescription() argument
301 mSeekBarContentDescription = contentDescription; in setSeekBarContentDescription()
303 mSeekBar.setContentDescription(contentDescription); in setSeekBarContentDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DLinkablePreference.java101 @Nullable CharSequence contentDescription, in setText() argument
104 mContentDescription = contentDescription; in setText()

12