/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GlobalSearchSupportTest.java | 70 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").photo( in testSearchSuggestionsByNameWithPhoto() local 77 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").photo( in testSearchSuggestionsByEmailWithPhoto() local 85 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").company("Google") in testSearchSuggestionsByName() local 92 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").nickname( in testSearchByNickname() local 99 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").company("Google") in testSearchByCompany() local 106 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").company("Google") in testSearchByTitleWithCompany() local 115 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").photo( in testSearchSuggestionsByPhoneNumberOnNonPhone() local 127 private final GoldenContact contact; field in GlobalSearchSupportTest.SuggestionTester 294 private final GoldenContact contact; field in GlobalSearchSupportTest.SuggestionTesterBuilder 306 public SuggestionTesterBuilder(GoldenContact contact) { in SuggestionTesterBuilder()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolder.java | 67 public void bind(Contact contact, boolean showHeader, String header) { in bind() 68 TelecomUtils.setContactBitmapAsync(mAvatarView.getContext(), mAvatarView, contact); in bind() local 82 private void setLabelText(Contact contact) { in setLabelText() 103 private void setCallActionView(Contact contact, boolean forceShowButton) { in setCallActionView() 124 private void setShowContactDetailView(Contact contact, boolean forceShowButton) { in setShowContactDetailView()
|
D | ContactDetailsViewModel.java | 60 public LiveData<FutureData<Contact>> getContactDetails(@Nullable Contact contact) { in getContactDetails() 76 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite() 86 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite() 98 private ContactDetailsLiveData(Context context, @NonNull Contact contact) { in ContactDetailsLiveData() 151 public void setValue(Contact contact) { in setValue()
|
D | ContactListAdapter.java | 42 void onShowContactDetail(Contact contact); in onShowContactDetail() 79 Contact contact = mContactList.get(position); in onBindViewHolder() local 98 private String getHeader(Contact contact) { in getHeader()
|
D | ContactDetailsAdapter.java | 45 void onClick(Contact contact, PhoneNumber phoneNumber); in onClick() 55 @Nullable Contact contact, in ContactDetailsAdapter() 63 void setContact(Contact contact) { in setContact()
|
D | ContactDetailsFragment.java | 69 public static ContactDetailsFragment newInstance(Contact contact) { in newInstance() 112 private void onContactChanged(Contact contact) { in onContactChanged() 189 public void onClick(Contact contact, PhoneNumber phoneNumber) { in onClick()
|
D | ContactDetailsViewHolder.java | 100 public void bind(Context context, Contact contact) { in bind() 154 public void bind(Context context, Contact contact, PhoneNumber phoneNumber) { in bind()
|
D | ContactListFragment.java | 71 public void onShowContactDetail(Contact contact) { in onShowContactDetail()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/ |
D | CallLogViewHolder.java | 72 Contact contact = uiCallLog.getContact(); in bind() local 77 contact, in bind() local 113 private void setUpActionButton(Contact contact) { in setUpActionButton()
|
D | CallHistoryFragment.java | 72 public void onShowContactDetail(Contact contact) { in onShowContactDetail()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 120 Contact contact = assertLoadContact(baseUri); in testLoadContactWithContactIdUri() local 148 Contact contact = assertLoadContact(legacyUri); in testLoadContactWithOldStyleUri() local 179 Contact contact = assertLoadContact(rawContactUri); in testLoadContactWithRawContactIdUri() local 203 Contact contact = assertLoadContact(lookupNoIdUri); in testLoadContactWithContactLookupUri() local 227 Contact contact = assertLoadContact(lookupUri); in testLoadContactWithContactLookupAndIdUri() local 261 Contact contact = assertLoadContact(lookupWithWrongIdUri); in testLoadContactWithContactLookupWithIncorrectIdUri() local 294 Contact contact = assertLoadContact(lookupUri); in testLoadContactReturnDirectoryContactWithoutDisplayName() local
|
D | SimContactTests.java | 46 private void assertParcelsCorrectly(SimContact contact) { in assertParcelsCorrectly()
|
D | RawContactTest.java | 42 final RawContact contact = new RawContact(values); in buildRawContact() local 57 final RawContact contact = new RawContact(values); in buildRawContact2() local
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | DialerUtils.java | 110 Contact contact, in promptForPrimaryNumber() 132 private static boolean hasPostalAddress(Resources resources, @NonNull Contact contact) { in hasPostalAddress() 141 public static boolean hasContactDetail(Resources resources, @Nullable Contact contact) { in hasContactDetail()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/ |
D | ContactResultViewHolder.java | 72 Contact contact = contactResult.getContact(); in bindSearchResult() local 90 Contact contact = contactResult.getContact(); in bindTypeDownResult() local
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | OldCallDetailsAdapter.java | 39 private final DialerContact contact; field in OldCallDetailsAdapter 43 DialerContact contact, in OldCallDetailsAdapter()
|
D | OldCallDetailsActivity.java | 42 private DialerContact contact; field in OldCallDetailsActivity 53 DialerContact contact, in newInstance()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/ |
D | FavoriteNumberRepository.java | 108 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite() 122 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite() 209 Contact contact = Contact.fromCursor(mContext, cursor); in lookupContact() local 227 private boolean matches(FavoriteNumberEntity favoriteNumber, Contact contact, in matches()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteFragment.java | 85 private void onItemClicked(Contact contact) { in onItemClicked() 86 DialerUtils.promptForPrimaryNumber(getContext(), contact, (phoneNumber, always) -> in onItemClicked() local
|
D | FavoriteAdapter.java | 103 Contact contact = (Contact) mFavoriteContacts.get(position); in onBindViewHolder() local 122 private void onItemViewClicked(Contact contact) { in onItemViewClicked()
|
D | FavoriteViewModel.java | 97 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
|
D | FavoriteContactViewHolder.java | 62 public void onBind(@NonNull Contact contact) { in onBind()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/ |
D | ShadowInMemoryPhoneBook.java | 39 public void add(String number, Contact contact) { in add()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 269 public void onContactLoaded(Contact contact); in onContactLoaded() 278 private void saveContact(Contact contact) { in saveContact() 298 private void saveToContact(Contact contact, RawContactDeltaList deltaList, in saveToContact()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragment.java | 270 Contact contact = InMemoryPhoneBook.get().lookupContactEntry(number); in presentContactInfo() local 280 private void presentContactDetail(@Nullable Contact contact, @NonNull String number) { in presentContactDetail() 288 TelecomUtils.setContactBitmapAsync(getContext(), mAvatar, contact); in presentContactDetail() local
|