Home
last modified time | relevance | path

Searched refs:PhoneticNameDisplayPreference (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java119 Assert.assertEquals(PhoneticNameDisplayPreference.HIDE_IF_EMPTY, in testGetPhoneticNameDisplayDefault()
129 Mockito.anyInt())).thenReturn(PhoneticNameDisplayPreference.HIDE_IF_EMPTY); in testGetPhoneticNameDisplay()
130 Assert.assertEquals(PhoneticNameDisplayPreference.HIDE_IF_EMPTY, in testGetPhoneticNameDisplay()
140 Mockito.anyInt())).thenReturn(PhoneticNameDisplayPreference.HIDE_IF_EMPTY, in testRefreshPhoneticNameDisplay()
141 PhoneticNameDisplayPreference.SHOW_ALWAYS); in testRefreshPhoneticNameDisplay()
143 Assert.assertEquals(PhoneticNameDisplayPreference.HIDE_IF_EMPTY, in testRefreshPhoneticNameDisplay()
147 Assert.assertEquals(PhoneticNameDisplayPreference.SHOW_ALWAYS, in testRefreshPhoneticNameDisplay()
/packages/apps/Contacts/src/com/android/contacts/preference/
DPhoneticNameDisplayPreference.java29 public final class PhoneticNameDisplayPreference extends ListPreference { class
37 public PhoneticNameDisplayPreference(Context context) { in PhoneticNameDisplayPreference() method in PhoneticNameDisplayPreference
42 public PhoneticNameDisplayPreference(Context context, AttributeSet attrs) { in PhoneticNameDisplayPreference() method in PhoneticNameDisplayPreference
DContactsPreferences.java174 return PhoneticNameDisplayPreference.HIDE_IF_EMPTY; in getDefaultPhoneticNameDisplayPreference()
176 return PhoneticNameDisplayPreference.SHOW_ALWAYS; in getDefaultPhoneticNameDisplayPreference()
205 return getPhoneticNameDisplayPreference() == PhoneticNameDisplayPreference.HIDE_IF_EMPTY; in shouldHidePhoneticNamesIfEmpty()