Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DHtmlTest.java40 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("&copy; &gt; &lt").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/
DShareCompatJB.java19 import android.text.Html;
23 return Html.escapeHtml(html); in escapeHtml()
/frameworks/base/core/java/android/content/
DClipData.java25 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/
DHtml.java61 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/
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/support/v4/java/android/support/v4/app/
DShareCompat.java29 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/
Dstring-resource.jd458 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/
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.java53 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/
Dpreloaded-classes841 android.text.Html
842 android.text.Html$HtmlParser
/frameworks/base/docs/html/sdk/api_diff/16/
DmissingSinces.txt114 NO DOC BLOCK: android.text.Html Method escapeHtml(java.lang.CharSequence)
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd1898 {@link android.text.Html#fromHtml(String) fromHtml()}. The provider may truncate or
/frameworks/base/docs/html/
Dsitemap.txt589 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/
Dcurrent.txt22850 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 {