Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java54 public static final String DISPLAY_ORDER_KEY = "android.contacts.DISPLAY_ORDER"; field in ContactsPreferences
159 mDisplayOrder = mPreferences.getInt(DISPLAY_ORDER_KEY, getDefaultDisplayOrder()); in getDisplayOrder()
167 editor.putInt(DISPLAY_ORDER_KEY, displayOrder); in setDisplayOrder()
325 if (DISPLAY_ORDER_KEY.equals(key)) { in refreshValue()
363 if (!mPreferences.contains(DISPLAY_ORDER_KEY)) { in maybeMigrateSystemSettings()
367 DISPLAY_ORDER_KEY); in maybeMigrateSystemSettings()
/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java63 Mockito.when(mSharedPreferences.contains(ContactsPreferences.DISPLAY_ORDER_KEY)) in setUp()
108 Mockito.when(mSharedPreferences.getInt(Mockito.eq(ContactsPreferences.DISPLAY_ORDER_KEY), in testGetDisplayOrder()
171 Mockito.when(mSharedPreferences.getInt(Mockito.eq(ContactsPreferences.DISPLAY_ORDER_KEY), in testRefreshDisplayOrder()
177 mContactsPreferences.refreshValue(ContactsPreferences.DISPLAY_ORDER_KEY); in testRefreshDisplayOrder()