Searched refs:SORT_ORDER_KEY (Results 1 – 2 of 2) sorted by relevance
61 public static final String SORT_ORDER_KEY = "android.contacts.SORT_ORDER"; field in ContactsPreferences129 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()
61 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()