Home
last modified time | relevance | path

Searched refs:SORT_ORDER_KEY (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java61 public static final String SORT_ORDER_KEY = "android.contacts.SORT_ORDER"; field in ContactsPreferences
129 mSortOrder = mPreferences.getInt(SORT_ORDER_KEY, getDefaultSortOrder()); in getSortOrder()
137 editor.putInt(SORT_ORDER_KEY, sortOrder); in setSortOrder()
328 } else if (SORT_ORDER_KEY.equals(key)) { in refreshValue()
353 if (!mPreferences.contains(SORT_ORDER_KEY)) { in maybeMigrateSystemSettings()
357 SORT_ORDER_KEY); in maybeMigrateSystemSettings()
/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java61 Mockito.when(mSharedPreferences.contains(ContactsPreferences.SORT_ORDER_KEY)) in setUp()
89 Mockito.when(mSharedPreferences.getInt(Mockito.eq(ContactsPreferences.SORT_ORDER_KEY), in testGetSortOrder()
155 Mockito.when(mSharedPreferences.getInt(Mockito.eq(ContactsPreferences.SORT_ORDER_KEY), in testRefreshSortOrder()
161 mContactsPreferences.refreshValue(ContactsPreferences.SORT_ORDER_KEY); in testRefreshSortOrder()