Searched refs:getAccountId (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/activity/
H A DAccountSelectorAdapterTest.java103 assertEquals(a1.mId, c.getAccountId());
114 assertEquals(a1.mId, c.getAccountId());
125 assertEquals(a2.mId, c.getAccountId());
136 assertEquals(Account.ACCOUNT_ID_COMBINED_VIEW, c.getAccountId());
149 assertEquals(Account.ACCOUNT_ID_COMBINED_VIEW, c.getAccountId());
167 assertEquals(a1.mId, c.getAccountId());
H A DMailboxFragmentAdapterTest.java123 MailboxFragmentAdapter.getAccountId(cursor));
/packages/apps/Email/src/com/android/email/activity/
H A DMailboxListFragment.java65 * - Can be obtained with {@link #getAccountId()}.
304 * {@link #getAccountId()}.
336 public long getAccountId() { method in class:MailboxListFragment
395 if (getAccountId() == Account.ACCOUNT_ID_COMBINED_VIEW) {
401 final long inboxId = Mailbox.findMailboxOfType(getActivity(), getAccountId(),
482 final long accountId = getAccountId();
589 getActivity().getApplicationContext(), mTaskTracker, getAccountId(),
764 if (getAccountId() == Account.ACCOUNT_ID_COMBINED_VIEW) {
767 return MailboxFragmentAdapter.createMailboxesLoader(getActivity(), getAccountId(),
783 if (getAccountId() !
[all...]
H A DMailboxFragmentAdapter.java273 long getAccountId(int position) { method in class:MailboxFragmentAdapter
275 return getAccountId(c);
317 static long getAccountId(Cursor cursor) { method in class:MailboxFragmentAdapter
355 final long accountId = getAccountId(cursor);
H A DAccountSelectorAdapter.java176 ((CursorWithExtras) c).getAccountId() == Account.ACCOUNT_ID_COMBINED_VIEW;
265 public long getAccountId(int position) { method in class:AccountSelectorAdapter
608 public long getAccountId() { method in class:AccountSelectorAdapter.CursorWithExtras
H A DActionBarController.java448 if ((mCursor.getAccountId() != Account.NO_ACCOUNT) && !mCursor.accountExists()) {
585 final long accountId = mAccountsSelectorAdapter.getAccountId(position);
H A DUIControllerOnePane.java304 return getMailboxListFragment().getAccountId();
354 switchAccount(getMailboxListFragment().getAccountId(), true /* force show inbox */);
H A DMessageListFragment.java248 * Do not use directly; instead, use the getters such as {@link #getAccountId()}.
264 public long getAccountId() { method in class:MessageListFragment
281 return getAccountId() == Account.ACCOUNT_ID_COMBINED_VIEW;
870 mRefreshManager.refreshMessageList(getAccountId(), getMailboxId(), userRequest);
886 mRefreshManager.loadMoreMessages(getAccountId(), getMailboxId());
1219 final long accountId = getAccountId();
H A DMessageViewFragment.java297 Account account = Account.restoreAccountWithId(mContext, getAccountId());
H A DUIControllerTwoPane.java302 return isMailboxListInstalled() ? getMailboxListFragment().getAccountId()
H A DMessageViewFragmentBase.java478 public long getAccountId() { method in class:MessageViewFragmentBase

Completed in 101 milliseconds