Home
last modified time | relevance | path

Searched refs:contactInfo (Results 1 – 5 of 5) sorted by relevance

/packages/apps/InCallUI/src/com/android/incallui/
DStatusBarNotifier.java256 private void buildAndSendNotification(Call originalCall, ContactCacheEntry contactInfo) { in buildAndSendNotification() argument
270 final Bitmap largeIcon = getLargeIconToDisplay(contactInfo, call); in buildAndSendNotification()
272 final String contentTitle = getContentTitle(contactInfo, call); in buildAndSendNotification()
312 addPersonReference(builder, contactInfo, call); in buildAndSendNotification()
390 private String getContentTitle(ContactCacheEntry contactInfo, Call call) { in getContentTitle() argument
395 if (TextUtils.isEmpty(contactInfo.name)) { in getContentTitle()
396 return TextUtils.isEmpty(contactInfo.number) ? null in getContentTitle()
398 contactInfo.number.toString(), TextDirectionHeuristics.LTR); in getContentTitle()
401 return contactInfo.name; in getContentTitle()
404 private void addPersonReference(Notification.Builder builder, ContactCacheEntry contactInfo, in addPersonReference() argument
[all …]
DCallCardPresenter.java645 private static String getNameForCall(ContactCacheEntry contactInfo) { in getNameForCall() argument
646 if (TextUtils.isEmpty(contactInfo.name)) { in getNameForCall()
647 return contactInfo.number; in getNameForCall()
649 return contactInfo.name; in getNameForCall()
655 private static String getNumberForCall(ContactCacheEntry contactInfo) { in getNumberForCall() argument
658 if (TextUtils.isEmpty(contactInfo.name)) { in getNumberForCall()
659 return contactInfo.location; in getNumberForCall()
661 return contactInfo.number; in getNumberForCall()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogFragmentTest.java480 ContactInfo contactInfo = new ContactInfo(); in insertWithCachedValues() local
481 contactInfo.lookupUri = TEST_LOOKUP_URI; in insertWithCachedValues()
482 contactInfo.name = cachedName; in insertWithCachedValues()
483 contactInfo.type = cachedNumberType; in insertWithCachedValues()
484 contactInfo.label = cachedNumberLabel; in insertWithCachedValues()
489 contactInfo.formattedNumber = formattedNumber; in insertWithCachedValues()
490 contactInfo.normalizedNumber = number; in insertWithCachedValues()
491 contactInfo.photoId = 0; in insertWithCachedValues()
492 mAdapter.injectContactInfoForTest(number, TEST_COUNTRY_ISO, contactInfo); in insertWithCachedValues()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactResolver.java200 final ContactInfo contactInfo = contactInfos.get(email); in doInBackground() local
201 if (contactInfo == null) { in doInBackground()
209 final byte[] photo = contactInfo.photoBytes; in doInBackground()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAdapter.java1303 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { in injectContactInfoForTest() argument
1305 mContactInfoCache.put(numberCountryIso, contactInfo); in injectContactInfoForTest()