Home
last modified time | relevance | path

Searched refs:fromHtml (Results 1 – 9 of 9) 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/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/base/core/java/android/content/
DClipData.java394 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText()
500 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText()
/frameworks/base/core/java/android/text/
DHtml.java101 public static Spanned fromHtml(String source) { in fromHtml() method in Html
102 return fromHtml(source, null, null); in fromHtml()
123 public static Spanned fromHtml(String source, ImageGetter imageGetter, in fromHtml() method in Html
/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/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java837 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit()
873 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_short_code_confirm_message, in handleConfirmShortCode()
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java450 setText(Html.fromHtml(htmlText)); in setHtmlText()
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd1898 {@link android.text.Html#fromHtml(String) fromHtml()}. The provider may truncate or
/frameworks/base/api/
Dcurrent.txt24316 method public static android.text.Spanned fromHtml(java.lang.String);
24317 …method public static android.text.Spanned fromHtml(java.lang.String, android.text.Html.ImageGetter…