OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:localMessage
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Email/src/com/android/email/
LegacyConversions.java
74
* @param
localMessage
The message we'd like to write into the DB
77
public static boolean updateMessageFields(EmailContent.Message
localMessage
, Message message,
90
localMessage
.mDisplayName = from[0].toFriendly();
93
localMessage
.mTimeStamp = sentDate.getTime();
96
localMessage
.mSubject = subject;
98
localMessage
.mFlagRead = message.isSet(Flag.SEEN);
100
localMessage
.mFlags |= EmailContent.Message.FLAG_REPLIED_TO;
105
if (
localMessage
.mFlagLoaded != EmailContent.Message.FLAG_LOADED_COMPLETE) {
106
if (
localMessage
.mDisplayName == null || "".equals(
localMessage
.mDisplayName))
[
all
...]
MessagingController.java
550
EmailContent.Message
localMessage
= null;
552
localMessage
= new EmailContent.Message();
554
localMessage
= EmailContent.Message.restoreMessageWithId(
558
if (
localMessage
!= null) {
561
LegacyConversions.updateMessageFields(
localMessage
,
564
saveOrUpdate(
localMessage
, mContext);
567
unseenMessages.add(
localMessage
.mId);
681
EmailContent.Message
localMessage
= new EmailContent.Message();
684
LegacyConversions.updateMessageFields(
localMessage
,
687
saveOrUpdate(
localMessage
, mContext)
[
all
...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
ConversionUtilities.java
61
EmailContent.Message
localMessage
, ArrayList<Part> viewables)
64
body.mMessageKey =
localMessage
.mId;
94
localMessage
.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK;
95
localMessage
.mFlags |= isQuotedReply
118
localMessage
.mSnippet = TextUtilities.makeSnippetFromPlainText(text);
123
if (
localMessage
.mSnippet == null) {
124
localMessage
.mSnippet = TextUtilities.makeSnippetFromHtmlText(text);
/packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java
104
EmailContent.Message
localMessage
= new EmailContent.Message();
106
boolean result = LegacyConversions.updateMessageFields(
localMessage
, message, 1, 1);
108
checkProviderMessage("testUpdateMessageFields", message,
localMessage
);
118
EmailContent.Message
localMessage
= new EmailContent.Message();
121
localMessage
.mMessageId = MESSAGE_ID_2;
124
boolean result = LegacyConversions.updateMessageFields(
localMessage
, message, 1, 1);
126
assertEquals(MESSAGE_ID_2,
localMessage
.mMessageId);
180
EmailContent.Message
localMessage
= new EmailContent.Message();
186
boolean result = ConversionUtilities.updateBodyFields(localBody,
localMessage
, viewables);
200
final EmailContent.Message
localMessage
= ProviderTestUtils.setupMessage
[
all
...]
Completed in 36 milliseconds