Lines Matching full:contactinfo
194 private void buildAndSendNotification(Call originalCall, ContactCacheEntry contactInfo) {
208 Bitmap largeIcon = getLargeIconToDisplay(contactInfo, call);
210 final String contentTitle = getContentTitle(contactInfo, call);
263 addPersonReference(builder, contactInfo, call);
349 private String getContentTitle(ContactCacheEntry contactInfo, Call call) {
353 if (TextUtils.isEmpty(contactInfo.name)) {
354 return TextUtils.isEmpty(contactInfo.number) ? null
356 contactInfo.number.toString(), TextDirectionHeuristics.LTR);
359 return contactInfo.name;
362 private void addPersonReference(Notification.Builder builder, ContactCacheEntry contactInfo,
364 if (contactInfo.lookupUri != null) {
365 builder.addPerson(contactInfo.lookupUri.toString());
375 private Bitmap getLargeIconToDisplay(ContactCacheEntry contactInfo, Call call) {
381 if (contactInfo.photo != null && (contactInfo.photo instanceof BitmapDrawable)) {
382 largeIcon = ((BitmapDrawable) contactInfo.photo).getBitmap();