Home
last modified time | relevance | path

Searched refs:toHtml (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DHtmlTest.java140 assertEquals(Html.toHtml(s), "<p>Hello world</p>\n"); in testParagraphs()
143 assertEquals(Html.toHtml(s), "<p>Hello world<br>\nor something</p>\n"); in testParagraphs()
146 assertEquals(Html.toHtml(s), "<p>Hello world</p>\n<p>or something</p>\n"); in testParagraphs()
149 assertEquals(Html.toHtml(s), "<p>Hello world<br></p>\n<p>or something</p>\n"); in testParagraphs()
162 assertEquals(Html.toHtml(s), "<blockquote><p>Hello world</p>\n</blockquote>\n"); in testBlockquote()
166 assertEquals(Html.toHtml(s), "<blockquote><p>Hello</p>\n</blockquote>\n<p>world</p>\n"); in testBlockquote()
174 assertEquals(Html.toHtml(s), "<p>Hello &lt;&amp;&gt; world</p>\n"); in testEntities()
177 assertEquals(Html.toHtml(s), "<p>Hello &#981; world</p>\n"); in testEntities()
180 assertEquals(Html.toHtml(s), "<p>Hello&nbsp; world</p>\n"); in testEntities()
190 assertEquals(Html.toHtml(s), "<p>Hello <b>bold</b> world</p>\n"); in testMarkup()
[all …]
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java179 (tokens.get(i).toHtml(true).length() == 0)) { in parse()
713 public String toHtml(boolean caps) { throw new AssertionError("not html"); } in toHtml() method in AbstractMessageParser.Token
730 public String toHtml(boolean caps) { in toHtml() method in AbstractMessageParser.Html
1192 public String toHtml(boolean caps) { in toHtml() method in AbstractMessageParser.Format
1240 public String toHtml() { in toHtml() method in AbstractMessageParser
1249 html.append(token.toHtml(caps)); in toHtml()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java398 public String toHtml(Spanned text); in toHtml() method
400 public String toHtml(Spanned text, boolean escapeNonAsciiChar); in toHtml() method
402 public String toHtml(Spanned text, boolean escapeNonAsciiChar, int width, float scale); in toHtml() method
1845 public String toHtml(Spanned text) { in toHtml() method in EditStyledText.StyledTextHtmlStandard
1846 return Html.toHtml(text); in toHtml()
1849 public String toHtml(Spanned text, boolean escapeNonAsciiChar) { in toHtml() method in EditStyledText.StyledTextHtmlStandard
1850 return Html.toHtml(text); in toHtml()
1853 public String toHtml(Spanned text, boolean escapeNonAsciiChar, int width, float scale) { in toHtml() method in EditStyledText.StyledTextHtmlStandard
1854 return Html.toHtml(text); in toHtml()
1882 String htmlBody = mHtml.toHtml(mEST.getText(), escapeFlag); in getHtml()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java753 result = Html.toHtml((Spanned) text); in getHtmlText()
/frameworks/base/core/java/android/content/
DClipData.java447 return Html.toHtml((Spanned)text); in coerceToHtmlText()
/frameworks/base/core/java/android/text/
DHtml.java145 public static String toHtml(Spanned text) { in toHtml() method in Html
/frameworks/base/api/
Dcurrent.txt22854 method public static java.lang.String toHtml(android.text.Spanned);