Searched refs:mAccountTypes (Results 1 – 7 of 7) sorted by relevance
39 private MockAccountTypeManager mAccountTypes; field in ContactEditorUtilsTest65 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 …]
42 private final AccountTypeManager mAccountTypes; field in AccountsListAdapter65 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()
58 private final AccountTypeManager mAccountTypes; field in ContactEditorUtils68 mAccountTypes = accountTypes; in ContactEditorUtils()98 return mAccountTypes.getAccounts(true); in getWritableAccounts()243 for (AccountType type : mAccountTypes.getAccountTypes(true)) { in getWritableAccountTypeStrings()
204 private final AccountTypeManager mAccountTypes; field in AccountFilterActivity.FilterListAdapter213 mAccountTypes = AccountTypeManager.getInstance(context); in FilterListAdapter()242 view.bindView(mAccountTypes); in getView()
545 private AccountTypeManager mAccountTypes; field in CustomContactListFilterActivity.DisplayAdapter553 mAccountTypes = AccountTypeManager.getInstance(context); in DisplayAdapter()582 final AccountType accountType = mAccountTypes.getAccountType( in getGroupView()
75 private AccountTypeManager mAccountTypes; field in SplitAggregateView92 mAccountTypes = AccountTypeManager.getInstance(context); in SplitAggregateView()254 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet); in getView()
2205 private final ArrayList<AccountType> mAccountTypes; field in ContactDetailFragment.InvitableAccountTypesAdapter2211 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()