Home
last modified time | relevance | path

Searched refs:AccountDisplayInfo (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfo.java29 public class AccountDisplayInfo { class
38 public AccountDisplayInfo(AccountWithDataSet account, CharSequence name, CharSequence type, in AccountDisplayInfo() method in AccountDisplayInfo
79 public AccountDisplayInfo withName(CharSequence name) { in withName()
83 public AccountDisplayInfo withType(CharSequence type) { in withType()
87 public AccountDisplayInfo withNameAndType(CharSequence name, CharSequence type) { in withNameAndType()
88 return new AccountDisplayInfo(mSource, name, type, mIcon, mIsDeviceAccount); in withNameAndType()
91 public AccountDisplayInfo formatted(Context context, @StringRes int nameFormat, in formatted()
93 return new AccountDisplayInfo(mSource, context.getString(nameFormat, mName), in formatted()
97 public AccountDisplayInfo withFormattedName(Context context, @StringRes int nameFormat) { in withFormattedName()
DAccountDisplayInfoFactory.java62 public AccountDisplayInfo getAccountDisplayInfo(AccountWithDataSet account) { in getAccountDisplayInfo()
67 return new AccountDisplayInfo(account, name, type.getDisplayLabel(mContext), in getAccountDisplayInfo()
73 public AccountDisplayInfo getAccountDisplayInfoFor(ContactListFilter filter) { in getAccountDisplayInfoFor()
77 public AccountDisplayInfo getAccountDisplayInfoFor(RawContactDelta delta) { in getAccountDisplayInfoFor()
DAccountInfo.java34 private final AccountDisplayInfo mDisplayInfo;
37 public AccountInfo(AccountDisplayInfo displayInfo, AccountType type) { in AccountInfo()
DDeviceLocalAccountType.java43 new AccountDisplayInfo(account, getDisplayLabel(context), getDisplayLabel(context), in wrapAccount()
DFallbackAccountType.java107 new AccountDisplayInfo(account, account.name, in wrapAccount()
DSimAccountType.java121 new AccountDisplayInfo(account, getDisplayLabel(context), getDisplayLabel(context), in wrapAccount()
DAccountType.java198 new AccountDisplayInfo(account, account.name, in wrapAccount()
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java28 import com.android.contacts.model.account.AccountDisplayInfo;
79 final AccountInfo account = new AccountInfo(new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, in testGetProfileAccountInfo_NonLocalAccount()
94 final AccountInfo account = new AccountInfo(new AccountDisplayInfo(ACCOUNT, "Device", in testGetProfileAccountInfo_DeviceLocalAccount()
106 final AccountDisplayInfo account = new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, in testGetAccountInfo_AccountType_NonGoogle()
117 final AccountDisplayInfo account = new AccountDisplayInfo(GOOGLE_ACCOUNT, ACCOUNT_NAME, in testGetAccountInfo_AccountType_Google()
130 final AccountDisplayInfo account = new AccountDisplayInfo(deviceAccount, "Device", in testGetAccountInfo_AccountType_DeviceAccount()
176 private AccountDisplayInfo createDisplayableAccount() { in createDisplayableAccount()
177 return new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, DISPLAY_LABEL, null, false); in createDisplayableAccount()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DAccountDisplayInfoFactoryTests.java26 import com.android.contacts.model.account.AccountDisplayInfo;
59 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccount_hasIconFromAccountType()
74 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccount_hasNameFromAccount()
85 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForNullAccount_hasNameFromAccountType()
98 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForDeviceAccount_hasNameFromAccountType()
116 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForDeviceAccountWhenMultiple_hasNameFromAccount()
120 final AccountDisplayInfo displayable2 = sut.getAccountDisplayInfo( in test_displayableAccountForDeviceAccountWhenMultiple_hasNameFromAccount()
132 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForSimAccount_hasNameFromAccountType()
145 final AccountDisplayInfo displayable = sut.getAccountDisplayInfo( in test_displayableAccountForSimAccountWhenMultiple_hasNameFromAccount()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java53 import com.android.contacts.model.account.AccountDisplayInfo;
123 public static String getAccountTypeHeaderLabel(Context context, AccountDisplayInfo in getAccountTypeHeaderLabel()
DPickRawContactDialogFragment.java28 import com.android.contacts.model.account.AccountDisplayInfo;
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java33 import com.android.contacts.model.account.AccountDisplayInfo;
282 final AccountDisplayInfo displayableAccount = in getAccountItemView()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java43 import com.android.contacts.model.account.AccountDisplayInfo;
/packages/apps/Contacts/
Dproguard.flags40 -keep class com.android.contacts.model.account.AccountDisplayInfo { *; }