Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DNotificationUtilsTest.java23 import com.google.android.mail.common.html.parser.HtmlTree;
40 final HtmlTree htmlTree = Utils.getHtmlTree(html); in testMailMessagePlainTextConverterStyles()
41 htmlTree.setConverterFactory(new HtmlTree.ConverterFactory() { in testMailMessagePlainTextConverterStyles()
43 public HtmlTree.Converter<String> createInstance() { in testMailMessagePlainTextConverterStyles()
67 final HtmlTree htmlTree = Utils.getHtmlTree(html); in testMailMessagePlainTextConverterNestedStyles()
68 htmlTree.setConverterFactory(new HtmlTree.ConverterFactory() { in testMailMessagePlainTextConverterNestedStyles()
70 public HtmlTree.Converter<String> createInstance() { in testMailMessagePlainTextConverterNestedStyles()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlUtils.java36 import com.google.android.mail.common.html.parser.HtmlTree;
50 public static Spanned htmlToSpan(String html, HtmlTree.ConverterFactory factory) { in htmlToSpan()
53 final HtmlTree htmlTree = com.android.mail.utils.Utils.getHtmlTree(html); in htmlToSpan()
77 public static class SpannedConverter implements HtmlTree.Converter<Spanned> {
85 private final HtmlTree.DefaultPlainTextConverter mTextConverter =
86 new HtmlTree.DefaultPlainTextConverter();
DNotificationUtils.java69 import com.google.android.mail.common.html.parser.HtmlTree;
105 private static final HtmlTree.ConverterFactory MESSAGE_CONVERTER_FACTORY =
106 new HtmlTree.ConverterFactory() {
108 public HtmlTree.Converter<String> createInstance() {
1820 final HtmlTree htmlTree = com.android.mail.utils.Utils.getHtmlTree(html); in getMessageBodyWithoutElidedText()
1943 public static class MailMessagePlainTextConverter extends HtmlTree.DefaultPlainTextConverter {
DUtils.java66 import com.google.android.mail.common.html.parser.HtmlTree;
357 public static HtmlTree getHtmlTree(String htmlText) { in getHtmlTree()
364 private static HtmlTree getHtmlTree(String htmlText, HtmlParser parser, in getHtmlTree()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTreeBuilder.java41 private HtmlTree tree;
45 public HtmlTree getTree() { in getTree()
52 tree = new HtmlTree(); in start()
DHtmlTree.java51 public class HtmlTree { class
125 private static final Logger logger = Logger.getLogger(HtmlTree.class.getName());
130 HtmlTree() { in HtmlTree() method in HtmlTree
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java118 import com.google.android.mail.common.html.parser.HtmlTree;
361 private final HtmlTree.ConverterFactory mSpanConverterFactory =
362 new HtmlTree.ConverterFactory() {
364 public HtmlTree.Converter<Spanned> createInstance() {
1554 protected HtmlTree.Converter<Spanned> getSpanConverter() { in getSpanConverter()