/frameworks/base/core/tests/coretests/src/android/text/ |
D | HtmlTest.java | 40 Spanned spanned = Html.fromHtml("<b>hello</b>"); in testSingleTagOnWhileString() 50 Spanned spanned = Html.fromHtml("Hello <font color=\"#ff00ff00\"></font>"); in testEmptyFontTag() 58 Spanned spanned = Html.fromHtml("Hello <b>b<i>bi</b>i</i>"); in testBadHtml() 73 String spanned = Html.fromHtml("© > <").toString(); in testSymbols() 82 s = Html.fromHtml("<font color=\"#00FF00\">something</font>"); in testColor() 87 s = Html.fromHtml("<font color=\"navy\">something</font>"); in testColor() 92 s = Html.fromHtml("<font color=\"gibberish\">something</font>"); in testColor() 104 s = Html.fromHtml("<font color=\"@android:color/primary_text_dark\">something</font>"); in testResourceColor() 109 s = Html.fromHtml("<font color=\"@android:primary_text_dark\">something</font>"); in testResourceColor() 114 s = Html.fromHtml("<font color=\"@color/primary_text_dark\">something</font>"); in testResourceColor() [all …]
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
D | ShareCompatJB.java | 19 import android.text.Html; 23 return Html.escapeHtml(html); in escapeHtml()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 25 import android.text.Html; 394 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText() 447 return Html.toHtml((Spanned)text); in coerceToHtmlText() 449 return Html.escapeHtml(text); in coerceToHtmlText() 500 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText() 518 return Html.escapeHtml(text); in coerceToHtmlOrStyledText() 528 return Html.escapeHtml(e.toString()); in coerceToHtmlOrStyledText() 567 builder.append(Html.escapeHtml(uri)); in uriToHtml() 569 builder.append(Html.escapeHtml(uri)); in uriToHtml()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 61 public class Html { class 91 private Html() { } in Html() method in Html 419 private Html.ImageGetter mImageGetter; 420 private Html.TagHandler mTagHandler; 423 String source, Html.ImageGetter imageGetter, Html.TagHandler tagHandler, in HtmlToSpannedConverter() 623 Attributes attributes, Html.ImageGetter img) { in startImg()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 167 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/support/v4/java/android/support/v4/app/ |
D | ShareCompat.java | 29 import android.text.Html; 450 setText(Html.fromHtml(htmlText)); in setHtmlText() 753 result = Html.toHtml((Spanned) text); in getHtmlText()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | string-resource.jd | 458 entities, which are then recovered with {@link android.text.Html#fromHtml(String)}, 471 <li>Then format the string as usual, but also call {@link android.text.Html#fromHtml} to 478 CharSequence styledText = Html.fromHtml(text); 483 <p>Because the {@link android.text.Html#fromHtml} method will format all HTML entities, be sure to 489 is passed through {@link android.text.Html#fromHtml}, the characters come out the way they were 497 CharSequence styledText = Html.fromHtml(text);
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 50 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/ |
D | SMSDispatcher.java | 53 import android.text.Html; 1141 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit() 1177 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_short_code_confirm_message, in handleConfirmShortCode()
|
/frameworks/base/ |
D | preloaded-classes | 841 android.text.Html 842 android.text.Html$HtmlParser
|
/frameworks/base/docs/html/sdk/api_diff/16/ |
D | missingSinces.txt | 114 NO DOC BLOCK: android.text.Html Method escapeHtml(java.lang.CharSequence)
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | contacts-provider.jd | 1898 {@link android.text.Html#fromHtml(String) fromHtml()}. The provider may truncate or
|
/frameworks/base/docs/html/ |
D | sitemap.txt | 589 http://developer.android.com/reference/android/text/Html.html 2485 http://developer.android.com/reference/android/text/Html.ImageGetter.html 2486 http://developer.android.com/reference/android/text/Html.TagHandler.html 5491 http://developer.android.com/sdk/api_diff/16/changes/android.text.Html.html
|
/frameworks/base/api/ |
D | current.txt | 22850 public class Html { 22853 …droid.text.Spanned fromHtml(java.lang.String, android.text.Html.ImageGetter, android.text.Html.Tag… 22857 public static abstract interface Html.ImageGetter { 22861 public static abstract interface Html.TagHandler {
|