Home | History | Annotate | Download | only in email

Lines Matching refs:accountId

56     private MessageListContext(long accountId, long searchMailboxId, SearchParams searchParams) {
57 mAccountId = accountId;
70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT);
76 Controller.getInstance(context).getSearchMailbox(accountId).mId;
77 return forSearch(accountId, searchMailboxId, new SearchParams(mailboxId, queryTerm));
79 if (accountId == Account.NO_ACCOUNT) {
80 accountId = Account.getDefaultAccountId(context);
81 if (accountId == Account.NO_ACCOUNT) {
86 mailboxId = (accountId == Account.ACCOUNT_ID_COMBINED_VIEW)
88 : Mailbox.findMailboxOfType(context, accountId, Mailbox.TYPE_INBOX);
91 return forMailbox(accountId, mailboxId);
99 long accountId, long searchMailboxId, SearchParams searchParams) {
101 Account.isNormalAccount(accountId),
103 return new MessageListContext(accountId, searchMailboxId, searchParams);
109 public static MessageListContext forMailbox(long accountId, long mailboxId) {
110 Preconditions.checkArgument(accountId != Account.NO_ACCOUNT, "Must specify an account");
112 return new MessageListContext(accountId, mailboxId, null);