Home | History | Annotate | Download | only in activities

Lines Matching defs:account

36 import com.android.contacts.model.account.AccountInfo;
37 import com.android.contacts.model.account.AccountWithDataSet;
38 import com.android.contacts.model.account.AccountsLoader;
46 * which account the contact will be saved in. There is also an option to add an account at
48 * {@link #Intents.Insert.ACCOUNT} that contains the {@link AccountWithDataSet} to create
50 * account for this contact.
104 // If the user canceled the account setup process, then keep this activity visible to
110 AccountWithDataSet account = mEditorUtils.getCreatedAccount(resultCode, data);
111 if (account == null) {
116 saveAccountAndReturnResult(account);
129 // which account to create a contact in.
145 // If the user has 1 writable account we will just show the user a message with 2
158 // This button allows the user to add a new account to the device and return to
164 // account.
197 // This button allows the user to add a new account to the device and return to
218 private void saveAccountAndReturnResult(AccountWithDataSet account) {
219 // Save this as the default account
220 mEditorUtils.saveDefaultAccount(account);
222 // Pass account info in activity result intent
224 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account);