Home
last modified time | relevance | path

Searched refs:Html (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/support/compat/src/main/java/androidx/core/text/
DHtmlCompat.java26 import android.text.Html;
27 import android.text.Html.ImageGetter;
28 import android.text.Html.TagHandler;
50 Html.TO_HTML_PARAGRAPH_LINES_CONSECUTIVE;
57 Html.TO_HTML_PARAGRAPH_LINES_INDIVIDUAL;
63 Html.FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH;
69 Html.FROM_HTML_SEPARATOR_LINE_BREAK_HEADING;
75 Html.FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM;
81 Html.FROM_HTML_SEPARATOR_LINE_BREAK_LIST;
87 Html.FROM_HTML_SEPARATOR_LINE_BREAK_DIV;
[all …]
/frameworks/support/core/ktx/src/main/java/androidx/core/text/
DHtml.kt20 import android.text.Html
21 import android.text.Html.FROM_HTML_MODE_LEGACY
22 import android.text.Html.ImageGetter
23 import android.text.Html.TO_HTML_PARAGRAPH_LINES_CONSECUTIVE
24 import android.text.Html.TagHandler
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/
DHtmlTest.kt19 import android.text.Html.FROM_HTML_MODE_COMPACT in <lambda>()
20 import android.text.Html.ImageGetter in <lambda>()
21 import android.text.Html.TagHandler in <lambda>()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java29 import android.text.Html;
30 import android.text.Html.ImageGetter;
71 Html.fromHtml(getString(R.string.warning, getVpnLabel()), in onCreate()
/frameworks/base/core/java/android/text/
DHtml.java64 public class Html { class
175 private Html() { } in Html() method in Html
676 private Html.ImageGetter mImageGetter;
677 private Html.TagHandler mTagHandler;
732 public HtmlToSpannedConverter( String source, Html.ImageGetter imageGetter, in HtmlToSpannedConverter()
733 Html.TagHandler tagHandler, Parser parser, int flags) { in HtmlToSpannedConverter()
901 return getMargin(Html.FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH); in getMarginParagraph()
905 return getMargin(Html.FROM_HTML_SEPARATOR_LINE_BREAK_HEADING); in getMarginHeading()
909 return getMargin(Html.FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM); in getMarginListItem()
913 return getMargin(Html.FROM_HTML_SEPARATOR_LINE_BREAK_LIST); in getMarginList()
[all …]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java28 import android.text.Html;
62 setTitle(Html.fromHtml(getString( in onCreate()
74 setTitle(Html.fromHtml(getString(R.string.chooser_title, getCallingAppName()), 0)); in onCreate()
/frameworks/base/core/java/android/content/
DClipData.java30 import android.text.Html;
422 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText()
475 return Html.toHtml((Spanned)text); in coerceToHtmlText()
477 return Html.escapeHtml(text); in coerceToHtmlText()
533 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText()
551 return Html.escapeHtml(text); in coerceToHtmlOrStyledText()
564 return Html.escapeHtml(e.toString()); in coerceToHtmlOrStyledText()
609 builder.append(Html.escapeHtml(uri)); in uriToHtml()
611 builder.append(Html.escapeHtml(uri)); in uriToHtml()
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
DSlicePermissionActivity.java28 import android.text.Html;
93 String labelStr = Html.fromHtml(label).toString(); in loadSafeLabel()
/frameworks/base/config/
Dpreloaded-classes-extra10 android.text.Html$HtmlParser
Dpreloaded-classes2941 android.text.Html
2942 android.text.Html$HtmlParser
2943 android.text.Html$TagHandler
Dhiddenapi-public-dex.txt45124 Landroid/text/Html$ImageGetter;
45125 Landroid/text/Html$ImageGetter;->getDrawable(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;
45126 Landroid/text/Html$TagHandler;
45127 Landroid/text/Html$TagHandler;->handleTag(ZLjava/lang/String;Landroid/text/Editable;Lorg/xml/sax/XM…
45128 Landroid/text/Html;
45129 Landroid/text/Html;->escapeHtml(Ljava/lang/CharSequence;)Ljava/lang/String;
45130 Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
45131 Landroid/text/Html;->fromHtml(Ljava/lang/String;I)Landroid/text/Spanned;
45132 Landroid/text/Html;->fromHtml(Ljava/lang/String;ILandroid/text/Html$ImageGetter;Landroid/text/Html$…
45133 Landroid/text/Html;->fromHtml(Ljava/lang/String;Landroid/text/Html$ImageGetter;Landroid/text/Html$T…
[all …]
Dboot-image-profile.txt5975 HPLandroid/text/Html;->encodeTextAlignmentByDiv(Ljava/lang/StringBuilder;Landroid/text/Spanned;I)V
5976 HPLandroid/text/Html;->toHtml(Landroid/text/Spanned;)Ljava/lang/String;
5977 HPLandroid/text/Html;->withinBlockquoteConsecutive(Ljava/lang/StringBuilder;Landroid/text/Spanned;I…
5978 HPLandroid/text/Html;->withinDiv(Ljava/lang/StringBuilder;Landroid/text/Spanned;III)V
5979 HPLandroid/text/Html;->withinParagraph(Ljava/lang/StringBuilder;Landroid/text/Spanned;II)V
5980 HPLandroid/text/Html;->withinStyle(Ljava/lang/StringBuilder;Ljava/lang/CharSequence;II)V
5983 …nverter;->startImg(Landroid/text/Editable;Lorg/xml/sax/Attributes;Landroid/text/Html$ImageGetter;)V
31142 HSPLandroid/text/Html$TagHandler;->handleTag(ZLjava/lang/String;Landroid/text/Editable;Lorg/xml/sax…
31143 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
31144 HSPLandroid/text/Html;->fromHtml(Ljava/lang/String;I)Landroid/text/Spanned;
[all …]
Dhiddenapi-light-greylist.txt5667 Landroid/text/Html;->withinStyle(Ljava/lang/StringBuilder;Ljava/lang/CharSequence;II)V
/frameworks/support/compat/src/main/java/androidx/core/app/
DShareCompat.java28 import android.text.Html;
386 setText(Html.fromHtml(htmlText)); in setHtmlText()
689 result = Html.toHtml((Spanned) text); in getHtmlText()
692 result = Html.escapeHtml(text); in getHtmlText()
/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/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java42 import android.text.Html;
182 mTitle = Html.fromHtml(context.getString(R.string.autofill_save_title_with_type, in SaveUi()
186 mTitle = Html.fromHtml(context.getString(R.string.autofill_save_title_with_2types, in SaveUi()
190 mTitle = Html.fromHtml(context.getString(R.string.autofill_save_title_with_3types, in SaveUi()
195 mTitle = Html.fromHtml( in SaveUi()
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java167 if ((i > 0) && (tokens.get(i - 1) instanceof Html)) { in parse()
168 ((Html)tokens.get(i - 1)).trimLeadingWhitespace(); in parse()
170 if ((i + 1 < tokens.size()) && (tokens.get(i + 1) instanceof Html)) { in parse()
171 ((Html)tokens.get(i + 1)).trimTrailingWhitespace(); in parse()
282 addToken(new Html(text.substring(start, nextChar), buf.toString())); in parseText()
721 public static class Html extends Token { class in AbstractMessageParser
724 public Html(String text, String html) { in Html() method in AbstractMessageParser.Html
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java30 import android.text.Html;
225 String labelStr = Html.fromHtml(label).toString(); in loadSafeLabel()
418 Html.fromHtml(label).toString()); in loadSafeLabel()
/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceXml.java34 import android.text.Html;
189 b.addText(Html.fromHtml(v), subtype, hints); in parseItem()
308 String text = Html.toHtml((Spanned) item.getText()); in serialize()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java50 import android.text.Html;
59 import android.text.Html.ImageGetter;
60 import android.text.Html.TagHandler;
1846 return Html.toHtml(text); in toHtml()
1850 return Html.toHtml(text); in toHtml()
1854 return Html.toHtml(text); in toHtml()
1858 return Html.fromHtml(source); in fromHtml()
1862 return Html.fromHtml(source, imageGetter, tagHandler); in fromHtml()
1926 final Spanned spanned = mHtml.fromHtml(html, new Html.ImageGetter() { in SetHtml()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java68 import android.text.Html;
1312 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit()
1350 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_short_code_confirm_message, in handleConfirmShortCode()
/frameworks/support/core/ktx/api/
Dcurrent.txt387 …t flags = "FROM_HTML_MODE_LEGACY", android.text.Html.ImageGetter? imageGetter = "null", android.te…
/frameworks/support/compat/api/
Dcurrent.txt1294 ….text.Spanned fromHtml(java.lang.String, int, android.text.Html.ImageGetter, android.text.Html.Tag…
/frameworks/base/api/
Dcurrent.txt43202 public class Html {
43206 …droid.text.Spanned fromHtml(java.lang.String, android.text.Html.ImageGetter, android.text.Html.Tag…
43207 ….text.Spanned fromHtml(java.lang.String, int, android.text.Html.ImageGetter, android.text.Html.Tag…
43223 public static abstract interface Html.ImageGetter {
43227 public static abstract interface Html.TagHandler {

12