Lines Matching refs:EmailContent
43 import com.android.emailcommon.provider.EmailContent;
44 import com.android.emailcommon.provider.EmailContent.Attachment;
45 import com.android.emailcommon.provider.EmailContent.Body;
46 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
47 import com.android.emailcommon.provider.EmailContent.Message;
48 import com.android.emailcommon.provider.EmailContent.MessageColumns;
99 EmailContent.RECORD_ID,
100 EmailContent.MessageColumns.ACCOUNT_KEY
214 c = resolver.query(Mailbox.CONTENT_URI, EmailContent.ID_PROJECTION,
217 long mailboxId = c.getLong(EmailContent.ID_PROJECTION_COLUMN);
477 public void saveToMailbox(final EmailContent.Message message, final int mailboxType) {
491 * @param mailboxType the mailbox type (e.g. EmailContent.Mailbox.TYPE_TRASH)
579 cv.put(EmailContent.MessageColumns.MAILBOX_KEY, outboxId);
705 cv.put(EmailContent.FIELD_COLUMN_NAME, MailboxColumns.VISIBLE_LIMIT);
706 cv.put(EmailContent.ADD_COLUMN_NAME, Email.VISIBLE_LIMIT_INCREMENT);
722 Cursor c = resolver.query(EmailContent.Message.CONTENT_URI,
723 MESSAGEID_TO_ACCOUNTID_PROJECTION, EmailContent.RECORD_ID + "=?",
798 Uri uri = ContentUris.withAppendedId(EmailContent.Message.SYNCED_CONTENT_URI,
809 cv.put(EmailContent.MessageColumns.MAILBOX_KEY, trashMailboxId);
841 cv.put(EmailContent.MessageColumns.MAILBOX_KEY, newMailboxId);
845 EmailContent.Message.SYNCED_CONTENT_URI, messageId);
863 setMessageBooleanSync(messageId, EmailContent.MessageColumns.FLAG_READ, isRead);
878 setMessageBooleanSync(messageId, EmailContent.MessageColumns.FLAG_READ, isRead);
889 Uri uri = ContentUris.withAppendedId(EmailContent.Message.SYNCED_CONTENT_URI, messageId);
934 setMessageBooleanSync(messageId, EmailContent.MessageColumns.FLAG_FAVORITE,
945 setMessageBooleanSync(messageId, EmailContent.MessageColumns.FLAG_FAVORITE, isFavorite);