Home
last modified time | relevance | path

Searched refs:html (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlParser.java16 package com.google.android.mail.common.html.parser;
58 private String html; field in HtmlParser
187 public HtmlDocument parse(String html) { in parse() argument
188 this.html = html; in parse()
195 int end = html.length(); in parse()
239 html = null; in parse()
324 char ch = html.charAt(pos); in scanText()
327 ch = html.charAt(pos + 1); in scanText()
331 if (html.regionMatches(pos + 1, "!--", 0, 3)) { in scanText()
343 String htmlTail = this.html.substring(start, finalPos); in scanText()
[all …]
DHtmlTreeBuilder.java16 package com.google.android.mail.common.html.parser;
19 import com.google.android.mail.common.html.parser.HtmlDocument.EndTag;
298 String html = new String(ByteStreams.toByteArray(System.in)); in main() local
300 HtmlDocument doc = parser.parse(html); in main()
DHtmlTree.java16 package com.google.android.mail.common.html.parser;
115 private String html; field in HtmlTree
201 if (html == null) { in getHtml()
202 html = getHtml(0, nodes.size(), wrapSize); in getHtml()
204 return html; in getHtml()
DHtmlDocument.java17 package com.google.android.mail.common.html.parser;
339 private String html; field in HtmlDocument.Text
401 if (html == null) { in toHTML()
402 html = CharEscapers.asciiHtmlEscaper().escape(getText()); in toHTML()
404 sb.append(html); in toHTML()
DHtmlWhitelist.java17 package com.google.android.mail.common.html.parser;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlSanitizer.java25 import org.owasp.html.AttributePolicy;
26 import org.owasp.html.CssSchema;
27 import org.owasp.html.ElementPolicy;
28 import org.owasp.html.FilterUrlByProtocolAttributePolicy;
29 import org.owasp.html.Handler;
30 import org.owasp.html.HtmlPolicyBuilder;
31 import org.owasp.html.HtmlStreamRenderer;
32 import org.owasp.html.PolicyFactory;
398 final org.owasp.html.HtmlSanitizer.Policy policy = POLICY_DEFINITION.apply(renderer); in sanitizeHtml()
403 org.owasp.html.HtmlSanitizer.sanitize(rawHtml, policy); in sanitizeHtml()
DHtmlUtils.java33 import com.google.android.mail.common.html.parser.HTML;
34 import com.google.android.mail.common.html.parser.HTML4;
35 import com.google.android.mail.common.html.parser.HtmlDocument;
36 import com.google.android.mail.common.html.parser.HtmlTree;
50 public static Spanned htmlToSpan(String html, HtmlTree.ConverterFactory factory) { in htmlToSpan() argument
53 final HtmlTree htmlTree = com.android.mail.utils.Utils.getHtmlTree(html); in htmlToSpan()
58 LogUtils.i(LOG_TAG, "htmlToSpan completed, input: %d, result: %d", html.length(), in htmlToSpan()
DNotificationUtils.java66 import com.google.android.mail.common.html.parser.HTML;
67 import com.google.android.mail.common.html.parser.HTML4;
68 import com.google.android.mail.common.html.parser.HtmlDocument;
69 import com.google.android.mail.common.html.parser.HtmlTree;
1815 public static String getMessageBodyWithoutElidedText(String html) { in getMessageBodyWithoutElidedText() argument
1816 if (TextUtils.isEmpty(html)) { in getMessageBodyWithoutElidedText()
1820 final HtmlTree htmlTree = com.android.mail.utils.Utils.getHtmlTree(html); in getMessageBodyWithoutElidedText()
DUtils.java65 import com.google.android.mail.common.html.parser.HtmlDocument;
66 import com.google.android.mail.common.html.parser.HtmlParser;
67 import com.google.android.mail.common.html.parser.HtmlTree;
68 import com.google.android.mail.common.html.parser.HtmlTreeBuilder;
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DNotificationUtilsTest.java23 import com.google.android.mail.common.html.parser.HtmlTree;
32 final String html = "<body style=3D=22margin:0; padding:0;=22>" in testMailMessagePlainTextConverterStyles() local
40 final HtmlTree htmlTree = Utils.getHtmlTree(html); in testMailMessagePlainTextConverterStyles()
58 final String html = "<body style=3D=22margin:0; padding:0;=22>" in testMailMessagePlainTextConverterNestedStyles() local
67 final HtmlTree htmlTree = Utils.getHtmlTree(html); in testMailMessagePlainTextConverterNestedStyles()
/packages/apps/ExactCalculator/
Dproguard.flags2 # http://proguard.sourceforge.net/index.html#manual/usage.html
18 # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
24 # see http://proguard.sourceforge.net/manual/examples.html#beans
35 # For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java80 /*package*/ static String getHtmlBody(String html) { in getHtmlBody() argument
81 final Matcher match = BODY_PATTERN.matcher(html); in getHtmlBody()
85 return html; // Body not found; return the full HTML and hope for the best in getHtmlBody()
367 boolean html = false; in writeTextWithHeaders()
371 html = true; in writeTextWithHeaders()
377 final String mimeType = "text/" + (html ? "html" : "plain"); in writeTextWithHeaders()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DTextUtilities.java567 public static CharSequence highlightTerms(String text, String query, boolean html) in highlightTerms() argument
584 final Appendable sb = html ? new StringBuilder() : new SpannableStringBuilder(); in highlightTerms()
594 if (html) { in highlightTerms()
658 if (html) { in highlightTerms()
/packages/apps/Browser2/
Drun_startup_time_test.sh14 adb push $TMPFILE /data/local/tmp/file.html
37 adb shell rm /data/local/tmp/file.html
/packages/apps/TV/
Dopen_source_project.README7 https://source.android.com/source/building.html
13 https://source.android.com/source/building.html
/packages/apps/Settings/
Dproguard.flags2 # http://proguard.sourceforge.net/index.html#manual/usage.html
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHtmlConversationTemplates.java110 static String replaceAbsoluteImgUrls(final String html) { in replaceAbsoluteImgUrls() argument
111 return sAbsoluteImgUrlPattern.matcher(html).replaceAll(IMG_URL_REPLACEMENT); in replaceAbsoluteImgUrls()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java255 String html = "<html><body><b><i>This is some html!!!</i></b></body></html>"; in createMessageDetailsMap() local
256 messageMap.put(MessageColumns.BODY_HTML, html); in createMessageDetailsMap()
257 messageMap.put(MessageColumns.BODY_TEXT, Html.fromHtml(html)); in createMessageDetailsMap()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in921 # (index.html). This can be useful if you have a project on for instance GitHub
985 # (see http://www.gnu.org/software/global/global.html). You will need version
1069 # The default directory is: html.
1072 HTML_OUTPUT = html
1076 # The default value is: .html.
1079 HTML_FILE_EXTENSION = .html
1089 # doxygen -w html new_header.html new_footer.html new_stylesheet.css
1091 # and then modify the file new_header.html. See also section "Doxygen usage"
1099 HTML_HEADER = ./doc/misc/header.html
1109 HTML_FOOTER = ./doc/misc/footer.html
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DQuotedTextView.java192 String html = "<head><style type=\"text/css\">* body { color: " + in populateData() local
194 mQuotedTextWebView.loadDataWithBaseURL(null, html, "text/html", "utf-8", null); in populateData()
/packages/apps/UnifiedEmail/src/com/android/mail/print/
DPrintUtils.java89 private static void printHtml(Context context, String html, in printHtml() argument
95 webView.loadDataWithBaseURL(baseUri, html, "text/html", "utf-8", null); in printHtml()
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile765 # tagging system (see http://www.gnu.org/software/global/global.html). You
810 # put in front of it. If left blank `html' will be used as the default path.
812 HTML_OUTPUT = html
816 # doxygen will generate files with .html extension.
818 HTML_FILE_EXTENSION = .html
863 # See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
891 # written to the html output directory.
940 # http://doc.trolltech.com/qthelpproject.html#namespace
946 # http://doc.trolltech.com/qthelpproject.html#virtual-folders
952 # http://doc.trolltech.com/qthelpproject.html#custom-filters
[all …]
DReadme.txt1 To generate the html docs, execute
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile765 # tagging system (see http://www.gnu.org/software/global/global.html). You
810 # put in front of it. If left blank `html' will be used as the default path.
812 HTML_OUTPUT = html
816 # doxygen will generate files with .html extension.
818 HTML_FILE_EXTENSION = .html
863 # See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
891 # written to the html output directory.
940 # http://doc.trolltech.com/qthelpproject.html#namespace
946 # http://doc.trolltech.com/qthelpproject.html#virtual-folders
952 # http://doc.trolltech.com/qthelpproject.html#custom-filters
[all …]
DReadme.txt1 To generate the html docs, execute

12