Home
last modified time | relevance | path

Searched refs:displayText (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java167 String displayText; in updateDrivingStateText() local
170 displayText = "Parked"; in updateDrivingStateText()
173 displayText = "Idling"; in updateDrivingStateText()
176 displayText = "Moving"; in updateDrivingStateText()
179 displayText = "Unknown"; in updateDrivingStateText()
181 mDrvStatus.setText("Driving State: " + displayText); in updateDrivingStateText()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java235 CharSequence displayText = mActivity.getText(!isProfileOrDeviceOwner && mNeedsApproval in updatePositiveButton() local
238 mPositiveButton = updateButton(DialogInterface.BUTTON_POSITIVE, displayText); in updatePositiveButton()
246 CharSequence displayText = mActivity.getText(getButtonLabel(certHolder)); in updateNegativeButton() local
247 mNegativeButton = updateButton(DialogInterface.BUTTON_NEGATIVE, displayText); in updateNegativeButton()
256 private Button updateButton(int buttonType, CharSequence displayText) { in updateButton() argument
257 mDialog.setButton(buttonType, displayText, (DialogInterface.OnClickListener) null); in updateButton()
259 button.setText(displayText); in updateButton()
DUtils.java626 public static SpannableString createAccessibleSequence(CharSequence displayText, in createAccessibleSequence() argument
628 SpannableString str = new SpannableString(displayText); in createAccessibleSequence()
630 displayText.length(), in createAccessibleSequence()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsDialogBuilder.java235 CharSequence displayText = mActivity.getText(!isProfileOrDeviceOwner && mNeedsApproval in updatePositiveButton() local
238 mPositiveButton = updateButton(DialogInterface.BUTTON_POSITIVE, displayText); in updatePositiveButton()
246 CharSequence displayText = mActivity.getText(getButtonLabel(certHolder)); in updateNegativeButton() local
247 mNegativeButton = updateButton(DialogInterface.BUTTON_NEGATIVE, displayText); in updateNegativeButton()
256 private Button updateButton(int buttonType, CharSequence displayText) { in updateButton() argument
257 mDialog.setButton(buttonType, displayText, (DialogInterface.OnClickListener) null); in updateButton()
259 button.setText(displayText); in updateButton()
DUtils.java631 public static SpannableString createAccessibleSequence(CharSequence displayText, in createAccessibleSequence() argument
633 SpannableString str = new SpannableString(displayText); in createAccessibleSequence()
635 displayText.length(), in createAccessibleSequence()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyListPreference.java89 private static SpannableString createAccessibleSequence(CharSequence displayText, in createAccessibleSequence() argument
91 SpannableString str = new SpannableString(displayText); in createAccessibleSequence()
93 displayText.length(), in createAccessibleSequence()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHierarchicalFolderSelectorAdapter.java61 final CharSequence displayText = TextUtils.isEmpty(row.mPathName) ? folder.name in getView() local
67 display.setText(displayText, TextView.BufferType.SPANNABLE); in getView()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java361 final String displayText = strippedText.substring(spanStart, spanEnd); in stripHtml() local
364 displayText, linkText)); in stripHtml()