/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/preference/ |
H A D | ContactsPreferencesTest.java | 43 private ContactsPreferences mContactsPreferences; field in class:ContactsPreferencesTest 63 mContactsPreferences = new ContactsPreferences(mContext); 72 mContactsPreferences.getSortOrder()); 82 mContactsPreferences.getSortOrder()); 91 mContactsPreferences.getDisplayOrder()); 101 mContactsPreferences.getDisplayOrder()); 113 mContactsPreferences.getSortOrder()); 114 mContactsPreferences.refreshValue(ContactsPreferences.SORT_ORDER_KEY); 117 mContactsPreferences.getSortOrder()); 129 mContactsPreferences [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
H A D | ContactDisplayUtilTests.java | 40 @Mock private ContactsPreferences mContactsPreferences; field in class:ContactDisplayUtilTests 131 Mockito.when(mContactsPreferences.getDisplayOrder()) 134 mContactsPreferences)); 138 Mockito.when(mContactsPreferences.getDisplayOrder()).thenReturn(-1); 140 NAME_ALTERNATIVE, mContactsPreferences)); 144 Mockito.when(mContactsPreferences.getDisplayOrder()) 147 NAME_ALTERNATIVE, mContactsPreferences)); 151 Mockito.when(mContactsPreferences.getDisplayOrder()) 154 NAME_ALTERNATIVE, mContactsPreferences)); 177 Mockito.when(mContactsPreferences [all...] |
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
H A D | CallCardPresenterTest.java | 37 @Mock private ContactsPreferences mContactsPreferences; field in class:CallCardPresenterTest 46 Mockito.when(mContactsPreferences.getDisplayOrder()) 69 ContactsPreferencesFactory.setTestInstance(mContactsPreferences); 96 ContactsPreferencesFactory.setTestInstance(mContactsPreferences);
|
H A D | StatusBarNotifierTest.java | 38 @Mock private ContactsPreferences mContactsPreferences; field in class:StatusBarNotifierTest 47 Mockito.when(mContactsPreferences.getDisplayOrder()) 81 ContactsPreferencesFactory.setTestInstance(mContactsPreferences);
|
H A D | ExternalCallNotifierTest.java | 59 @Mock private ContactsPreferences mContactsPreferences; field in class:ExternalCallNotifierTest 78 when(mContactsPreferences.getDisplayOrder())
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | ConferenceParticipantListAdapter.java | 210 @Nullable private final ContactsPreferences mContactsPreferences; field in class:ConferenceParticipantListAdapter 240 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); 253 if (mContactsPreferences != null) { 254 mContactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 255 mContactsPreferences.refreshValue(ContactsPreferences.SORT_ORDER_KEY); 366 contactCache.nameAlternative, mContactsPreferences), 518 mContactsPreferences), 526 mContactsPreferences),
|
H A D | ExternalCallNotifier.java | 114 private ContactsPreferences mContactsPreferences; field in class:ExternalCallNotifier 121 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); 249 info.setContentTitle(getContentTitle(mContext, mContactsPreferences,
|
H A D | CallCardPresenter.java | 88 @Nullable private ContactsPreferences mContactsPreferences; field in class:CallCardPresenter 141 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); 169 if (mContactsPreferences != null) { 170 mContactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 970 mContactsPreferences); 987 mContactsPreferences);
|
H A D | StatusBarNotifier.java | 82 @Nullable private ContactsPreferences mContactsPreferences; field in class:StatusBarNotifier 99 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); 434 contactInfo.nameAlternative, mContactsPreferences);
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | PhoneFavoritesTileAdapter.java | 73 private ContactsPreferences mContactsPreferences; field in class:PhoneFavoritesTileAdapter 134 if (mContactsPreferences.getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY 153 mContactsPreferences = new ContactsPreferences(mContext); 204 mContactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 205 mContactsPreferences.refreshValue(ContactsPreferences.SORT_ORDER_KEY); 294 contact.nameDisplayOrder = mContactsPreferences.getDisplayOrder();
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | CallDetailActivity.java | 130 mDetails.nameDisplayOrder = mContactsPreferences.getDisplayOrder(); 217 private ContactsPreferences mContactsPreferences; field in class:CallDetailActivity 252 mContactsPreferences = new ContactsPreferences(mContext); 320 mContactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallLogAdapter.java | 143 private ContactsPreferences mContactsPreferences; field in class:CallLogAdapter 297 mContactsPreferences = new ContactsPreferences(mContext); 362 mContactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); 541 details.nameDisplayOrder = mContactsPreferences.getDisplayOrder(); 611 if (mContactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY ||
|