OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HtmlTree
(Results
1 - 7
of
7
) 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
...]
Utils.java
66
import com.google.android.mail.common.html.parser.
HtmlTree
;
355
* Returns a {@link
HtmlTree
} representation of the specified HTML string.
357
public static
HtmlTree
getHtmlTree(String htmlText) {
362
* Returns a {@link
HtmlTree
} representation of the specified HTML string.
364
private static
HtmlTree
getHtmlTree(String htmlText, HtmlParser parser,
[
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
...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
HtmlTreeBuilder.java
29
* HtmlTreeBuilder builds a well-formed
HtmlTree
.
31
* @see
HtmlTree
41
private
HtmlTree
tree;
45
public
HtmlTree
getTree() {
52
tree = new
HtmlTree
();
HtmlTree.java
35
*
HtmlTree
represents a parsed and well-formed html text, it provides
51
public class
HtmlTree
{
62
* the contents of an {@link
HtmlTree
} to some resulting object.
68
* An interface for an object which converts a single
HtmlTree
into some object
125
private static final Logger logger = Logger.getLogger(
HtmlTree
.class.getName());
129
/**
HtmlTree
can only be constructed from this package */
130
HtmlTree
() {
875
* Contains the logic for converting the contents of one
HtmlTree
into
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
ComposeActivity.java
118
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() {
[
all
...]
Completed in 400 milliseconds