Searched refs:mAccounts (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountsListAdapter.java41 private final List<AccountWithDataSet> mAccounts; field in class:AccountsListAdapter
66 mAccounts = getAccounts(accountListFilter);
68 && !mAccounts.isEmpty()
69 && !mAccounts.get(0).equals(currentAccount)
70 && mAccounts.remove(currentAccount)) {
71 mAccounts.add(0, currentAccount);
93 final AccountWithDataSet account = mAccounts.get(position);
110 return mAccounts.size();
115 return mAccounts.get(position);
/packages/apps/Browser/src/com/android/browser/
H A DDeviceAccountLogin.java35 Account[] mAccounts; field in class:DeviceAccountLogin
60 mAccounts = mAccountManager.getAccountsByType(realm);
64 if (mAccounts.length == 0) {
69 for (Account a : mAccounts) {
132 mAccounts[accountIndex], mAuthToken, null,
137 String[] names = new String[mAccounts.length];
138 for (int i = 0; i < mAccounts.length; i++) {
139 names[i] = mAccounts[i].name;
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
H A DMockAccountTypeManager.java36 public AccountWithDataSet[] mAccounts; field in class:MockAccountTypeManager
40 this.mAccounts = accounts;
56 return Arrays.asList(mAccounts);
61 return Arrays.asList(mAccounts);
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupAccountTypeTests.java44 private HashSet<Account> mAccounts = new HashSet<Account>(); field in class:AccountSetupAccountTypeTests
61 for (Account account : mAccounts) {
94 mAccounts.add(account);
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DContactEditorUtilsTest.java78 mAccountTypes.mAccounts = accounts;
126 mAccountTypes.mAccounts = new AccountWithDataSet[]{};
130 Sets.newHashSet(mAccountTypes.mAccounts),
134 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A};
138 Sets.newHashSet(mAccountTypes.mAccounts),
142 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_1_B};
146 Sets.newHashSet(mAccountTypes.mAccounts),
161 mAccountTypes.mAccounts = new AccountWithDataSet[]{};
166 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_2_A};
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarSettingsActivity.java38 private Account[] mAccounts; field in class:CalendarSettingsActivity
64 mAccounts = accounts;
119 if (accounts != null && !accounts.equals(mAccounts)) {
/packages/apps/Contacts/src/com/android/contacts/list/
H A DCustomContactListFilterActivity.java547 private AccountSet mAccounts; field in class:CustomContactListFilterActivity.DisplayAdapter
558 mAccounts = accounts;
605 final AccountDisplay account = mAccounts.get(groupPosition);
628 final AccountDisplay account = mAccounts.get(groupPosition);
652 final AccountDisplay account = mAccounts.get(groupPosition);
659 return mAccounts.get(groupPosition);
664 if (mAccounts == null) {
667 return mAccounts.size();
832 if (mAdapter == null || mAdapter.mAccounts == null) {
839 final ArrayList<ContentProviderOperation> diff = mAdapter.mAccounts
[all...]
/packages/apps/Contacts/src/com/android/contacts/model/
H A DAccountTypeManager.java190 private List<AccountWithDataSet> mAccounts = Lists.newArrayList(); field in class:AccountTypeManagerImpl
513 mAccounts = allAccounts;
525 + mAccounts.size() + " accounts in " + (endTimeWall - startTimeWall) + "ms(wall) "
574 return contactWritableOnly ? mContactWritableAccounts : mAccounts;
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountSyncSettings.java79 private Account[] mAccounts; field in class:AccountSyncSettings
365 updateAccountCheckboxes(mAccounts);
431 mAccounts = accounts;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java89 private Account[] mAccounts = new Account[0]; field in class:ContactsActor
120 return mAccounts;
519 mAccounts = accounts;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java4888 private Account[] mAccounts; field in class:CalendarProvider2.AccountsUpdatedThread
4891 mAccounts = accounts;
4902 removeStaleAccounts(mAccounts);

Completed in 385 milliseconds