Searched defs:contactInfo (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Dialer/src/com/android/dialer/contactinfo/
H A DContactPhotoLoader.java51 public ContactPhotoLoader(Context context, ContactInfo contactInfo) { argument
53 mContactInfo = Preconditions.checkNotNull(contactInfo);
H A DContactInfoCache.java329 String number, String countryIso, ContactInfo contactInfo) {
331 mCache.put(numberCountryIso, contactInfo);
328 injectContactInfoForTest( String number, String countryIso, ContactInfo contactInfo) argument
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DExternalCallNotifier.java313 * @param contactInfo The contact cache info.
318 ContactInfoCache.ContactCacheEntry contactInfo, android.telecom.Call call) {
328 if (contactInfo.photo != null && (contactInfo.photo instanceof BitmapDrawable)) {
329 largeIcon = ((BitmapDrawable) contactInfo.photo).getBitmap();
360 * @param contactInfo The contact info which was looked up in the contact cache.
366 ContactInfoCache.ContactCacheEntry contactInfo, android.telecom.Call call) {
375 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo.namePrimary,
376 contactInfo.nameAlternative, contactsPreferences);
378 return TextUtils.isEmpty(contactInfo
317 getLargeIconToDisplay(Context context, ContactInfoCache.ContactCacheEntry contactInfo, android.telecom.Call call) argument
364 getContentTitle(Context context, @Nullable ContactsPreferences contactsPreferences, ContactInfoCache.ContactCacheEntry contactInfo, android.telecom.Call call) argument
392 getPersonReference(ContactInfoCache.ContactCacheEntry contactInfo, Call call) argument
[all...]
H A DStatusBarNotifier.java232 private void buildAndSendNotification(Call originalCall, ContactCacheEntry contactInfo) { argument
245 Bitmap largeIcon = getLargeIconToDisplay(contactInfo, call);
247 getContentString(call, contactInfo.userType);
248 final String contentTitle = getContentTitle(contactInfo, call);
261 notificationType, contactInfo.contactRingtoneUri)) {
315 addPersonReference(builder, contactInfo, call);
322 if (mDialerRingtoneManager.shouldPlayRingtone(callState, contactInfo.contactRingtoneUri)) {
324 notification.sound = contactInfo.contactRingtoneUri;
428 String getContentTitle(ContactCacheEntry contactInfo, Call call) { argument
433 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo
442 addPersonReference(Notification.Builder builder, ContactCacheEntry contactInfo, Call call) argument
458 getLargeIconToDisplay(ContactCacheEntry contactInfo, Call call) argument
[all...]
H A DCallCardPresenter.java966 String getNameForCall(ContactCacheEntry contactInfo) { argument
968 contactInfo.namePrimary,
969 contactInfo.nameAlternative,
972 return contactInfo.number;
981 String getNumberForCall(ContactCacheEntry contactInfo) { argument
985 contactInfo.namePrimary,
986 contactInfo.nameAlternative,
989 return contactInfo.location;
991 return contactInfo.number;
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogAdapter.java610 private String getPreferredDisplayName(ContactInfo contactInfo) { argument
612 TextUtils.isEmpty(contactInfo.nameAlternative)) {
613 return contactInfo.name;
615 return contactInfo.nameAlternative;
823 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { argument
825 mContactInfoCache.injectContactInfoForTest(number, countryIso, contactInfo);
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogAdapterTest.java694 ContactInfo contactInfo =
696 mAdapter.injectContactInfoForTest(number, TEST_COUNTRY_ISO, contactInfo);
884 * Dummy contactInfo to return in the even that the getValue method has been mocked
897 * @param contactInfo the contactInfo
899 public void mockGetValue(ContactInfo contactInfo) { argument
900 this.mContactInfo = contactInfo;

Completed in 70 milliseconds