Lines Matching refs:accounts
49 * An activity that shows the list of all the available accounts and return the
149 // Only fetch the accounts, if we are not handling a response from the
207 private void completeSetupWithAccounts(final Cursor accounts) {
211 updateAccountList(accounts);
216 private void updateAccountList(final Cursor accounts) {
220 if (accounts == null || accounts.getCount() == 0) {
235 } else if (mConfigureWidget && accounts.getCount() == 1) {
239 accounts.moveToFirst();
240 selectAccount(Account.builder().buildFrom(accounts));
254 mAdapter = new SimpleCursorAdapter(this, R.layout.mailbox_item, accounts,
317 // Watch for accounts to show up!
318 // restart the loader to get the updated list of accounts
367 // there are accounts now!
369 ArrayList<Account> accounts = new ArrayList<Account>();
376 accounts.add(account);
385 account = accounts.size() > 0 ? accounts.get(0) : null;