Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java288 CallList callList, DialerCall originalCall, ContactCacheEntry contactInfo) { in buildAndSendNotification() argument
301 Bitmap largeIcon = getLargeIconToDisplay(mContext, contactInfo, call); in buildAndSendNotification()
302 final String content = getContentString(call, contactInfo.userType); in buildAndSendNotification()
303 final String contentTitle = getContentTitle(contactInfo, call); in buildAndSendNotification()
336 contactInfo.contactRingtoneUri)) { in buildAndSendNotification()
419 addPersonReference(builder, contactInfo, call); in buildAndSendNotification()
424 if (mDialerRingtoneManager.shouldPlayRingtone(callState, contactInfo.contactRingtoneUri)) { in buildAndSendNotification()
426 notification.sound = contactInfo.contactRingtoneUri; in buildAndSendNotification()
455 contactInfo.photoType, in buildAndSendNotification()
573 String getContentTitle(ContactCacheEntry contactInfo, DialerCall call) { in getContentTitle() argument
[all …]
DExternalCallNotifier.java331 Context context, ContactInfoCache.ContactCacheEntry contactInfo, android.telecom.Call call) { in getLargeIconToDisplay() argument
342 if (contactInfo.photo != null && (contactInfo.photo instanceof BitmapDrawable)) { in getLargeIconToDisplay()
343 largeIcon = ((BitmapDrawable) contactInfo.photo).getBitmap(); in getLargeIconToDisplay()
381 ContactInfoCache.ContactCacheEntry contactInfo, in getContentTitle() argument
392 contactInfo.namePrimary, contactInfo.nameAlternative, contactsPreferences); in getContentTitle()
394 return TextUtils.isEmpty(contactInfo.number) in getContentTitle()
397 .unicodeWrap(contactInfo.number, TextDirectionHeuristics.LTR); in getContentTitle()
410 private String getPersonReference(ContactInfoCache.ContactCacheEntry contactInfo, Call call) { in getPersonReference() argument
416 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in getPersonReference()
417 return contactInfo.lookupUri.toString(); in getPersonReference()
DContactInfoCache.java99 ContactInfo contactInfo = new ContactInfo(); in doInBackground() local
100 CachedContactInfo cacheInfo = input.service.buildCachedContactInfo(contactInfo); in doInBackground()
102 contactInfo.name = input.cnapName; in doInBackground()
103 contactInfo.number = input.number; in doInBackground()
109 new JSONObject().put(Phone.NUMBER, contactInfo.number)); in doInBackground()
112 .put(Contacts.DISPLAY_NAME, contactInfo.name) in doInBackground()
DCallCardPresenter.java973 private String getNameForCall(ContactCacheEntry contactInfo) { in getNameForCall() argument
976 contactInfo.namePrimary, contactInfo.nameAlternative, mContactsPreferences); in getNameForCall()
978 return contactInfo.number; in getNameForCall()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java267 ContactInfo contactInfo = new ContactInfo(); in createEmptyContactInfoForNumber() local
268 contactInfo.number = number; in createEmptyContactInfoForNumber()
269 contactInfo.formattedNumber = formatPhoneNumber(number, null, countryIso); in createEmptyContactInfoForNumber()
270 contactInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in createEmptyContactInfoForNumber()
271 contactInfo.lookupUri = createTemporaryContactUri(contactInfo.formattedNumber); in createEmptyContactInfoForNumber()
272 return contactInfo; in createEmptyContactInfoForNumber()
283 ContactInfo contactInfo = lookupNumber(number, countryIso, directoryId); in lookupNumberInRemoteDirectory() local
284 if (hasName(contactInfo)) { in lookupNumberInRemoteDirectory()
285 return contactInfo; in lookupNumberInRemoteDirectory()
292 public boolean hasName(ContactInfo contactInfo) { in hasName() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DMissedCallNotifier.java150 ContactInfo contactInfo = in updateMissedCallNotification() local
154 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in updateMissedCallNotification()
158 if (TextUtils.equals(contactInfo.name, contactInfo.formattedNumber) in updateMissedCallNotification()
159 || TextUtils.equals(contactInfo.name, contactInfo.number)) { in updateMissedCallNotification()
163 .unicodeWrap(contactInfo.name, TextDirectionHeuristics.LTR)); in updateMissedCallNotification()
165 expandedText = contactInfo.name; in updateMissedCallNotification()
168 ContactPhotoLoader loader = new ContactPhotoLoader(context, contactInfo); in updateMissedCallNotification()
296 ContactInfo contactInfo = in getNotificationForCall() local
303 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in getNotificationForCall()
311 if (TextUtils.equals(contactInfo.name, contactInfo.formattedNumber) in getNotificationForCall()
[all …]
DCallLogNotificationsQueryHelper.java179 ContactInfo contactInfo = new ContactInfo(); in getContactInfo() local
180 contactInfo.number = number; in getContactInfo()
181 contactInfo.formattedNumber = PhoneNumberUtils.formatNumber(number, countryIso); in getContactInfo()
183 contactInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in getContactInfo()
186 contactInfo.name = in getContactInfo()
189 if (!TextUtils.isEmpty(contactInfo.name)) { in getContactInfo()
190 return contactInfo; in getContactInfo()
200 if (!TextUtils.isEmpty(contactInfo.formattedNumber)) { in getContactInfo()
202 contactInfo.name = contactInfo.formattedNumber; in getContactInfo()
205 contactInfo.name = number; in getContactInfo()
[all …]
DVisualVoicemailUpdateTask.java78 ContactInfo contactInfo = in updateNotification() local
81 contactInfos.put(newCall.number, contactInfo); in updateNotification()
85 callers = contactInfo.name; in updateNotification()
89 R.string.notification_voicemail_callers_list, callers, contactInfo.name); in updateNotification()
DVisualVoicemailNotifier.java164 ContactInfo contactInfo = contactInfos.get(voicemail.number); in createNotificationForVoicemail() local
176 contactInfo.name)) in createNotificationForVoicemail()
191 ContactPhotoLoader loader = new ContactPhotoLoader(context, contactInfo); in createNotificationForVoicemail()
DCallLogAdapter.java1314 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { in injectContactInfoForTest() argument
1316 mContactInfoCache.injectContactInfoForTest(number, countryIso, contactInfo); in injectContactInfoForTest()
/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/java/com/android/dialer/app/contactinfo/
DContactPhotoLoader.java49 public ContactPhotoLoader(Context context, ContactInfo contactInfo) { in ContactPhotoLoader() argument
51 mContactInfo = Objects.requireNonNull(contactInfo); in ContactPhotoLoader()
DContactInfoCache.java325 public void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { in injectContactInfoForTest() argument
327 mCache.put(numberCountryIso, contactInfo); in injectContactInfoForTest()