Home
last modified time | relevance | path

Searched refs:DISPLAY_ORDER_PRIMARY (Results 1 – 18 of 18) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/preference/
DContactsPreferencesTest.java90 Assert.assertEquals(ContactsPreferences.DISPLAY_ORDER_PRIMARY, in testGetDisplayOrderDefault()
99 Mockito.anyInt())).thenReturn(ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testGetDisplayOrder()
100 Assert.assertEquals(ContactsPreferences.DISPLAY_ORDER_PRIMARY, in testGetDisplayOrder()
125 Mockito.anyInt())).thenReturn(ContactsPreferences.DISPLAY_ORDER_PRIMARY, in testRefreshDisplayOrder()
128 Assert.assertEquals(ContactsPreferences.DISPLAY_ORDER_PRIMARY, in testRefreshDisplayOrder()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/
DContactListItemViewTest.java60 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testShowDisplayName_Simple()
70 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testShowDisplayName_Unknown()
80 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testShowDisplayName_WithPrefix()
/packages/apps/Dialer/tests/src/com/android/dialer/list/
DPhoneFavoritesTileAdapterTest.java208 setNameDisplayOrder(getContext(), ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testSetContactCursor_DisplayNameOrder_Primary()
212 Assert.assertEquals(ContactsPreferences.DISPLAY_ORDER_PRIMARY, in testSetContactCursor_DisplayNameOrder_Primary()
226 setNameDisplayOrder(getContext(), ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testSetContactCursor_DisplayNameOrder_Changed()
230 Assert.assertEquals(ContactsPreferences.DISPLAY_ORDER_PRIMARY, in testSetContactCursor_DisplayNameOrder_Changed()
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DDisplayOrderPreference.java54 String.valueOf(ContactsPreferences.DISPLAY_ORDER_PRIMARY), in prepare()
68 case ContactsPreferences.DISPLAY_ORDER_PRIMARY: in getSummary()
DContactsPreferences.java50 public static final int DISPLAY_ORDER_PRIMARY = 1; field in ContactsPreferences
145 return DISPLAY_ORDER_PRIMARY; in getDefaultDisplayOrder()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntry.java63 || nameDisplayOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY in getPreferredDisplayName()
DContactListAdapter.java383 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
389 if (sortOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getProjection()
DPhoneNumberListAdapter.java260 if (getContactNameDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in configureLoader()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DStatusBarNotifierTest.java48 .thenReturn(ContactsPreferences.DISPLAY_ORDER_PRIMARY); in setUp()
DCallCardPresenterTest.java47 .thenReturn(ContactsPreferences.DISPLAY_ORDER_PRIMARY); in setUp()
/packages/apps/Dialer/src/com/android/dialer/
DPhoneCallDetails.java151 if (nameDisplayOrder == ContactsPreferences.DISPLAY_ORDER_PRIMARY in getPreferredName()
/packages/apps/Contacts/src/com/android/contacts/list/
DPostalAddressListAdapter.java87 if (getContactNameDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in configureLoader()
DEmailAddressListAdapter.java97 if (getContactNameDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in configureLoader()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DContactDisplayUtilTests.java145 .thenReturn(ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testGetPreferredDisplayName_Primary()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DContactDisplayUtils.java258 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getPreferredDisplayName()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogAdapterTest.java190 setNameDisplayOrder(getContext(), ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testBindView_FirstNameFirstOrder()
220 setNameDisplayOrder(context, ContactsPreferences.DISPLAY_ORDER_PRIMARY); in testBindView_NameOrderCorrectOnChange()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java66 if (prefs.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getDisplayName()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAdapter.java611 if (mContactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY || in getPreferredDisplayName()