/packages/apps/Email/tests/src/com/android/email/activity/ |
D | FindParentMailboxTaskTest.java | 72 mIdInbox = createMailboxAndGetId("Inbox", a, Mailbox.TYPE_INBOX, Mailbox.NO_MAILBOX); in setUpMailboxes() 73 mIdParent = createMailboxAndGetId("P", a, Mailbox.TYPE_MAIL, Mailbox.NO_MAILBOX); in setUpMailboxes() 151 Mailbox.NO_MAILBOX, // Next root in testWithHighlight() 170 Mailbox.NO_MAILBOX, // Next root in testWithHighlight() 190 Mailbox.NO_MAILBOX, // Current parent in testWithHighlight() 193 Mailbox.NO_MAILBOX, // Next root in testWithHighlight() 213 Mailbox.NO_MAILBOX, // Next root in testWithHighlight() 257 Mailbox.NO_MAILBOX // Next root in testWithNoHighlight() 273 Mailbox.NO_MAILBOX // Next root in testWithNoHighlight() 278 doCheck(false, parentMailboxId, Mailbox.NO_MAILBOX, in doCheckWithNoHighlight() [all …]
|
D | AccountSelectorAdapterTest.java | 100 c.setAccountMailboxInfo(context, a1.mId, Mailbox.NO_MAILBOX); in testCursorWithExtras_setAccountMailboxInfo() 105 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo() 133 c.setAccountMailboxInfo(context, Account.ACCOUNT_ID_COMBINED_VIEW, Mailbox.NO_MAILBOX); in testCursorWithExtras_setAccountMailboxInfo() 139 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
|
/packages/apps/Email/src/com/android/email/ |
D | MessageListContext.java | 71 long mailboxId = intent.getLongExtra(EmailActivity.EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); in forIntent() 85 if (mailboxId == Mailbox.NO_MAILBOX) { in forIntent() 111 Preconditions.checkArgument(mailboxId != Mailbox.NO_MAILBOX, "Must specify a mailbox"); in forMailbox() 120 return isSearch() ? mSearchParams.mMailboxId : Mailbox.NO_MAILBOX; in getSearchedMailbox()
|
D | Controller.java | 284 m.mParentKey = Mailbox.NO_MAILBOX; in getSearchMailbox() 498 return Mailbox.NO_MAILBOX; in findOrCreateMailboxOfType() 502 return mailboxId == Mailbox.NO_MAILBOX ? createMailbox(accountId, mailboxType) : mailboxId; in findOrCreateMailboxOfType() 620 if (outboxId == Mailbox.NO_MAILBOX) { in sendPendingMessages()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MailboxListFragment.java | 201 private long mNextHighlightedMailboxId = Mailbox.NO_MAILBOX; 397 mParentMailboxId = Mailbox.NO_MAILBOX; in setInitialParentAndHighlight() 406 mParentMailboxId = Mailbox.NO_MAILBOX; in setInitialParentAndHighlight() 563 return (mHighlightedMailboxId != Mailbox.NO_MAILBOX) ? mHighlightedMailboxId in getSelectedMailboxId() 571 return mParentMailboxId == Mailbox.NO_MAILBOX; in isRoot() 650 final long nextParentId = (parentMailbox == null) ? Mailbox.NO_MAILBOX in doInBackground() 662 if (nextParentId == Mailbox.NO_MAILBOX) { in doInBackground() 674 nextHighlightedId = Mailbox.NO_MAILBOX; in doInBackground() 821 if (mNextHighlightedMailboxId != Mailbox.NO_MAILBOX) { in onLoadFinished() 823 mNextHighlightedMailboxId = Mailbox.NO_MAILBOX; in onLoadFinished() [all …]
|
D | MailboxFinder.java | 177 return Mailbox.NO_MAILBOX; in doInBackground() 182 if (mailboxId != Mailbox.NO_MAILBOX) { in doInBackground() 199 return Mailbox.NO_MAILBOX; in doInBackground()
|
D | MoveMessageToDialog.java | 210 || idSet.mMailboxId == Mailbox.NO_MAILBOX) { in onLoadFinished() 278 long mailboxId = Mailbox.NO_MAILBOX; in loadInBackground() 302 mailboxId = Mailbox.NO_MAILBOX; in loadInBackground() 310 mailboxId = Mailbox.NO_MAILBOX; in loadInBackground()
|
D | UIControllerOnePane.java | 205 if (mailboxId == Mailbox.NO_MAILBOX) { in onMailboxSelected() 308 return Mailbox.NO_MAILBOX; in getMailboxId() 397 showFragment(MailboxListFragment.newInstance(accountId, Mailbox.NO_MAILBOX, false)); in openMailboxList() 553 : Mailbox.NO_MAILBOX; in getMailboxSettingsMailboxId()
|
D | Welcome.java | 364 == Mailbox.NO_MAILBOX) { in resolveAccount() 380 } else if (mMailboxId != Mailbox.NO_MAILBOX) { in startEmailActivity() 402 mMailboxId = Mailbox.NO_MAILBOX;
|
D | AccountSelectorAdapter.java | 168 if (isAccount || id != Mailbox.NO_MAILBOX) { in getView() 426 addRow(matrixCursor, ROW_TYPE_MAILBOX, Mailbox.NO_MAILBOX, name, null, 0, in addShowAllFoldersRow() 524 if (mailboxId != Mailbox.NO_MAILBOX) { in setAccountMailboxInfo() 541 if (mMailboxId == Mailbox.NO_MAILBOX) { in setAccountMailboxInfo()
|
D | UIControllerBase.java | 549 if (inboxId == Mailbox.NO_MAILBOX) { in switchAccount() 575 : Mailbox.NO_MAILBOX; in getMailboxListMailboxId() 586 : Mailbox.NO_MAILBOX; in getMessageListMailboxId() 849 if (mailboxId != Mailbox.NO_MAILBOX) { in onOptionsItemSelected()
|
D | MailboxFragmentAdapter.java | 362 listItem.mMailboxId = isAccountRow(cursor) ? Mailbox.NO_MAILBOX : id; in bindListItem() 519 (parentKey != Mailbox.NO_MAILBOX) in MailboxFragmentLoader() 546 if (mParentKey != Mailbox.NO_MAILBOX) { in loadInBackground()
|
D | MessageOrderManager.java | 133 Preconditions.checkArgument(listContext.getMailboxId() != Mailbox.NO_MAILBOX); in MessageOrderManager()
|
D | ActionBarController.java | 94 private long mLastMailboxIdForDirtyCheck = Mailbox.NO_MAILBOX;
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ControllerProviderOpsTests.java | 114 assertEquals(Mailbox.NO_MAILBOX, in testCreateMailbox() 116 assertEquals(Mailbox.NO_MAILBOX, in testCreateMailbox() 125 assertTrue(testMailboxId != Mailbox.NO_MAILBOX); in testCreateMailbox() 134 assertTrue(testMailboxId != Mailbox.NO_MAILBOX); in testCreateMailbox() 164 assertTrue("mailbox created", boxId2 != Mailbox.NO_MAILBOX); in testFindOrCreateMailboxOfType() 172 assertEquals(Mailbox.NO_MAILBOX, in testFindOrCreateMailboxOfType() 174 assertEquals(Mailbox.NO_MAILBOX, mTestController.findOrCreateMailboxOfType(accountId, -1)); in testFindOrCreateMailboxOfType()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Mailbox.java | 134 public static final long NO_MAILBOX = -1; field in Mailbox 261 box.mParentKey = Mailbox.NO_MAILBOX; in newSystemMailbox() 387 && mailboxId != NO_MAILBOX) { in findMailboxOfType() 398 ID_PROJECTION_COLUMN, NO_MAILBOX); in findMailboxOfType() 406 if (mailboxId != Mailbox.NO_MAILBOX) { in restoreMailboxOfType()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/ |
D | MailboxUtilities.java | 86 parentValues.put(Mailbox.PARENT_KEY, Mailbox.NO_MAILBOX); in setFlagsAndChildrensParentKey() 154 values.put(Mailbox.PARENT_KEY, Mailbox.NO_MAILBOX); in fixupUninitializedParentKeys()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | SearchParams.java | 26 public static final long ALL_MAILBOXES = Mailbox.NO_MAILBOX;
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 281 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType() 283 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType() 289 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType() 291 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType() 293 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | MailboxSettings.java | 91 final long mailboxId = getIntent().getLongExtra(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); in onCreate() 92 if (mailboxId == Mailbox.NO_MAILBOX) { in onCreate()
|
/packages/apps/Email/src/com/android/email/widget/ |
D | WidgetManager.java | 155 long mailboxId = prefs.getLong(MAILBOX_ID_PREFIX + appWidgetId, Mailbox.NO_MAILBOX); in loadMailboxIdPref()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | Pop3Store.java | 166 mailbox.mParentKey = Mailbox.NO_MAILBOX; in updateFolders() 175 if (Mailbox.findMailboxOfType(mContext, mAccount.mId, type) == Mailbox.NO_MAILBOX) { in updateFolders()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 559 assertEquals(Mailbox.NO_MAILBOX, box1.mParentKey); in testNoServerId() 563 assertEquals(Mailbox.NO_MAILBOX, box2.mParentKey); in testNoServerId()
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 559 assertEquals(Mailbox.NO_MAILBOX, box1.mParentKey); in testNoServerId() 563 assertEquals(Mailbox.NO_MAILBOX, box2.mParentKey); in testNoServerId()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
D | FolderSyncParserTests.java | 344 return m.mParentKey == Mailbox.NO_MAILBOX; in isTopLevel()
|