Home
last modified time | relevance | path

Searched refs:htmlText (Results 1 – 4 of 4) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DQuotedTextView.java243 String htmlText = getHtmlText(refMessage); in setQuotedText() local
258 quotedText.append(htmlText); in setQuotedText()
275 quotedText.append(htmlText); in setQuotedText()
286 public void setQuotedTextFromDraft(CharSequence htmlText, boolean forward) { in setQuotedTextFromDraft() argument
288 setQuotedText(htmlText); in setQuotedTextFromDraft()
295 public void setQuotedTextFromHtml(CharSequence htmlText, boolean shouldQuoteText) { in setQuotedTextFromHtml() argument
305 quotedText.append(htmlText); in setQuotedTextFromHtml()
310 setQuotedText(htmlText); in setQuotedTextFromHtml()
356 public static int findQuotedTextIndex(CharSequence htmlText) { in findQuotedTextIndex() argument
357 if (TextUtils.isEmpty(htmlText)) { in findQuotedTextIndex()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java339 public static String convertHtmlToPlainText(String htmlText) { in convertHtmlToPlainText() argument
340 if (TextUtils.isEmpty(htmlText)) { in convertHtmlToPlainText()
343 return getHtmlTree(htmlText, new HtmlParser(), new HtmlTreeBuilder()).getPlainText(); in convertHtmlToPlainText()
346 public static String convertHtmlToPlainText(String htmlText, HtmlParser parser, in convertHtmlToPlainText() argument
348 if (TextUtils.isEmpty(htmlText)) { in convertHtmlToPlainText()
351 return getHtmlTree(htmlText, parser, builder).getPlainText(); in convertHtmlToPlainText()
357 public static HtmlTree getHtmlTree(String htmlText) { in getHtmlTree() argument
358 return getHtmlTree(htmlText, new HtmlParser(), new HtmlTreeBuilder()); in getHtmlTree()
364 private static HtmlTree getHtmlTree(String htmlText, HtmlParser parser, in getHtmlTree() argument
366 final HtmlDocument doc = parser.parse(htmlText); in getHtmlTree()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlDocument.java184 public static Text createEscapedText(String htmlText, String original) { in createEscapedText() argument
185 return new EscapedText(htmlText, original); in createEscapedText()
464 private final String htmlText; field in HtmlDocument.EscapedText
467 private EscapedText(String htmlText, String originalHtml) { in EscapedText() argument
469 this.htmlText = htmlText; in EscapedText()
474 text = StringUtil.unescapeHTML(htmlText); in getText()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DTextUtilities.java344 /*package*/ static int findTagEnd(String htmlText, String tag, int startPos) { in findTagEnd() argument
348 int length = htmlText.length(); in findTagEnd()
351 char c = htmlText.charAt(i); in findTagEnd()
361 return htmlText.indexOf("/" + tag, startPos); in findTagEnd()