Home
last modified time | relevance | path

Searched refs:HTML4 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTreeBuilder.java199 if (HTML4.TABLE_ELEMENT.equals(element)) { in seeTag()
211 if (HTML4.TD_ELEMENT.equals(element) || in seeTag()
212 HTML4.TH_ELEMENT.equals(element)) { in seeTag()
215 } else if (HTML4.CAPTION_ELEMENT.equals(element)) { in seeTag()
224 if (!HTML4.FORM_ELEMENT.equals(element)) { in seeTag()
236 if (HTML4.TD_ELEMENT.equals(element) || in seeEndTag()
237 HTML4.TR_ELEMENT.equals(element) || in seeEndTag()
238 HTML4.TH_ELEMENT.equals(element)) { in seeEndTag()
242 } else if (HTML4.CAPTION_ELEMENT.equals(element)) { // End caption in seeEndTag()
245 } else if (HTML4.TABLE_ELEMENT.equals(element)) { // End table in seeEndTag()
[all …]
DHtmlTree.java277 if (HTML4.TEXTAREA_ELEMENT.equals( in getHtmlChunks()
283 if (HTML4.TEXTAREA_ELEMENT.equals( in getHtmlChunks()
882 HTML4.P_ELEMENT,
883 HTML4.BLOCKQUOTE_ELEMENT,
884 HTML4.PRE_ELEMENT);
916 } else if (HTML4.BR_ELEMENT.equals(element)) {
924 if (HTML4.HR_ELEMENT.equals(element)) {
930 if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) {
933 } else if (HTML4.PRE_ELEMENT.equals(element)) {
935 } else if (HTML4.STYLE_ELEMENT.equals(element)) {
[all …]
DHTML4.java35 public final class HTML4 { class
49 return HTML4.lookupElement(name);
56 return HTML4.lookupAttribute(name);
62 return HTML4.defaultWhitelist; in getWhitelist()
DHtmlParser.java67 public static final HtmlWhitelist DEFAULT_WHITELIST = HTML4.getWhitelist();
783 if (HTML4.SCRIPT_ELEMENT.equals(element) || HTML4.STYLE_ELEMENT.equals(element)) { in scanTag()
1092 X.assertTrue(HTML4.SCRIPT_ELEMENT.equals(element) || HTML4.STYLE_ELEMENT.equals(element));
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlUtils.java34 import com.google.android.mail.common.html.parser.HTML4;
134 if (HTML4.B_ELEMENT.equals(element)) { in handleEnd()
137 } else if (HTML4.I_ELEMENT.equals(element)) { in handleEnd()
140 } else if (HTML4.U_ELEMENT.equals(element)) { in handleEnd()
143 } else if (HTML4.A_ELEMENT.equals(element)) { in handleEnd()
145 HtmlDocument.TagAttribute attr = lastSeen.tag.getAttribute(HTML4.HREF_ATTRIBUTE); in handleEnd()
151 } else if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) { in handleEnd()
154 } else if (HTML4.FONT_ELEMENT.equals(element)) { in handleEnd()
175 HtmlDocument.TagAttribute attr = wrapper.tag.getAttribute(HTML4.COLOR_ATTRIBUTE); in handleFont()
185 attr = wrapper.tag.getAttribute(HTML4.SIZE_ATTRIBUTE); in handleFont()
[all …]
DNotificationUtils.java67 import com.google.android.mail.common.html.parser.HTML4;
1953 HtmlDocument.createSelfTerminatingTag(HTML4.BR_ELEMENT, null, null, null);