Lines Matching refs:intent

160         final Intent intent = getIntent();
177 // If the selected account as specified in the intent matches one in the list we will
179 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT);
190 mSetOfAllowableAccounts = getAllowableAccountSet(intent);
191 mSetOfRelevantAccountTypes = getReleventAccountTypes(intent);
192 mAlwaysPromptForAccount = intent.getBooleanExtra(EXTRA_ALWAYS_PROMPT_FOR_ACCOUNT, false);
193 mDescriptionOverride = intent.getStringExtra(EXTRA_DESCRIPTION_TEXT_OVERRIDE);
389 final Intent intent = (Intent)accountManagerResult.getParcelable(
391 if (intent != null) {
395 intent.setFlags(intent.getFlags() & ~Intent.FLAG_ACTIVITY_NEW_TASK);
396 startActivityForResult(intent, REQUEST_ADD_ACCOUNT);
433 final Intent intent = new Intent(this, ChooseAccountTypeActivity.class);
434 intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
435 intent.putExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY,
437 intent.putExtra(EXTRA_ADD_ACCOUNT_OPTIONS_BUNDLE,
439 intent.putExtra(EXTRA_ADD_ACCOUNT_REQUIRED_FEATURES_STRING_ARRAY,
441 intent.putExtra(EXTRA_ADD_ACCOUNT_AUTH_TOKEN_TYPE_STRING,
443 startActivityForResult(intent, REQUEST_CHOOSE_TYPE);
506 * Return a set of account types speficied by the intent as well as supported by the
509 private Set<String> getReleventAccountTypes(final Intent intent) {
514 intent.getStringArrayExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY);
528 * Returns a set of whitelisted accounts given by the intent or null if none specified by the
529 * intent.
531 private Set<Account> getAllowableAccountSet(final Intent intent) {
534 intent.getParcelableArrayListExtra(EXTRA_ALLOWABLE_ACCOUNTS_ARRAYLIST);
545 * Overrides the description text view for the picker activity if specified by the intent.