Lines Matching refs:contactInfo
256 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
406 if (contactInfo.lookupUri != null) { in addPersonReference()
407 builder.addPerson(contactInfo.lookupUri.toString()); in addPersonReference()
417 private Bitmap getLargeIconToDisplay(ContactCacheEntry contactInfo, Call call) { in getLargeIconToDisplay() argument
424 if (contactInfo.photo != null && (contactInfo.photo instanceof BitmapDrawable)) { in getLargeIconToDisplay()
425 largeIcon = ((BitmapDrawable) contactInfo.photo).getBitmap(); in getLargeIconToDisplay()