/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 253 public static String getPreferredDisplayName(String namePrimary, String nameAlternative, in getPreferredDisplayName() argument 256 return namePrimary != null ? namePrimary : nameAlternative; in getPreferredDisplayName() 259 return namePrimary; in getPreferredDisplayName() 267 return namePrimary; in getPreferredDisplayName() 280 public static String getPreferredSortName(String namePrimary, String nameAlternative, in getPreferredSortName() argument 283 return namePrimary != null ? namePrimary : nameAlternative; in getPreferredSortName() 287 return namePrimary; in getPreferredSortName() 295 return namePrimary; in getPreferredSortName()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactTileView.java | 128 DefaultImageRequest request = getDefaultImageRequest(entry.namePrimary, 149 mPushState.setContentDescription(entry.namePrimary); 151 mQuickContact.setContentDescription(entry.namePrimary); 183 return contactEntry.namePrimary;
|
D | ContactEntry.java | 36 public String namePrimary; field in ContactEntry 65 return namePrimary; in getPreferredDisplayName()
|
D | ContactTileAdapter.java | 246 contact.namePrimary = (name != null) ? name : mResources.getString(R.string.missing_name); in createContactEntryFromCursor()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsHelper.java | 211 if (TextUtils.isEmpty(details.namePrimary) && !TextUtils.isEmpty(details.geocode)) { in getCallTypeOrLocation() 221 if (!TextUtils.isEmpty(details.namePrimary) && TextUtils.isEmpty(numberFormattedLabel)) { in getCallTypeOrLocation() 295 if (!TextUtils.isEmpty(details.namePrimary)) { in setCallDetailsHeader() 296 nameText = details.namePrimary; in setCallDetailsHeader()
|
D | CallLogAsyncTaskUtil.java | 223 details.namePrimary = info.name; in getPhoneCallDetailsForUri()
|
D | CallLogAdapter.java | 539 details.namePrimary = info.name; in bindCallLogListViewHolder()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | PhoneCallDetails.java | 63 public CharSequence namePrimary; field in PhoneCallDetails 153 return namePrimary; in getPreferredName()
|
D | CallDetailActivity.java | 206 if (!TextUtils.isEmpty(details.namePrimary)) { 467 final String displayName = TextUtils.isEmpty(mDetails.namePrimary) in updateContactPhoto() 468 ? mDetails.displayNumber : mDetails.namePrimary.toString(); in updateContactPhoto()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | ConferenceParticipantListAdapter.java | 364 setCallerInfoForRow(result, contactCache.namePrimary, in getView() 365 ContactDisplayUtils.getPreferredDisplayName(contactCache.namePrimary, in getView() 516 c1.namePrimary, in sortParticipantList() 524 c2.namePrimary, in sortParticipantList()
|
D | ContactInfoCache.java | 226 if (cacheEntry == null || TextUtils.isEmpty(cacheEntry.namePrimary) || in findInfoQueryComplete() 282 entry.namePrimary = info.getDisplayName(); in onPhoneNumberInfoComplete() 563 cce.namePrimary = displayName; in populateCacheEntry() 656 public String namePrimary; field in ContactInfoCache.ContactCacheEntry 682 .add("name", MoreStrings.toSafeString(namePrimary)) in toString()
|
D | VideoCallPresenter.java | 1235 mProfileInfo.namePrimary = cursor.getString(cursor.getColumnIndex( in loadProfilePhotoAsync() 1259 new ContactPhotoManager.DefaultImageRequest(mProfileInfo.namePrimary, in loadProfilePhotoAsync()
|
D | CallCardPresenter.java | 968 contactInfo.namePrimary, in getNameForCall() 985 contactInfo.namePrimary, in getNumberForCall()
|
D | StatusBarNotifier.java | 432 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo.namePrimary, in getContentTitle()
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogAdapterTest.java | 769 private ContactInfo createContactInfo(String namePrimary, String nameAlternative) { in createContactInfo() argument 771 namePrimary, in createContactInfo() 778 …private ContactInfo createContactInfo(String namePrimary, String nameAlternative, int type, String… in createContactInfo() argument 781 info.name = namePrimary; in createContactInfo()
|
D | PhoneCallDetailsHelperTest.java | 372 details.namePrimary = "name"; in testGetCallTypeOrLocation_DisplayNumber() 541 details.namePrimary = name; in setCallDetailsHeader()
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
D | StatusBarNotifierTest.java | 52 mUnlockedContactInfo.namePrimary = NAME_PRIMARY; in setUp()
|
D | CallCardPresenterTest.java | 51 mUnlockedContactInfo.namePrimary = NAME_PRIMARY; in setUp()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoritesTileAdapter.java | 136 return contactEntry.namePrimary; 290 contact.namePrimary = (!TextUtils.isEmpty(name)) ? name : in saveCursorToCache()
|
/packages/apps/Dialer/tests/src/com/android/dialer/list/ |
D | PhoneFavoritesTileAdapterTest.java | 289 contactEntry.namePrimary = namePrimaryAppend; in getTestContactEntry()
|