Home | History | Annotate | Download | only in accounts

Lines Matching defs:accountType

106             String accountType = mProviderList.get(i).type;
107 Drawable icon = mAuthenticatorHelper.getDrawableForType(mContext, accountType);
112 item.setOnClickListener(v -> onItemSelected(accountType));
117 // Starts a AddAccountActivity for the accountType that was clicked on.
118 private void onItemSelected(String accountType) {
120 intent.putExtra(AddAccountActivity.EXTRA_SELECTED_ACCOUNT, accountType);
139 String accountType = mAuthDescs[i].type;
140 CharSequence providerName = getLabelForType(accountType);
143 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType);
151 new ProviderEntry(providerName, accountType));
157 new ProviderEntry(providerName, accountType));
171 mAccountTypeToAuthorities.get(adapterType.accountType);
174 mAccountTypeToAuthorities.put(adapterType.accountType, authorities);
176 LOG.v("added authority " + adapterType.authority + " to accountType "
177 + adapterType.accountType);
187 * @param accountType the type of account
190 private CharSequence getLabelForType(final String accountType) {
192 if (mTypeToAuthDescription.containsKey(accountType)) {
194 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
199 LOG.w("No label name for account type " + accountType);
201 LOG.w("No label resource for account type " + accountType);
210 ProviderEntry(CharSequence providerName, String accountType) {
212 type = accountType;