Home
last modified time | relevance | path

Searched refs:fromHtml (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/
DHtmlTextView.java46 setText(Html.fromHtml("This is <b>bold</>!", Html.FROM_HTML_MODE_COMPACT)); in init()
/frameworks/base/core/tests/benchmarks/src/android/text/
DSpannableStringInternalCopyBenchmark.java38 Spanned source = Html.fromHtml(strBuilder.toString()); in setUp()
DSpannableStringBuilderBenchmark.java46 builder = new SpannableStringBuilder(Html.fromHtml(strBuilder.toString())); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/mediaprojection/ui/view/
DEndMediaProjectionDialogHelper.kt95 return Html.fromHtml(text, FROM_HTML_MODE_LEGACY) in getSpecificAppMessageText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseDialog.kt56 setMessage(Html.fromHtml(context.getString(when (sensor) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt158 return Html.fromHtml(dataContentDescription.toString(), 0) in <lambda>()
161 return Html.fromHtml( in <lambda>()
/frameworks/base/core/java/android/text/
DHtml.java188 public static Spanned fromHtml(String source) { in fromHtml() method in Html
189 return fromHtml(source, FROM_HTML_MODE_LEGACY, null, null); in fromHtml()
199 public static Spanned fromHtml(String source, int flags) { in fromHtml() method in Html
200 return fromHtml(source, flags, null, null); in fromHtml()
219 public static Spanned fromHtml(String source, ImageGetter imageGetter, TagHandler tagHandler) { in fromHtml() method in Html
220 return fromHtml(source, FROM_HTML_MODE_LEGACY, imageGetter, tagHandler); in fromHtml()
231 public static Spanned fromHtml(String source, int flags, ImageGetter imageGetter, in fromHtml() method in Html
DTextUtils.java2491 Html.fromHtml(shortString).toString()); in makeSafeForPresentation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt172 return Html.fromHtml(dataContentDescription.toString(), 0) in <lambda>()
175 return Html.fromHtml( in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/
DInstallConfirmationFragment.java93 viewToEnable.setText(Html.fromHtml(dialogMessage, Html.FROM_HTML_MODE_LEGACY)); in onCreateDialog()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java276 mTitle = Html.fromHtml(context.getString( in SaveUi()
282 mTitle = Html.fromHtml(context.getString( in SaveUi()
288 mTitle = Html.fromHtml(context.getString( in SaveUi()
295 mTitle = Html.fromHtml( in SaveUi()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java125 Html.fromHtml(getString(R.string.warning, getSanitizedVpnLabel( in onCreate()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java84 return Html.fromHtml(plain, 0); in getHtmlFromResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DInternetTile.java638 return Html.fromHtml((current == null ? "" : current.toString()), 0); in appendMobileDataType()
641 return Html.fromHtml((dataType == null ? "" : dataType.toString()), 0); in appendMobileDataType()
644 return Html.fromHtml(concat, 0); in appendMobileDataType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFeedbackInfo.java140 prompt.setText(Html.fromHtml(getPrompt())); in bindPrompt()
DNotificationInfo.java285 mAutomaticDescriptionView.setText(Html.fromHtml(mContext.getText( in bindInlineControls()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java163 Html.fromHtml(wifiEntry.getSummary(false), Html.FROM_HTML_MODE_LEGACY)); in onBind()
DInternetDialogDelegate.java476 Html.fromHtml(summary, Html.FROM_HTML_MODE_LEGACY)); in setMobileDataLayout()
528 Html.fromHtml(summary, Html.FROM_HTML_MODE_LEGACY)); in setMobileDataLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiSignalController.java136 CharSequence dataContentDescription = Html.fromHtml( in notifyListenersForCarrierWifi()
DMobileSignalController.java270 CharSequence dataContentDescription = Html.fromHtml( in notifyListeners()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java404 public Spanned fromHtml(String string); in fromHtml() method
406 public Spanned fromHtml(String source, ImageGetter imageGetter, TagHandler tagHandler); in fromHtml() method
1857 public Spanned fromHtml(String source) { in fromHtml() method in EditStyledText.StyledTextHtmlStandard
1858 return Html.fromHtml(source); in fromHtml()
1861 public Spanned fromHtml(String source, ImageGetter imageGetter, TagHandler tagHandler) { in fromHtml() method in EditStyledText.StyledTextHtmlStandard
1862 return Html.fromHtml(source, imageGetter, tagHandler); in fromHtml()
1926 final Spanned spanned = mHtml.fromHtml(html, new Html.ImageGetter() { in SetHtml()
/frameworks/base/core/java/android/content/
DClipData.java581 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText()
694 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java159 Html.fromHtml(updateOwnerString, Html.FROM_HTML_MODE_LEGACY); in startInstallConfirm()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java2286 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit()
2327 Html.fromHtml( in handleConfirmShortCode()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java702 Spanned contentText = Html.fromHtml(getUiContext().getString( in showSensorUseReminderNotification()

12