Home
last modified time | relevance | path

Searched refs:html (Results 1 – 25 of 42) 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()
DUtils.java64 import com.google.android.mail.common.html.parser.HtmlDocument;
65 import com.google.android.mail.common.html.parser.HtmlParser;
66 import com.google.android.mail.common.html.parser.HtmlTree;
67 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/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/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/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/LegacyCamera/jni/feature_stab/doc/
DReadme.txt1 To generate the html docs, execute
/packages/apps/LegacyCamera/jni/feature_mos/doc/
DReadme.txt1 To generate the html docs, execute
/packages/apps/Test/connectivity/sl4n/rapidjson/
D.gitignore6 /doc/html
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DThirdPartyProject.prop10 homepage=http\://james.apache.org/index.html
/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/Camera2/
Dproguard-project.txt11 # http://developer.android.com/guide/developing/tools/proguard.html
/packages/apps/ManagedProvisioning/tests/
DREADME17 http://developer.android.com/reference/android/test/InstrumentationTestRunner.html
/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/Settings/tests/unit/
DREADME17 http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dperformance.md19 * [QJsonDocument](http://qt-project.org/doc/qt-5.0/qtcore/qjsondocument.html)

12