Home
last modified time | relevance | path

Searched refs:getDisplayOrder (Results 1 – 12 of 12) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/preference/
DContactsPreferencesTest.java91 mContactsPreferences.getDisplayOrder()); in testGetDisplayOrderDefault()
101 mContactsPreferences.getDisplayOrder()); in testGetDisplayOrder()
129 mContactsPreferences.getDisplayOrder()); in testRefreshDisplayOrder()
133 mContactsPreferences.getDisplayOrder()); in testRefreshDisplayOrder()
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/
DDisplayOrderPreference.java57 setValue(String.valueOf(mPreferences.getDisplayOrder())); in prepare()
67 switch (mPreferences.getDisplayOrder()) { in getSummary()
79 if (newValue != mPreferences.getDisplayOrder()) { in persistString()
DContactsPreferences.java151 public int getDisplayOrder() { in getDisplayOrder() method in ContactsPreferences
311 mDisplayOrder = getDisplayOrder(); in refreshValue()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DContactDisplayUtilTests.java131 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_EmptyAlternative()
138 Mockito.when(mContactsPreferences.getDisplayOrder()).thenReturn(-1); in testGetPreferredDisplayName_InvalidPreference()
144 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_Primary()
151 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_Alternative()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DContactDisplayUtils.java258 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getPreferredDisplayName()
262 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_ALTERNATIVE in getPreferredDisplayName()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DStatusBarNotifierTest.java47 Mockito.when(mContactsPreferences.getDisplayOrder()) in setUp()
DCallCardPresenterTest.java46 Mockito.when(mContactsPreferences.getDisplayOrder()) in setUp()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListFragment.java707 if (getContactNameDisplayOrder() != mContactsPrefs.getDisplayOrder()) {
708 setContactNameDisplayOrder(mContactsPrefs.getDisplayOrder());
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAdapter.java541 details.nameDisplayOrder = mContactsPreferences.getDisplayOrder(); in bindCallLogListViewHolder()
611 if (mContactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY || in getPreferredDisplayName()
/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/list/
DPhoneFavoritesTileAdapter.java294 contact.nameDisplayOrder = mContactsPreferences.getDisplayOrder(); in saveCursorToCache()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java130 mDetails.nameDisplayOrder = mContactsPreferences.getDisplayOrder();