Home
last modified time | relevance | path

Searched refs:TYPE_DRAFTS (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Email/src/com/android/email/
DFolderProperties.java154 case Mailbox.TYPE_DRAFTS: in getMessageCount()
195 return Mailbox.getMessageCountByMailboxType(context, Mailbox.TYPE_DRAFTS); in getMessageCountForCombinedMailbox()
212 return mSpecialMailboxDrawable.getDrawable(Mailbox.TYPE_DRAFTS);
DMessagingController.java292 case Mailbox.TYPE_DRAFTS: in listFolders()
742 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in synchronizeMailboxGeneric()
788 || mailbox.mType == Mailbox.TYPE_DRAFTS) { in synchronizeMailboxGeneric()
1425 } else if (mailbox.mType == Mailbox.TYPE_DRAFTS) { in processUploadMessage()
1477 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in processPendingDataChange()
DLegacyConversions.java452 Mailbox.TYPE_DRAFTS); in inferMailboxTypeFromName()
DController.java519 case Mailbox.TYPE_DRAFTS: in getMailboxServerName()
803 if ((mailbox.mId == trashMailboxId) || (mailbox.mType == Mailbox.TYPE_DRAFTS)) { in deleteMessageSync()
/packages/apps/Email/tests/src/com/android/email/activity/
DMailboxFragmentAdapterTest.java59 Mailbox b1d = ProviderTestUtils.setupMailbox("box1d", a1.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes()
60 Mailbox b2d = ProviderTestUtils.setupMailbox("box2d", a2.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes()
98 checkSpecialMailboxRow(cursor, Mailbox.QUERY_ALL_DRAFTS, Mailbox.TYPE_DRAFTS, 4); in testBuildCombinedMailboxes()
DMessagesAdapterTests.java102 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_DRAFTS); in testLoadNotRefreshable()
DMailboxFinderTest.java354 final long mailboxId = createMailbox(accountId, Mailbox.TYPE_DRAFTS); in testMailboxNotFound2()
DRecentMailboxManagerTest.java64 ProviderTestUtils.setupMailbox("drafts", 1L, true, mMockContext, Mailbox.TYPE_DRAFTS), in setUp()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java151 public static final Integer[] INVALID_DROP_TARGETS = new Integer[] {Mailbox.TYPE_DRAFTS,
172 public static final int TYPE_DRAFTS = 3; field in Mailbox
479 case TYPE_DRAFTS: in isRefreshable()
507 return mType != Mailbox.TYPE_DRAFTS in loadsFromServer()
515 return mType != Mailbox.TYPE_DRAFTS in loadsFromServer()
527 if (mType == TYPE_DRAFTS || mType == TYPE_OUTBOX || mType == TYPE_SEARCH) { in uploadsToServer()
538 return (type != TYPE_TRASH) && (type != TYPE_DRAFTS); in isMailboxTypeReplyAndForwardable()
DEmailContent.java666 + " WHERE " + MailboxColumns.TYPE + " = " + Mailbox.TYPE_DRAFTS
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java115 Mailbox.findMailboxOfType(mProviderContext, 1L, Mailbox.TYPE_DRAFTS)); in testCreateMailbox()
123 mTestController.createMailbox(1L, Mailbox.TYPE_DRAFTS); in testCreateMailbox()
124 testMailboxId = Mailbox.findMailboxOfType(mProviderContext, 1L, Mailbox.TYPE_DRAFTS); in testCreateMailbox()
163 long boxId2 = mTestController.findOrCreateMailboxOfType(accountId, Mailbox.TYPE_DRAFTS); in testFindOrCreateMailboxOfType()
168 long boxId3 = mTestController.findOrCreateMailboxOfType(accountId, Mailbox.TYPE_DRAFTS); in testFindOrCreateMailboxOfType()
173 mTestController.findOrCreateMailboxOfType(-1, Mailbox.TYPE_DRAFTS)); in testFindOrCreateMailboxOfType()
226 draftBox.mType = Mailbox.TYPE_DRAFTS; in testDeleteMessage()
DFolderPropertiesTests.java61 fp.getDisplayName(Mailbox.TYPE_DRAFTS, 0, "ignored")); in testGetDisplayName()
127 Drawable drafts = fp.getIcon(Mailbox.TYPE_DRAFTS, -1, 0); in testSpecialIcons()
164 fp.getMessageCount(buildCursor(columns, Mailbox.TYPE_DRAFTS, 1, 2)) in testGetMessageCountWithCursor()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java107 mProviderContext, Mailbox.TYPE_DRAFTS); in testIsSyncable()
/packages/apps/Exchange/tests/src/com/android/exchange/
DExchangeServiceAccountTests.java107 mProviderContext, Mailbox.TYPE_DRAFTS); in testIsSyncable()
/packages/apps/Email/src/com/android/email/activity/
DMailboxMoveToAdapter.java51 MailboxColumns.TYPE + " NOT IN (" + Mailbox.TYPE_DRAFTS + ","
DRecentMailboxManager.java75 Mailbox.TYPE_DRAFTS,
DMailboxFragmentAdapter.java153 + " WHEN " + Mailbox.TYPE_DRAFTS + " THEN 1"
651 addCombinedMailboxRow(c, cursor, Mailbox.QUERY_ALL_DRAFTS, Mailbox.TYPE_DRAFTS, false); in buildCombinedMailboxes()
DMessageListFragment.java802 case Mailbox.TYPE_DRAFTS: in callbackTypeForMailboxType()
1105 || (mMailbox.mType == Mailbox.TYPE_DRAFTS)) { in determineFooterMode()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java174 Mailbox bd = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_DRAFTS); in testIsRefreshable()
196 Mailbox bd = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_DRAFTS); in testCanMoveFrom()
282 Mailbox.findMailboxOfType(context, acct1.mId, Mailbox.TYPE_DRAFTS)); in testFindMailboxOfType()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DFolderSyncParser.java373 mailbox.mType = Mailbox.TYPE_DRAFTS; in addParser()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java330 mockContext, Mailbox.TYPE_DRAFTS); in testUpdateLastSeenMessageKey()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java155 Mailbox.TYPE_DRAFTS,
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java270 Mailbox.TYPE_INBOX + "," + Mailbox.TYPE_DRAFTS + "," + Mailbox.TYPE_TRASH + "," +
951 type != Mailbox.TYPE_DRAFTS && type != Mailbox.TYPE_SENT && in insert()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java73 mProviderContext, Mailbox.TYPE_DRAFTS); in testSetupParentKeyAndFlag()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java73 mProviderContext, Mailbox.TYPE_DRAFTS); in testSetupParentKeyAndFlag()

12