Searched refs:mContactsPreferences (Results 1 - 12 of 12) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/preference/
H A DContactsPreferencesTest.java43 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 DContactDisplayUtilTests.java40 @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 DCallCardPresenterTest.java37 @Mock private ContactsPreferences mContactsPreferences; field in class:CallCardPresenterTest
46 Mockito.when(mContactsPreferences.getDisplayOrder())
69 ContactsPreferencesFactory.setTestInstance(mContactsPreferences);
96 ContactsPreferencesFactory.setTestInstance(mContactsPreferences);
H A DStatusBarNotifierTest.java38 @Mock private ContactsPreferences mContactsPreferences; field in class:StatusBarNotifierTest
47 Mockito.when(mContactsPreferences.getDisplayOrder())
81 ContactsPreferencesFactory.setTestInstance(mContactsPreferences);
H A DExternalCallNotifierTest.java59 @Mock private ContactsPreferences mContactsPreferences; field in class:ExternalCallNotifierTest
78 when(mContactsPreferences.getDisplayOrder())
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DConferenceParticipantListAdapter.java210 @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 DExternalCallNotifier.java114 private ContactsPreferences mContactsPreferences; field in class:ExternalCallNotifier
121 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext);
249 info.setContentTitle(getContentTitle(mContext, mContactsPreferences,
H A DCallCardPresenter.java88 @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 DStatusBarNotifier.java82 @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 DPhoneFavoritesTileAdapter.java73 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 DCallDetailActivity.java130 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 DCallLogAdapter.java143 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 ||

Completed in 328 milliseconds