Searched defs:mAccounts (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarSettingsActivity.java38 private Account[] mAccounts; field in class:CalendarSettingsActivity
64 mAccounts = accounts;
125 if (accounts != null && !accounts.equals(mAccounts)) {
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockAccountTypeManager.java37 public AccountWithDataSet[] mAccounts; field in class:MockAccountTypeManager
41 this.mAccounts = accounts;
65 return Arrays.asList(mAccounts);
70 return Arrays.asList(mAccounts);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountsListAdapter.java41 private final List<AccountWithDataSet> mAccounts; field in class:AccountsListAdapter
67 mAccounts = getAccounts(accountListFilter);
69 && !mAccounts.isEmpty()
70 && !mAccounts.get(0).equals(currentAccount)
71 && mAccounts.remove(currentAccount)) {
72 mAccounts.add(0, currentAccount);
99 final AccountWithDataSet account = mAccounts.get(position);
116 return mAccounts.size();
121 return mAccounts.get(position);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinner.java37 private List<Account> mAccounts; field in class:FromAddressSpinner
94 final List<Account> accounts = AccountUtils.mergeAccountLists(mAccounts,
97 mAccounts = accounts;
112 mAccounts = ImmutableList.of(replyAccount);
123 if (mAccounts == null || mAccounts.size() == 0) {
130 for (Account account : mAccounts) {
H A DComposeActivity.java344 private Account[] mAccounts; field in class:ComposeActivity
771 mAccounts = null;
785 mAccounts = null;
789 mAccounts = AccountUtils.getSyncingAccounts(this);
822 if (mAccounts != null && mAccounts.length > 0) {
826 for (Account a : mAccounts) {
834 for (Account a : mAccounts) {
841 account = mAccounts[0];
966 mFromSpinner.initialize(mComposeMode, mAccount, mAccounts, mRefMessag
[all...]
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipAccountRegistry.java106 private final List<AccountEntry> mAccounts = new CopyOnWriteArrayList<>(); field in class:SipAccountRegistry
164 mAccounts.remove(accountEntry);
270 mAccounts.add(entry);
281 for (AccountEntry entry : mAccounts) {
/packages/services/Telephony/src/com/android/phone/settings/
H A DAccountSelectionPreference.java49 private PhoneAccountHandle[] mAccounts; field in class:AccountSelectionPreference
78 mAccounts = accountsList.toArray(new PhoneAccountHandle[accountsList.size()]);
79 mEntryValues = new String[mAccounts.length + 1];
80 mEntries = new CharSequence[mAccounts.length + 1];
84 int selectedIndex = mAccounts.length; // Points to nullSelectionString by default
86 for ( ; i < mAccounts.length; i++) {
87 PhoneAccount account = telecomManager.getPhoneAccount(mAccounts[i]);
90 label = pm.getUserBadgedLabel(label, mAccounts[i].getUserHandle());
98 if (Objects.equals(currentSelection, mAccounts[i])) {
117 PhoneAccountHandle account = index < mAccounts
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DAccountTypeManager.java202 private List<AccountWithDataSet> mAccounts = Lists.newArrayList(); field in class:AccountTypeManagerImpl
510 mAccounts = allAccounts;
522 + mAccounts.size() + " accounts in " + (endTimeWall - startTimeWall) + "ms(wall) "
571 return contactWritableOnly ? mContactWritableAccounts : mAccounts;
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java395 if (!mAccounts.contains(this)) {
483 private List<AccountEntry> mAccounts = new LinkedList<AccountEntry>(); field in class:TelecomAccountRegistry
523 for (AccountEntry entry : mAccounts) {
541 for (AccountEntry entry : mAccounts) {
559 for (AccountEntry entry : mAccounts) {
577 Optional<AccountEntry> result = mAccounts.stream().filter(
603 for (AccountEntry entry : mAccounts) {
645 for (AccountEntry entry : mAccounts) {
695 mAccounts.add(new AccountEntry(phone, false /* emergency */,
704 if (mAccounts
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DCustomContactListFilterActivity.java549 private AccountSet mAccounts; field in class:CustomContactListFilterActivity.DisplayAdapter
560 mAccounts = accounts;
607 final AccountDisplay account = mAccounts.get(groupPosition);
630 final AccountDisplay account = mAccounts.get(groupPosition);
654 final AccountDisplay account = mAccounts.get(groupPosition);
661 return mAccounts.get(groupPosition);
666 if (mAccounts == null) {
669 return mAccounts.size();
829 if (mAdapter == null || mAdapter.mAccounts == null) {
836 final ArrayList<ContentProviderOperation> diff = mAdapter.mAccounts
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java101 private Account[] mAccounts = new Account[0]; field in class:ContactsActor
132 return mAccounts;
718 mAccounts = accounts;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DFolderListFragment.java1306 private List<DrawerItem> mAccounts; field in class:FolderListFragment.AccountsAdapter
1309 mAccounts = new ArrayList<>();
1313 mAccounts = accounts;
1319 return mAccounts.size();
1325 if (position >= mAccounts.size()) {
1328 return mAccounts.get(position);
1627 private List<Account> mAccounts = new ArrayList<>(); field in class:FolderListFragment.MiniDrawerAccountsAdapter
1630 mAccounts.clear();
1635 mAccounts.add(currentAccount);
1639 mAccounts
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java4977 private Account[] mAccounts; field in class:CalendarProvider2.AccountsUpdatedThread
4980 mAccounts = accounts;
4991 removeStaleAccounts(mAccounts);

Completed in 306 milliseconds