Home
last modified time | relevance | path

Searched refs:htmlTree (Results 1 – 3 of 3) sorted by relevance

/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DNotificationUtilsTest.java40 final HtmlTree htmlTree = Utils.getHtmlTree(html); in testMailMessagePlainTextConverterStyles() local
41 htmlTree.setConverterFactory(new HtmlTree.ConverterFactory() { in testMailMessagePlainTextConverterStyles()
48 final String resultText = htmlTree.getPlainText(); in testMailMessagePlainTextConverterStyles()
67 final HtmlTree htmlTree = Utils.getHtmlTree(html); in testMailMessagePlainTextConverterNestedStyles() local
68 htmlTree.setConverterFactory(new HtmlTree.ConverterFactory() { in testMailMessagePlainTextConverterNestedStyles()
75 final String resultText = htmlTree.getPlainText(); in testMailMessagePlainTextConverterNestedStyles()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlUtils.java53 final HtmlTree htmlTree = com.android.mail.utils.Utils.getHtmlTree(html); in htmlToSpan() local
54 htmlTree.setConverterFactory(factory); in htmlToSpan()
55 final Spanned spanned = htmlTree.getSpanned(); in htmlToSpan()
DNotificationUtils.java1820 final HtmlTree htmlTree = com.android.mail.utils.Utils.getHtmlTree(html); in getMessageBodyWithoutElidedText() local
1821 htmlTree.setConverterFactory(MESSAGE_CONVERTER_FACTORY); in getMessageBodyWithoutElidedText()
1823 return htmlTree.getPlainText(); in getMessageBodyWithoutElidedText()