Lines Matching refs:account
19 import android.accounts.Account;
29 * Displays the sync settings for a given account.
38 Account account = null;
40 // Search for the account.
41 for (Account candidateAccount : AccountManager.get(this).getAccounts()) {
43 account = candidateAccount;
49 return SettingsFragment.newInstance(account);
53 private static final String ARG_ACCOUNT = "account";
55 public static SettingsFragment newInstance(Account account) {
57 b.putParcelable(ARG_ACCOUNT, account);
65 final Account account = getArguments().getParcelable(ARG_ACCOUNT);
66 startPreferenceFragment(AccountSyncFragment.newInstance(account));