Home
last modified time | relevance | path

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

/frameworks/base/core/tests/benchmarks/src/android/text/
DSpannableStringBuilderBenchmark.java46 builder = new SpannableStringBuilder(Html.fromHtml(strBuilder.toString())); in setUp()
DSpannableStringInternalCopyBenchmark.java38 Spanned source = Html.fromHtml(strBuilder.toString()); in setUp()
/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.java2376 Html.fromHtml(shortString).toString()); in makeSafeForPresentation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCellularTile.java225 return Html.fromHtml(current.toString(), 0); in appendMobileDataType()
228 return Html.fromHtml(dataType.toString(), 0); in appendMobileDataType()
231 return Html.fromHtml(concat, 0); in appendMobileDataType()
DInternetTile.java534 return Html.fromHtml((current == null ? "" : current.toString()), 0); in appendMobileDataType()
537 return Html.fromHtml((dataType == null ? "" : dataType.toString()), 0); in appendMobileDataType()
540 return Html.fromHtml(concat, 0); in appendMobileDataType()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceActivity.java94 setTitle(Html.fromHtml(getString( in onCreate()
110 setTitle(Html.fromHtml(getString(R.string.chooser_title, in onCreate()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java80 Html.fromHtml(getString(R.string.warning, getVpnLabel()), in onCreate()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java265 mTitle = Html.fromHtml(context.getString( in SaveUi()
271 mTitle = Html.fromHtml(context.getString( in SaveUi()
277 mTitle = Html.fromHtml(context.getString( in SaveUi()
284 mTitle = Html.fromHtml( in SaveUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt154 mMessage = Html.fromHtml(getString(when (sensor) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFeedbackInfo.java141 prompt.setText(Html.fromHtml(getPrompt())); in bindPrompt()
DNotificationInfo.java287 mAutomaticDescriptionView.setText(Html.fromHtml(mContext.getText( in bindInlineControls()
/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.java481 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText()
592 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DWifiSignalController.java153 CharSequence dataContentDescription = Html.fromHtml( in notifyListenersForCarrierWifi()
DMobileSignalController.java383 CharSequence dataContentDescription = Html.fromHtml( in notifyListeners()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java218 return Html.fromHtml(rawValue, FROM_HTML_MODE_COMPACT); in getText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1874 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit()
1915 Html.fromHtml( in handleConfirmShortCode()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java657 .setContentText(Html.fromHtml(getUiContext().getString( in showSensorUseReminderNotification()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4441 .setContentText(Html.fromHtml("<b>foo</b>")); in testVisualDifference_sameTextButStyled()
4448 .setContentText(Html.fromHtml("<b>foo</b>")); in testVisualDifference_sameTextButStyled()
4460 .setContentText(Html.fromHtml("<b>foo</b>")); in testVisualDifference_diffTextButStyled()
4467 .setContentText(Html.fromHtml("<b>bar</b>")); in testVisualDifference_diffTextButStyled()
/frameworks/base/core/api/
Dcurrent.txt44014 method @Deprecated public static android.text.Spanned fromHtml(String);
44015 method public static android.text.Spanned fromHtml(String, int);
44016 …method @Deprecated public static android.text.Spanned fromHtml(String, android.text.Html.ImageGett…
44017 …method public static android.text.Spanned fromHtml(String, int, android.text.Html.ImageGetter, and…
/frameworks/base/boot/
Dboot-image-profile.txt15175 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
15176 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;I)Landroid/text/Spanned;
15177 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Ht…
/frameworks/base/config/
Dboot-image-profile.txt15224 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
15225 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;I)Landroid/text/Spanned;
15226 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Ht…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29608 method public static android.text.Spanned fromHtml(java.lang.String);
29609 …method public static android.text.Spanned fromHtml(java.lang.String, android.text.Html.ImageGetter…