Home
last modified time | relevance | path

Searched refs:bodyText (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java157 final String[] bodyText = buildBodyText(body, useSmartReply); in writeTo() local
169 writeTextWithHeaders(writer, stream, bodyText); in writeTo()
191 if (bodyText[INDEX_BODY_TEXT] != null || bodyText[INDEX_BODY_HTML] != null) { in writeTo()
193 writeTextWithHeaders(writer, stream, bodyText); in writeTo()
365 private static void writeTextWithHeaders(Writer writer, OutputStream out, String[] bodyText) in writeTextWithHeaders() argument
368 String text = bodyText[INDEX_BODY_TEXT]; in writeTextWithHeaders()
370 text = bodyText[INDEX_BODY_HTML]; in writeTextWithHeaders()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMessage.java123 public String bodyText; field in Message
261 TextUtils.equals(this.bodyText, o.bodyText) && in isEqual()
281 dest.writeString(bodyText); in writeToParcel()
317 bodyText = in.readString(); in Message()
379 bodyText = cursor.getString(UIProvider.MESSAGE_BODY_TEXT_COLUMN); in Message()
467 bodyText = data.textContent; in Message()
717 } else if (!TextUtils.isEmpty(bodyText)) { in getBodyAsHtml()
718 final SpannableString spannable = new SpannableString(bodyText); in getBodyAsHtml()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1159 message.bodyText = body.toString(); in createMessage()
1162 if (message.bodyText != null && message.bodyText.trim().length() > 0 && in createMessage()
1164 LogUtils.w(LOG_TAG, "FAILED HTML CONVERSION: from %d to %d", message.bodyText.length(), in createMessage()
1168 message.bodyHtml = "<p>" + message.bodyText + "</p>"; in createMessage()
1187 } else if (!TextUtils.isEmpty(refMessage.bodyText)) { in createMessage()
1634 final String body = message.bodyText; in initFromDraftMessage()
1635 final CharSequence bodyText; in initFromDraftMessage() local
1637 bodyText = ""; in initFromDraftMessage()
1648 bodyText = quotedTextIndex > -1 ? body.substring(0, quotedTextIndex) : body; in initFromDraftMessage()
1653 setBody(bodyText, false); in initFromDraftMessage()
[all …]
DQuotedTextView.java233 } else if (message.bodyText != null) { in getHtmlText()
235 return Html.toHtml(new SpannedString(message.bodyText)); in getHtmlText()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTurnAutoSyncOnDialog.java75 final String bodyText = resources.getString( in onCreateDialog() local
79 .setMessage(bodyText) in onCreateDialog()
DConversationViewFragment.java1671 !TextUtils.equals(newMsg.bodyText, oldMsg.bodyText)) { in processInPlaceUpdates()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java907 String bodyText = null;
933 bodyText = jsonReader.nextString();
967 if (bodyText != null) {
968 mms.body = new MmsBody(bodyText, bodyCharset);
972 || mms.attachments.size() == 0) && bodyText != null ? 1 : 0);