Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonController.java188 @StringRes protected final int contentDescription; field in ButtonController.NonCheckableButtonController
196 @StringRes int contentDescription) { in NonCheckableButtonController() argument
199 this.contentDescription = contentDescription; in NonCheckableButtonController()
251 button.setContentDescription(button.getContext().getText(contentDescription)); in setButton()
265 @StringRes int contentDescription, in SimpleNonCheckableButtonController() argument
268 super(delegate, buttonId, contentDescription == 0 ? label : contentDescription); in SimpleNonCheckableButtonController()
314 private CharSequence contentDescription; field in ButtonController.SpeakerButtonController
410 contentDescription = delegate.getContext().getText(contentDescriptionResId); in setAudioState()
413 contentDescription, in setAudioState()
417 contentDescription, in setAudioState()
/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/dialer/dialpadview/
DDialpadKeyButton.java96 public void setLongHoverContentDescription(CharSequence contentDescription) { in setLongHoverContentDescription() argument
97 mLongHoverContentDesc = contentDescription; in setLongHoverContentDescription()
105 public void setContentDescription(CharSequence contentDescription) { in setContentDescription() argument
107 mBackupContentDesc = contentDescription; in setContentDescription()
109 super.setContentDescription(contentDescription); in setContentDescription()
/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java90 public CharSequence contentDescription = ""; field in IconCache.CacheEntry
387 entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, app.getUser()); in addIconToDBAndMemCache()
468 info.contentDescription = ""; in getTitleAndIcon()
500 info.contentDescription = entry.contentDescription; in applyCacheEntry()
552 entry.contentDescription = packageEntry.contentDescription; in cacheLocked()
570 … entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, user); in cacheLocked()
642 … entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, user); in getEntryForPackageLocked()
682 entry.contentDescription = ""; in getEntryFromDB()
684 entry.contentDescription = mUserManager.getBadgedLabelForUser( in getEntryFromDB()
DItemInfo.java103 public CharSequence contentDescription; field in ItemInfo
128 contentDescription = info.contentDescription; in copyFrom()
DBubbleTextView.java226 if (info.contentDescription != null) { in applyIconAndLabel()
228 ? getContext().getString(R.string.disabled_app_label, info.contentDescription) in applyIconAndLabel()
229 : info.contentDescription); in applyIconAndLabel()
/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
66 button.setContentDescription(contentDescription); in updateButtonState()
101 contentDescription = button.getContext().getText(contentDescriptionResId); in setAudioState()
/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/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/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java45 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
64 mContentDescription = contentDescription; in PowerGaugePreference()
/packages/apps/Launcher2/src/com/android/launcher2/
DIconCache.java48 public CharSequence contentDescription; field in IconCache.CacheEntry
189 application.contentDescription = entry.contentDescription; in getTitleAndIcon()
247 entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in cacheLocked()
DItemInfo.java111 CharSequence contentDescription; field in ItemInfo
134 contentDescription = info.contentDescription; in ItemInfo()
DPagedViewIcon.java61 if (info.contentDescription != null) { in applyFromApplicationInfo()
62 setContentDescription(info.contentDescription); in applyFromApplicationInfo()
/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/bluetooth/
DBluetoothDevicePreference.java63 private String contentDescription = null; field in BluetoothDevicePreference
145 contentDescription = pair.second; in onDeviceAttributesChanged()
171 imageView.setContentDescription(contentDescription); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/
DAccessiblePreferenceCategory.java33 public void setContentDescription(String contentDescription) { in setContentDescription() argument
34 mContentDescription = contentDescription; in setContentDescription()
DDimmableIconPreference.java50 public DimmableIconPreference(Context context, @Nullable CharSequence contentDescription) { in DimmableIconPreference() argument
52 mContentDescription = contentDescription; in DimmableIconPreference()
DMasterClear.java203 StringBuffer contentDescription = new StringBuffer(); in establishInitialState() local
205 getContentDescription(masterClearContainer, contentDescription); in establishInitialState()
206 masterClearContainer.setContentDescription(contentDescription); in establishInitialState()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java193 @StringRes public final int contentDescription; field in AnswerFragment.SecondaryBehavior
199 @StringRes int contentDescription, in SecondaryBehavior() argument
203 this.contentDescription = contentDescription; in SecondaryBehavior()
212 view.setContentDescription(view.getContext().getText(contentDescription)); in applyToView()
/packages/apps/Settings/src/com/android/settings/wifi/
DLinkablePreference.java97 @Nullable CharSequence contentDescription, in setText() argument
100 mContentDescription = contentDescription; in setText()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java154 String contentDescription = String.format(getResources().getString(templateId), in updateImageView() local
156 mImageView.setContentDescription(contentDescription); in updateImageView()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DSmsInteraction.java166 final String contentDescription = context.getResources().getString( in getContentDescription() local
169 return ContactDisplayUtils.getTelephoneTtsSpannable(contentDescription, phoneNumber); in getContentDescription()
DCallLogInteraction.java204 final String contentDescription = context.getResources().getString( in getContentDescription() local
207 return ContactDisplayUtils.getTelephoneTtsSpannable(contentDescription, phoneNumber); in getContentDescription()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorLineCaret.java167 public void setContentDescription(CharSequence contentDescription) { in setContentDescription() argument
168 mAllAppsHandle.setContentDescription(contentDescription); in setContentDescription()

12