Home
last modified time | relevance | path

Searched defs:contact (Results 1 – 25 of 65) sorted by relevance

123

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGlobalSearchSupportTest.java70 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/
DContactListViewHolder.java67 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()
DContactDetailsViewModel.java60 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()
DContactListAdapter.java42 void onShowContactDetail(Contact contact); in onShowContactDetail()
79 Contact contact = mContactList.get(position); in onBindViewHolder() local
98 private String getHeader(Contact contact) { in getHeader()
DContactDetailsAdapter.java45 void onClick(Contact contact, PhoneNumber phoneNumber); in onClick()
55 @Nullable Contact contact, in ContactDetailsAdapter()
63 void setContact(Contact contact) { in setContact()
DContactDetailsFragment.java69 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()
DContactDetailsViewHolder.java100 public void bind(Context context, Contact contact) { in bind()
154 public void bind(Context context, Contact contact, PhoneNumber phoneNumber) { in bind()
DContactListFragment.java71 public void onShowContactDetail(Contact contact) { in onShowContactDetail()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java72 Contact contact = uiCallLog.getContact(); in bind() local
77 contact, in bind() local
113 private void setUpActionButton(Contact contact) { in setUpActionButton()
DCallHistoryFragment.java72 public void onShowContactDetail(Contact contact) { in onShowContactDetail()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java120 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
DSimContactTests.java46 private void assertParcelsCorrectly(SimContact contact) { in assertParcelsCorrectly()
DRawContactTest.java42 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/
DDialerUtils.java110 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/
DContactResultViewHolder.java72 Contact contact = contactResult.getContact(); in bindSearchResult() local
90 Contact contact = contactResult.getContact(); in bindTypeDownResult() local
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DOldCallDetailsAdapter.java39 private final DialerContact contact; field in OldCallDetailsAdapter
43 DialerContact contact, in OldCallDetailsAdapter()
DOldCallDetailsActivity.java42 private DialerContact contact; field in OldCallDetailsActivity
53 DialerContact contact, in newInstance()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java108 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/
DFavoriteFragment.java85 private void onItemClicked(Contact contact) { in onItemClicked()
86 DialerUtils.promptForPrimaryNumber(getContext(), contact, (phoneNumber, always) -> in onItemClicked() local
DFavoriteAdapter.java103 Contact contact = (Contact) mFavoriteContacts.get(position); in onBindViewHolder() local
122 private void onItemViewClicked(Contact contact) { in onItemViewClicked()
DFavoriteViewModel.java97 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
DFavoriteContactViewHolder.java62 public void onBind(@NonNull Contact contact) { in onBind()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowInMemoryPhoneBook.java39 public void add(String number, Contact contact) { in add()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java269 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/
DDialpadFragment.java270 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

123