Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java133 final Message refMessage = getRefMessage(activity.getContentResolver()); in testRecipientsRefReplyAllCustomFromReplyTo() local
135 refMessage.setFrom("account3@mockuiprovider.com"); in testRecipientsRefReplyAllCustomFromReplyTo()
136 refMessage.setTo("someotheraccount1@mockuiprovider.com, " in testRecipientsRefReplyAllCustomFromReplyTo()
139 refMessage.setReplyTo(customFrom); in testRecipientsRefReplyAllCustomFromReplyTo()
156 activity.initReplyRecipients(refMessage, ComposeActivity.REPLY_ALL); in testRecipientsRefReplyAllCustomFromReplyTo()
176 final Message refMessage = getRefMessage(activity.getContentResolver()); in testRecipientsRefReplyAllOnlyAccount() local
177 refMessage.setFrom("account3@mockuiprovider.com"); in testRecipientsRefReplyAllOnlyAccount()
178 refMessage.setTo("account3@mockuiprovider.com"); in testRecipientsRefReplyAllOnlyAccount()
193 activity.initReplyRecipients(refMessage, ComposeActivity.REPLY_ALL); in testRecipientsRefReplyAllOnlyAccount()
213 final Message refMessage = getRefMessage(activity.getContentResolver()); in testRecipientsRefReplyAllOnlyCustomFrom() local
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1124 private Message createMessage(ReplyFromAccount selectedReplyFromAccount, Message refMessage, in createMessage() argument
1160 if (refMessage != null && !TextUtils.isEmpty(quotedText)) { in createMessage()
1161 if (!TextUtils.isEmpty(refMessage.bodyHtml)) { in createMessage()
1166 } else if (!TextUtils.isEmpty(refMessage.bodyText)) { in createMessage()
1250 private ReplyFromAccount getReplyFromAccountForReply(Account account, Message refMessage) { in getReplyFromAccountForReply() argument
1251 if (refMessage.accountUri != null) { in getReplyFromAccountForReply()
1255 if (from.account.uri.equals(refMessage.accountUri)) { in getReplyFromAccountForReply()
1261 return getReplyFromAccount(account, refMessage); in getReplyFromAccountForReply()
1272 public ReplyFromAccount getReplyFromAccount(Account account, Message refMessage) { in getReplyFromAccount() argument
1282 allRecipients.addAll(Arrays.asList(refMessage.getToAddressesUnescaped())); in getReplyFromAccount()
[all …]
DQuotedTextView.java241 public void setQuotedText(int action, Message refMessage, boolean allow) { in setQuotedText() argument
243 String htmlText = getHtmlText(refMessage); in setQuotedText()
246 Date date = new Date(refMessage.dateReceivedMs); in setQuotedText()
255 refMessage.getFrom(), true))); in setQuotedText()
265 .cleanUpString(refMessage.getFrom(), in setQuotedText()
267 .cleanUpString(refMessage.subject, in setQuotedText()
269 refMessage.getTo(), true))); in setQuotedText()
270 String ccAddresses = refMessage.getCc(); in setQuotedText()
DFromAddressSpinner.java93 Message refMessage) { in initialize() argument
102 if (refMessage != null && refMessage.accountUri != null) { in initialize()
106 if (account.uri.equals(refMessage.accountUri)) { in initialize()