Home
last modified time | relevance | path

Searched refs:namePrimary (Results 1 – 20 of 20) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DContactDisplayUtils.java253 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/
DContactTileView.java128 DefaultImageRequest request = getDefaultImageRequest(entry.namePrimary,
149 mPushState.setContentDescription(entry.namePrimary);
151 mQuickContact.setContentDescription(entry.namePrimary);
183 return contactEntry.namePrimary;
DContactEntry.java36 public String namePrimary; field in ContactEntry
65 return namePrimary; in getPreferredDisplayName()
DContactTileAdapter.java246 contact.namePrimary = (name != null) ? name : mResources.getString(R.string.missing_name); in createContactEntryFromCursor()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DPhoneCallDetailsHelper.java211 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()
DCallLogAsyncTaskUtil.java223 details.namePrimary = info.name; in getPhoneCallDetailsForUri()
DCallLogAdapter.java539 details.namePrimary = info.name; in bindCallLogListViewHolder()
/packages/apps/Dialer/src/com/android/dialer/
DPhoneCallDetails.java63 public CharSequence namePrimary; field in PhoneCallDetails
153 return namePrimary; in getPreferredName()
DCallDetailActivity.java206 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/
DConferenceParticipantListAdapter.java364 setCallerInfoForRow(result, contactCache.namePrimary, in getView()
365 ContactDisplayUtils.getPreferredDisplayName(contactCache.namePrimary, in getView()
516 c1.namePrimary, in sortParticipantList()
524 c2.namePrimary, in sortParticipantList()
DContactInfoCache.java226 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()
DVideoCallPresenter.java1235 mProfileInfo.namePrimary = cursor.getString(cursor.getColumnIndex( in loadProfilePhotoAsync()
1259 new ContactPhotoManager.DefaultImageRequest(mProfileInfo.namePrimary, in loadProfilePhotoAsync()
DCallCardPresenter.java968 contactInfo.namePrimary, in getNameForCall()
985 contactInfo.namePrimary, in getNumberForCall()
DStatusBarNotifier.java432 String preferredName = ContactDisplayUtils.getPreferredDisplayName(contactInfo.namePrimary, in getContentTitle()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogAdapterTest.java769 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()
DPhoneCallDetailsHelperTest.java372 details.namePrimary = "name"; in testGetCallTypeOrLocation_DisplayNumber()
541 details.namePrimary = name; in setCallDetailsHeader()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DStatusBarNotifierTest.java52 mUnlockedContactInfo.namePrimary = NAME_PRIMARY; in setUp()
DCallCardPresenterTest.java51 mUnlockedContactInfo.namePrimary = NAME_PRIMARY; in setUp()
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoritesTileAdapter.java136 return contactEntry.namePrimary;
290 contact.namePrimary = (!TextUtils.isEmpty(name)) ? name : in saveCursorToCache()
/packages/apps/Dialer/tests/src/com/android/dialer/list/
DPhoneFavoritesTileAdapterTest.java289 contactEntry.namePrimary = namePrimaryAppend; in getTestContactEntry()