Home
last modified time | relevance | path

Searched refs:getSortOrder (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DContactDisplayUtilTests.java143 Mockito.when(mContactsPreferences.getSortOrder()) in testGetPreferredSortName_EmptyAlternative()
150 Mockito.when(mContactsPreferences.getSortOrder()).thenReturn(-1); in testGetPreferredSortName_InvalidPreference()
156 Mockito.when(mContactsPreferences.getSortOrder()) in testGetPreferredSortName_Primary()
163 Mockito.when(mContactsPreferences.getSortOrder()) in testGetPreferredSortName_Alternative()
/packages/apps/Contacts/src/com/android/contacts/preference/
DSortOrderPreference.java55 setValue(String.valueOf(mPreferences.getSortOrder())); in prepare()
65 switch (mPreferences.getSortOrder()) { in getSummary()
77 if (newValue != mPreferences.getSortOrder()) { in persistString()
DContactsPreferences.java124 public int getSortOrder() { in getSortOrder() method in ContactsPreferences
331 mSortOrder = getSortOrder(); in refreshValue()
/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java82 mContactsPreferences.getSortOrder()); in testGetSortOrderDefault()
92 mContactsPreferences.getSortOrder()); in testGetSortOrder()
160 mContactsPreferences.getSortOrder()); in testRefreshSortOrder()
164 mContactsPreferences.getSortOrder()); in testRefreshSortOrder()
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java131 SortOrder getSortOrder(); in getSortOrder() method
154 switch (getSortOrder()) { in getSortName()
DContactDisplayPreferencesStub.java41 public SortOrder getSortOrder() { in getSortOrder() method in ContactDisplayPreferencesStub
DContactDisplayPreferencesImpl.java62 public SortOrder getSortOrder() { in getSortOrder() method in ContactDisplayPreferencesImpl
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java730 public int getSortOrder() {
752 if (getSortOrder() != mContactsPrefs.getSortOrder()) {
753 setSortOrder(mContactsPrefs.getSortOrder());
DFavoritesAndContactsLoader.java94 getSortOrder());
DPostalAddressListAdapter.java91 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DEmailAddressListAdapter.java101 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DMultiSelectPhoneNumbersListAdapter.java114 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DJoinContactListAdapter.java102 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DMultiSelectEmailAddressesListAdapter.java114 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DDefaultContactListAdapter.java102 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DPhoneNumberListAdapter.java266 if (getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in configureLoader()
DContactEntryListAdapter.java298 public int getSortOrder() { in getSortOrder() method in ContactEntryListAdapter
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java245 if (contactsPreferences.getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY) { in getPreferredSortName()
249 if (contactsPreferences.getSortOrder() == ContactsPreferences.SORT_ORDER_ALTERNATIVE && in getPreferredSortName()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java83 switch (ContactsComponent.get(context).contactDisplayPreferences().getSortOrder()) { in getSortKey()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java192 public SortOrder getSortOrder() { in getSortOrder() method in MtpAdapter
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactsCursorLoader.java92 getSortOrder()); in loadInBackground()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersAdapter.java128 getSortOrder() == ContactsPreferences.SORT_ORDER_PRIMARY in configureLoader()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java76 (ContactsComponent.get(context).contactDisplayPreferences().getSortOrder() in getSortKey()