Lines Matching refs:contactInfo
201 private void buildAndSendNotification(Call originalCall, ContactCacheEntry contactInfo) { in buildAndSendNotification() argument
215 Bitmap largeIcon = getLargeIconToDisplay(contactInfo, call); in buildAndSendNotification()
217 final String contentTitle = getContentTitle(contactInfo, call); in buildAndSendNotification()
270 addPersonReference(builder, contactInfo, call); in buildAndSendNotification()
356 private String getContentTitle(ContactCacheEntry contactInfo, Call call) { in getContentTitle() argument
360 if (TextUtils.isEmpty(contactInfo.name)) { in getContentTitle()
361 return TextUtils.isEmpty(contactInfo.number) ? null in getContentTitle()
363 contactInfo.number.toString(), TextDirectionHeuristics.LTR); in getContentTitle()
366 return contactInfo.name; in getContentTitle()
369 private void addPersonReference(Notification.Builder builder, ContactCacheEntry contactInfo, in addPersonReference() argument
371 if (contactInfo.lookupUri != null) { in addPersonReference()
372 builder.addPerson(contactInfo.lookupUri.toString()); in addPersonReference()
382 private Bitmap getLargeIconToDisplay(ContactCacheEntry contactInfo, Call call) { in getLargeIconToDisplay() argument
388 if (contactInfo.photo != null && (contactInfo.photo instanceof BitmapDrawable)) { in getLargeIconToDisplay()
389 largeIcon = ((BitmapDrawable) contactInfo.photo).getBitmap(); in getLargeIconToDisplay()