Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DContactDisplayUtilTests.java97 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_EmptyAlternative()
104 Mockito.when(mContactsPreferences.getDisplayOrder()).thenReturn(-1); in testGetPreferredDisplayName_InvalidPreference()
110 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_Primary()
117 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_Alternative()
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOrderPreference.java55 setValue(String.valueOf(mPreferences.getDisplayOrder())); in prepare()
65 switch (mPreferences.getDisplayOrder()) { in getSummary()
77 if (newValue != mPreferences.getDisplayOrder()) { in persistString()
DContactsPreferences.java154 public int getDisplayOrder() { in getDisplayOrder() method in ContactsPreferences
328 mDisplayOrder = getDisplayOrder(); in refreshValue()
DDisplayOptionsPreferenceFragment.java338 final int displayOrder = contactsPrefs.getDisplayOrder();
/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java101 mContactsPreferences.getDisplayOrder()); in testGetDisplayOrderDefault()
111 mContactsPreferences.getDisplayOrder()); in testGetDisplayOrder()
176 mContactsPreferences.getDisplayOrder()); in testRefreshDisplayOrder()
180 mContactsPreferences.getDisplayOrder()); in testRefreshDisplayOrder()
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java127 DisplayOrder getDisplayOrder(); in getDisplayOrder() method
140 switch (getDisplayOrder()) { in getDisplayName()
DContactDisplayPreferencesStub.java31 public DisplayOrder getDisplayOrder() { in getDisplayOrder() method in ContactDisplayPreferencesStub
DContactDisplayPreferencesImpl.java48 public DisplayOrder getDisplayOrder() { in getDisplayOrder() method in ContactDisplayPreferencesImpl
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java217 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getPreferredDisplayName()
221 if (contactsPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_ALTERNATIVE in getPreferredDisplayName()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java64 switch (ContactsComponent.get(context).contactDisplayPreferences().getDisplayOrder()) { in getProjection()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java61 (ContactsComponent.get(context).contactDisplayPreferences().getDisplayOrder() in getProjection()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java747 if (getContactNameDisplayOrder() != mContactsPrefs.getDisplayOrder()) {
748 setContactNameDisplayOrder(mContactsPrefs.getDisplayOrder());
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactDialogFragment.java104 mPreferences.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY in getView()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java65 if (prefs.getDisplayOrder() == ContactsPreferences.DISPLAY_ORDER_PRIMARY) { in getDisplayName()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java689 return contactDisplayPreferences.getDisplayOrder() == DisplayOrder.PRIMARY; in isPrimaryDisplayNameOrder()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java1083 ContactsComponent.get(activity).contactDisplayPreferences().getDisplayOrder(); in loadData()