Home
last modified time | relevance | path

Searched refs:mAccountTypes (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java39 private MockAccountTypeManager mAccountTypes; field in ContactEditorUtilsTest
65 mAccountTypes = new MockAccountTypeManager(new AccountType[] {}, in setUp()
67 mTarget = new ContactEditorUtils(getContext(), mAccountTypes); in setUp()
74 mAccountTypes.mTypes = types; in setAccountTypes()
78 mAccountTypes.mAccounts = accounts; in setAccounts()
126 mAccountTypes.mAccounts = new AccountWithDataSet[]{}; in testSaveDefaultAndAllAccounts()
130 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts()
134 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A}; in testSaveDefaultAndAllAccounts()
138 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts()
142 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_1_B}; in testSaveDefaultAndAllAccounts()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DAccountsListAdapter.java42 private final AccountTypeManager mAccountTypes; field in AccountsListAdapter
65 mAccountTypes = AccountTypeManager.getInstance(context); in AccountsListAdapter()
78 return new ArrayList<AccountWithDataSet>(mAccountTypes.getGroupWritableAccounts()); in getAccounts()
80 return new ArrayList<AccountWithDataSet>(mAccountTypes.getAccounts( in getAccounts()
94 final AccountType accountType = mAccountTypes.getAccountType(account.type, account.dataSet); in getView()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java58 private final AccountTypeManager mAccountTypes; field in ContactEditorUtils
68 mAccountTypes = accountTypes; in ContactEditorUtils()
98 return mAccountTypes.getAccounts(true); in getWritableAccounts()
243 for (AccountType type : mAccountTypes.getAccountTypes(true)) { in getWritableAccountTypeStrings()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DAccountFilterActivity.java204 private final AccountTypeManager mAccountTypes; field in AccountFilterActivity.FilterListAdapter
213 mAccountTypes = AccountTypeManager.getInstance(context); in FilterListAdapter()
242 view.bindView(mAccountTypes); in getView()
DCustomContactListFilterActivity.java545 private AccountTypeManager mAccountTypes; field in CustomContactListFilterActivity.DisplayAdapter
553 mAccountTypes = AccountTypeManager.getInstance(context); in DisplayAdapter()
582 final AccountType accountType = mAccountTypes.getAccountType( in getGroupView()
/packages/apps/Contacts/src/com/android/contacts/
DSplitAggregateView.java75 private AccountTypeManager mAccountTypes; field in SplitAggregateView
92 mAccountTypes = AccountTypeManager.getInstance(context); in SplitAggregateView()
254 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet); in getView()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java2205 private final ArrayList<AccountType> mAccountTypes; field in ContactDetailFragment.InvitableAccountTypesAdapter
2211 mAccountTypes = new ArrayList<AccountType>(types.size()); in InvitableAccountTypesAdapter()
2214 mAccountTypes.add(types.get(i)); in InvitableAccountTypesAdapter()
2217 Collections.sort(mAccountTypes, new AccountType.DisplayLabelComparator(mContext)); in InvitableAccountTypesAdapter()
2230 final AccountType accountType = mAccountTypes.get(position); in getView()
2249 return mAccountTypes.size(); in getCount()
2254 return mAccountTypes.get(position); in getItem()