/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ContactDisplayUtils.java | 249 * @param contactsPreferences the ContactsPreferences used to determine the preferred 254 @Nullable ContactsPreferences contactsPreferences) { 255 if (contactsPreferences == null) { 258 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { 262 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_ALTERNATIVE 276 * @param contactsPreferences the ContactsPreferences used to determine the preferred sort 281 @Nullable ContactsPreferences contactsPreferences) { 282 if (contactsPreferences == null) { 286 if (contactsPreferences.getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { 290 if (contactsPreferences 253 getPreferredDisplayName(String namePrimary, String nameAlternative, @Nullable ContactsPreferences contactsPreferences) argument 280 getPreferredSortName(String namePrimary, String nameAlternative, @Nullable ContactsPreferences contactsPreferences) argument [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
H A D | ContactDisplayUtils.java | 254 * @param contactsPreferences the ContactsPreferences used to determine the preferred display 261 @Nullable ContactsPreferences contactsPreferences) { 262 if (contactsPreferences == null) { 265 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { 269 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_ALTERNATIVE 283 * @param contactsPreferences the ContactsPreferences used to determine the preferred sort order. 289 @Nullable ContactsPreferences contactsPreferences) { 290 if (contactsPreferences == null) { 294 if (contactsPreferences.getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { 298 if (contactsPreferences 258 getPreferredDisplayName( String namePrimary, String nameAlternative, @Nullable ContactsPreferences contactsPreferences) argument 286 getPreferredSortName( String namePrimary, String nameAlternative, @Nullable ContactsPreferences contactsPreferences) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | ConferenceParticipantListAdapter.java | 62 @Nullable private final ContactsPreferences contactsPreferences; field in class:ConferenceParticipantListAdapter 105 contactsPreferences = ContactsPreferencesFactory.newContactsPreferences(getContext()); 118 if (contactsPreferences != null) { 119 contactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 120 contactsPreferences.refreshValue(ContactsPreferences.SORT_ORDER_KEY); 238 contactCache.namePrimary, contactCache.nameAlternative, contactsPreferences); 449 c1.namePrimary, c1.nameAlternative, contactsPreferences); 455 c2.namePrimary, c2.nameAlternative, contactsPreferences);
|
H A D | ExternalCallNotifier.java | 80 private ContactsPreferences contactsPreferences; field in class:ExternalCallNotifier 86 contactsPreferences = ContactsPreferencesFactory.newContactsPreferences(this.context); 218 info.setContentTitle(getContentTitle(context, contactsPreferences, entry, info.getCall())); 344 * @param contactsPreferences Contacts preferences, used to determine the preferred formatting for 352 @Nullable ContactsPreferences contactsPreferences, 364 contactInfo.namePrimary, contactInfo.nameAlternative, contactsPreferences); 350 getContentTitle( Context context, @Nullable ContactsPreferences contactsPreferences, ContactInfoCache.ContactCacheEntry contactInfo, android.telecom.Call call) argument
|
H A D | CallCardPresenter.java | 124 @Nullable private ContactsPreferences contactsPreferences; field in class:CallCardPresenter 160 contactsPreferences = ContactsPreferencesFactory.newContactsPreferences(context); 185 if (contactsPreferences != null) { 186 contactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 1022 contactInfo.namePrimary, contactInfo.nameAlternative, contactsPreferences);
|
H A D | StatusBarNotifier.java | 118 @Nullable private ContactsPreferences contactsPreferences; field in class:StatusBarNotifier 133 contactsPreferences = ContactsPreferencesFactory.newContactsPreferences(this.context); 561 contactInfo.namePrimary, contactInfo.nameAlternative, contactsPreferences);
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | PhoneFavoritesTileAdapter.java | 81 private ContactsPreferences contactsPreferences; field in class:PhoneFavoritesTileAdapter 93 if (contactsPreferences.getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY 124 contactsPreferences = new ContactsPreferences(this.context); 144 contactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 145 contactsPreferences.refreshValue(ContactsPreferences.SORT_ORDER_KEY); 259 contact.nameDisplayOrder = contactsPreferences.getDisplayOrder();
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | CallLogAdapter.java | 515 private ContactsPreferences contactsPreferences; field in class:CallLogAdapter 560 contactsPreferences = new ContactsPreferences(this.activity); 681 contactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 1070 details.nameDisplayOrder = contactsPreferences.getDisplayOrder();
|