OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:htmlTree
(Results
1 - 3
of
3
) sorted by null
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
NotificationUtilsTest.java
23
import com.google.android.mail.common.html.parser.
HtmlTree
;
40
final
HtmlTree
htmlTree
= Utils.getHtmlTree(html);
41
htmlTree
.setConverterFactory(new
HtmlTree
.ConverterFactory() {
43
public
HtmlTree
.Converter<String> createInstance() {
48
final String resultText =
htmlTree
.getPlainText();
67
final
HtmlTree
htmlTree
= Utils.getHtmlTree(html);
68
htmlTree
.setConverterFactory(new HtmlTree.ConverterFactory()
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
HtmlUtils.java
36
import com.google.android.mail.common.html.parser.
HtmlTree
;
46
* Use our custom SpannedConverter to process the HtmlNode results from
HtmlTree
.
50
public static Spanned htmlToSpan(String html,
HtmlTree
.ConverterFactory factory) {
53
final
HtmlTree
htmlTree
= com.android.mail.utils.Utils.getHtmlTree(html);
54
htmlTree
.setConverterFactory(factory);
55
final Spanned spanned =
htmlTree
.getSpanned();
77
public static class SpannedConverter implements
HtmlTree
.Converter<Spanned> {
85
private final
HtmlTree
.DefaultPlainTextConverter mTextConverter =
86
new
HtmlTree
.DefaultPlainTextConverter()
[
all
...]
NotificationUtils.java
69
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() {
[
all
...]
Completed in 86 milliseconds