Home
last modified time | relevance | path

Searched refs:getMailboxId (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/activity/
DAccountSelectorAdapterTest.java105 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
116 assertEquals(m1.mId, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
127 assertEquals(m2.mId, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
139 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
152 assertEquals(Mailbox.QUERY_ALL_INBOXES, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
169 assertEquals(Mailbox.QUERY_ALL_FAVORITES, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
/packages/apps/Email/src/com/android/email/activity/
DUIControllerOnePane.java199 public long getMailboxId() { in getMailboxId() method in UIControllerOnePane.ActionBarControllerCallback
200 return UIControllerOnePane.this.getMailboxId(); in getMailboxId()
304 private long getMailboxId() { in getMailboxId() method in UIControllerOnePane
306 return mListContext.getMailboxId(); in getMailboxId()
345 openMailbox(mListContext.mAccountId, mListContext.getMailboxId()); in onBackPressed()
552 ? getMessageListFragment().getMailboxId() in getMailboxSettingsMailboxId()
612 return isMailboxListInstalled() || (mListContext.getMailboxId() > 0); in isRefreshEnabled()
621 mRefreshManager.refreshMessageList(getActualAccountId(), getMailboxId(), true); in onRefresh()
633 return mRefreshManager.isMessageListRefreshing(getMailboxId()); in isRefreshInProgress()
DMessageOrderManager.java133 Preconditions.checkArgument(listContext.getMailboxId() != Mailbox.NO_MAILBOX); in MessageOrderManager()
154 public long getMailboxId() { in getMailboxId() method in MessageOrderManager
155 return mListContext.getMailboxId(); in getMailboxId()
357 mContext, mListContext.mAccountId, mListContext.getMailboxId()), in openNewCursor()
DMessageListFragment.java272 public long getMailboxId() { in getMailboxId() method in MessageListFragment
274 return mListContext.getMailboxId(); in getMailboxId()
318 return listContext.getMailboxId() == Mailbox.QUERY_ALL_INBOXES; in isInboxList()
324 return listContext.getMailboxId() == inboxId; in isInboxList()
740 final long mailboxId = getMailboxId(); in onItemLongClick()
791 getMailboxId(), callbackTypeForMailboxType(mMailbox.mType)); in onMessageOpen()
838 mCallback.onMessageOpen(mMessageId, mMessageMailboxId, getMailboxId(), type); in onSuccess()
870 mRefreshManager.refreshMessageList(getAccountId(), getMailboxId(), userRequest); in onRefresh()
886 mRefreshManager.loadMoreMessages(getAccountId(), getMailboxId()); in onLoadMoreMessages()
892 if (getMailboxId() == Mailbox.QUERY_ALL_OUTBOX) { in onSendPendingMessages()
[all …]
DUIControllerTwoPane.java94 if (getMessageListMailboxId() != mListContext.getMailboxId()) { in onMailboxSelected()
327 && (mListContext.getMailboxId() > 0); in isRefreshEnabled()
348 getMailboxListFragment().setHighlightedMailbox(fragment.getMailboxId()); in installMessageListFragment()
398 long mailboxId = mListContext.getMailboxId(); in updateMailboxList()
431 if (mListContext.getMailboxId() != getMessageListMailboxId()) { in updateMessageList()
668 public long getMailboxId() { in getMailboxId() method in UIControllerTwoPane.ActionBarControllerCallback
DActionBarController.java145 public long getMailboxId(); in getMailboxId() method
368 final long mailboxId = mCallback.getMailboxId(); in refreshInernal()
DMessagesAdapter.java302 mMailboxId = listContext.getMailboxId(); in MessagesCursorLoader()
DAccountSelectorAdapter.java617 public long getMailboxId() { in getMailboxId() method in AccountSelectorAdapter.CursorWithExtras
DUIControllerBase.java585 return isMessageListInstalled() ? getMessageListFragment().getMailboxId() in getMessageListMailboxId()
/packages/apps/Email/src/com/android/email/
DMessageListContext.java127 public long getMailboxId() { in getMailboxId() method in MessageListContext