/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | LocalizedNameResolver.java | 52 public static String getAllContactsName(Context context, String accountType) { argument 54 if (accountType == null) return null; 56 return resolveAllContactsName(context, accountType); 62 private static String resolveAllContactsName(Context context, String accountType) { argument 66 if (accountType.equals(auth.type)) {
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | ProviderPreference.java | 36 Context context, String accountType, Drawable icon, CharSequence providerName) { 38 mAccountType = accountType; 35 ProviderPreference( Context context, String accountType, Drawable icon, CharSequence providerName) argument
|
H A D | AccountPreferenceBase.java | 138 * @param accountType the type of account 141 public PreferenceScreen addPreferencesForType(final String accountType, argument 144 if (mAuthenticatorHelper.containsAccountType(accountType)) { 147 desc = mAuthenticatorHelper.getAccountTypeDescription(accountType); 179 protected Drawable getDrawableForType(final String accountType) { argument 180 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); 183 protected CharSequence getLabelForType(final String accountType) { argument 184 return mAuthenticatorHelper.getLabelForType(getActivity(), accountType);
|
H A D | AddAccountSettings.java | 231 private void addAccount(String accountType) { argument 251 accountType,
|
H A D | ChooseAccountActivity.java | 79 ProviderEntry(CharSequence providerName, String accountType) { argument 81 type = accountType; 111 for (String accountType : accountTypesFilter) { 112 mAccountTypesFilter.add(accountType); 138 String accountType = mAuthDescs[i].type; 139 CharSequence providerName = getLabelForType(accountType); 143 ArrayList<String> accountAuths = getAuthoritiesForAccountType(accountType); 155 && !mAccountTypesFilter.contains(accountType)) { 159 mProviderList.add(new ProviderEntry(providerName, accountType)); 211 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); 232 getDrawableForType(final String accountType) argument 259 getLabelForType(final String accountType) argument 288 finishWithAccountType(String accountType) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EventColorCache.java | 46 public void insertColor(String accountName, String accountType, int displayColor, argument 48 mColorKeyMap.put(createKey(accountName, accountType, displayColor), colorKey); 49 String key = createKey(accountName, accountType); 61 public int[] getColorArray(String accountName, String accountType) { argument 62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType)); 76 public int getColorKey(String accountName, String accountType, int displayColor) { argument 77 return mColorKeyMap.get(createKey(accountName, accountType, displayColor)); 96 private String createKey(String accountName, String accountType) { argument 99 .append(accountType) 103 private String createKey(String accountName, String accountType, in argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | AccountTypeWithDataSet.java | 40 public final String accountType; field in class:AccountTypeWithDataSet 45 private AccountTypeWithDataSet(String accountType, String dataSet) { argument 46 this.accountType = TextUtils.isEmpty(accountType) ? null : accountType; 50 public static AccountTypeWithDataSet get(String accountType, String dataSet) { argument 51 return new AccountTypeWithDataSet(accountType, dataSet); 64 args = new String[] {accountType}; 67 args = new String[] {accountType, dataSet}; 85 return Objects.equal(accountType, othe [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | AccountServiceProxy.java | 64 public Bundle getConfigurationData(final String accountType) { argument 68 mReturn = mService.getConfigurationData(accountType);
|
/packages/apps/UnifiedEmail/src/com/android/mail/photo/ |
H A D | MailPhotoViewActivity.java | 48 * @param accountType The type of the account. 53 final String accountType, final ConversationMessage msg, final int photoIndex) { 62 context.startActivity(wrapIntent(builder.build(), account, accountType, msg)); 71 final String accountType, final ConversationMessage msg, final String initialPhotoUri) { 73 buildMailPhotoViewActivityIntent(context, account, accountType, msg, 78 final Context context, final String account, final String accountType, 87 return wrapIntent(builder.build(), account, accountType, msg); 91 final Intent intent, final String account, final String accountType, 95 intent.putExtra(EXTRA_ACCOUNT_TYPE, accountType); 52 startMailPhotoViewActivity(final Context context, final String account, final String accountType, final ConversationMessage msg, final int photoIndex) argument 70 startMailPhotoViewActivity(final Context context, final String account, final String accountType, final ConversationMessage msg, final String initialPhotoUri) argument 77 buildMailPhotoViewActivityIntent( final Context context, final String account, final String accountType, final ConversationMessage msg, final String initialPhotoUri) argument 90 wrapIntent( final Intent intent, final String account, final String accountType, final ConversationMessage msg) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
H A D | AuthUtils.java | 44 public void invalidateAuthToken(final String accountType, final String authToken) { argument 45 mAccountManager.invalidateAuthToken(accountType, authToken);
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | CalendarColorCache.java | 84 private void insert(String accountName, String accountType) { argument 85 mCache.add(generateKey(accountName, accountType)); 91 public boolean hasColors(String accountName, String accountType) { argument 92 return mCache.contains(generateKey(accountName, accountType)); 105 private String generateKey(String accountName, String accountType) { argument 107 return mStringBuffer.append(accountName).append(SEPARATOR).append(accountType).toString();
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | KindSectionData.java | 39 public KindSectionData(AccountType accountType, DataKind dataKind, argument 41 mAccountType = accountType;
|
H A D | EditorUiUtils.java | 121 String accountName, AccountType accountType) { 130 accountType.getDisplayLabel(context))); 138 AccountType accountType) { 139 CharSequence accountTypeDisplayLabel = accountType.getDisplayLabel(context); 153 if (GoogleAccountType.ACCOUNT_TYPE.equals(accountType.accountType) 154 && accountType.dataSet == null) { 169 CharSequence accountType) { 171 if (!TextUtils.isEmpty(accountType)) { 172 builder.append(accountType) 120 getLocalAccountInfo(Context context, String accountName, AccountType accountType) argument 137 getAccountInfo(Context context, String accountName, AccountType accountType) argument 168 getAccountInfoContentDescription(CharSequence accountName, CharSequence accountType) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupListItem.java | 31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument 34 mAccountType = accountType;
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | GroupCreationDialogFragment.java | 33 private static final String ARG_ACCOUNT_TYPE = "accountType"; 46 FragmentManager fragmentManager, String accountType, String accountName, 50 args.putString(ARG_ACCOUNT_TYPE, accountType); 83 String accountType = arguments.getString(ARG_ACCOUNT_TYPE); 96 new AccountWithDataSet(accountName, accountType, dataSet), groupLabel, 45 show( FragmentManager fragmentManager, String accountType, String accountName, String dataSet, OnGroupCreatedListener listener) argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | GroupMetaData.java | 31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, argument 34 this.mAccountType = accountType;
|
H A D | MoreContactUtils.java | 228 public static Intent getInvitableIntent(AccountType accountType, Uri lookupUri) { argument 229 String syncAdapterPackageName = accountType.syncAdapterPackageName; 230 String className = accountType.getInviteContactActivityClassName();
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
H A D | TestAuthenticator.java | 62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 64 Log.v(TestauthConstants.LOG_TAG, "addAccount() type=" + accountType); 67 final Account account = new Account(newUniqueUserName(), accountType); 101 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | EasTestAuthenticatorService.java | 48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 71 EasTestAuthenticatorService.this, accountType); 85 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
|
H A D | AuthenticatorService.java | 56 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 61 AuthenticatorService.this, accountType); 71 accountType); 104 b.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType); 113 AuthenticatorService.this, accountType); 127 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
H A D | AddAccountWithTypeActivity.java | 65 String accountType = getIntent().getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); 66 if (accountType != null) { 67 startAddAccount(accountType); 79 String accountType = data.getExtras().getString(AccountManager.KEY_ACCOUNT_TYPE); 80 startAddAccount(accountType); 92 private void startAddAccount(String accountType) { argument 94 accountType,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | AccountWithDataSet.java | 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { argument 36 mAccountType = emptyToNull(accountType); 44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { argument 45 return new AccountWithDataSet(accountName, accountType, dataSet);
|
H A D | PhotoPriorityResolver.java | 89 public synchronized int getPhotoPriority(String accountType) { argument 90 if (accountType == null) { 94 Integer priority = mPhotoPriorities.get(accountType); 96 priority = resolvePhotoPriority(accountType); 97 mPhotoPriorities.put(accountType, priority); 105 private int resolvePhotoPriority(String accountType) { argument 109 if (accountType.equals(auth.type)) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
H A D | ContactEditorUtilsTest.java | 50 "a", TYPE1.accountType, TYPE1.dataSet); 52 "b", TYPE1.accountType, TYPE1.dataSet); 55 "a", TYPE2.accountType, TYPE2.dataSet); 57 "a", TYPE2EX.accountType, TYPE2EX.dataSet); 60 "c", TYPE3.accountType, TYPE3.dataSet); 94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); 100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType), 108 Sets.newHashSet(TYPE1.accountType, TYPE2.accountType, TYPE2E 312 MockAccountType(String accountType, String dataSet, boolean areContactsWritable) argument [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | GoogleSource.java | 46 this.accountType = ACCOUNT_TYPE; 165 final String accountType = stateValues.getAsString(RawContacts.ACCOUNT_TYPE); 166 attemptMyContactsMembership(state, accountName, accountType, context, true); 180 final String accountName, final String accountType, Context context, 187 new String[] {accountName, accountType}, null); 218 newGroup.put(Groups.ACCOUNT_TYPE, accountType); 244 state, accountName, accountType, context, false); 179 attemptMyContactsMembership(EntityDelta state, final String accountName, final String accountType, Context context, boolean allowRecur) argument
|