Lines Matching refs:mailbox
296 Mailbox mailbox = getAttachmentMailbox(); in loadMessageFromUri() local
297 if (mailbox == null) return null; in loadMessageFromUri()
307 LegacyConversions.updateMessageFields(msg, pop3Message, 0, mailbox.mId); in loadMessageFromUri()
419 Mailbox mailbox = in updateMailbox()
421 if (account == null || mailbox == null || in updateMailbox()
422 mailbox.mType == Mailbox.TYPE_SEARCH) { in updateMailbox()
425 mLegacyController.synchronizeMailbox(account, mailbox, mLegacyListener); in updateMailbox()
686 Mailbox mailbox = Mailbox.restoreMailboxWithId(mProviderContext, mailboxId); in loadMoreMessages()
687 if (mailbox == null) { in loadMoreMessages()
690 if (mailbox.mType == Mailbox.TYPE_SEARCH) { in loadMoreMessages()
692 searchMore(mailbox.mAccountKey); in loadMoreMessages()
699 mailbox.mAccountKey); in loadMoreMessages()
710 mailbox.mVisibleLimit += Email.VISIBLE_LIMIT_INCREMENT; in loadMoreMessages()
711 mLegacyController.synchronizeMailbox(account, mailbox, mLegacyListener); in loadMoreMessages()
790 Mailbox mailbox = Mailbox.getMailboxForMessageId(mProviderContext, messageId); in deleteMessageSync() local
792 if (mailbox == null) return; in deleteMessageSync()
803 if ((mailbox.mId == trashMailboxId) || (mailbox.mType == Mailbox.TYPE_DRAFTS)) { in deleteMessageSync()