Home
last modified time | relevance | path

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

123

/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.java296 if (info.contentDescription != null) { in applyIconAndLabel()
298 ? getContext().getString(R.string.disabled_app_label, info.contentDescription) in applyIconAndLabel()
299 : info.contentDescription); in applyIconAndLabel()
554 setContentDescription(info.contentDescription != null in applyProgressLevel()
555 ? info.contentDescription : ""); in applyProgressLevel()
602 if (itemInfo.contentDescription != null) { in applyDotState()
605 itemInfo.contentDescription)); in applyDotState()
609 R.plurals.dotted_app_label, count, itemInfo.contentDescription, count)); in applyDotState()
611 setContentDescription(itemInfo.contentDescription); in applyDotState()
DItemInfo.java109 public CharSequence contentDescription; field in ItemInfo
132 contentDescription = info.contentDescription; in copyFrom()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt229 fab.contentDescription = fab.resources.getString(R.string.timer_stop) in updateFab()
237 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab()
245 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab()
249 fab.contentDescription = fab.resources.getString(R.string.timer_stop) in updateFab()
255 fab.contentDescription = fab.resources.getString(R.string.timer_start) in updateFab()
258 fab.contentDescription = null in updateFab()
279 left.contentDescription = left.resources.getString(R.string.timer_delete) in onUpdateFabButtons()
284 right.contentDescription = right.resources.getString(R.string.timer_add_timer) in onUpdateFabButtons()
289 left.contentDescription = left.resources.getString(R.string.timer_cancel) in onUpdateFabButtons()
DTimerItem.kt116 mResetAddButton.contentDescription = null in update()
126 mResetAddButton.contentDescription = addTimeDesc in update()
136 mResetAddButton.contentDescription = addTimeDesc in update()
DTimerSetupView.kt191 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/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/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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java76 public CharSequence contentDescription = ""; field in BaseIconCache.CacheEntry
275 entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in addIconToDBAndMemCache()
343 entry.contentDescription = packageEntry.contentDescription; in cacheLocked()
361 … entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in cacheLocked()
440 … entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in getEntryForPackageLocked()
479 entry.contentDescription = ""; in getEntryFromDB()
481 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/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/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java186 info.contentDescription = ""; in getTitleAndIcon()
226 info.contentDescription = entry.contentDescription; in applyCacheEntry()
/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()

123