Home
last modified time | relevance | path

Searched refs:selectedPreference (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/localepicker/
DTermsOfAddressFeminineControllerTest.java98 TickButtonPreference selectedPreference = in displayPreference_setGrammaticalGenderIsFeminine_FeminineIsSelected() local
100 selectedPreference.performClick(); in displayPreference_setGrammaticalGenderIsFeminine_FeminineIsSelected()
102 assertThat(selectedPreference.getKey()).isEqualTo(KEY_FEMININE); in displayPreference_setGrammaticalGenderIsFeminine_FeminineIsSelected()
DTermsOfAddressNotSpecifiedControllerTest.java98 TickButtonPreference selectedPreference = in displayPreference_setGrammaticalGenderIsNotSpecified_NotSpecifiedIsSelected() local
100 selectedPreference.performClick(); in displayPreference_setGrammaticalGenderIsNotSpecified_NotSpecifiedIsSelected()
102 assertThat(selectedPreference.getKey()).isEqualTo(KEY_NOT_SPECIFIED); in displayPreference_setGrammaticalGenderIsNotSpecified_NotSpecifiedIsSelected()
DTermsOfAddressNeutralControllerTest.java98 TickButtonPreference selectedPreference = in displayPreference_setGrammaticalGenderIsNotSpecified_NeutralIsSelected() local
100 selectedPreference.performClick(); in displayPreference_setGrammaticalGenderIsNotSpecified_NeutralIsSelected()
102 assertThat(selectedPreference.getKey()).isEqualTo(KEY_NEUTRAL); in displayPreference_setGrammaticalGenderIsNotSpecified_NeutralIsSelected()
DTermsOfAddressMasculineControllerTest.java98 TickButtonPreference selectedPreference = in displayPreference_setGrammaticalGenderIsMasculine_MasculineIsSelected() local
100 selectedPreference.performClick(); in displayPreference_setGrammaticalGenderIsMasculine_MasculineIsSelected()
102 assertThat(selectedPreference.getKey()).isEqualTo(KEY_MASCULINE); in displayPreference_setGrammaticalGenderIsMasculine_MasculineIsSelected()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundWorkSettings.java68 String selectedPreference = savedInstanceState.getString( in onCreate() local
70 if (!TextUtils.isEmpty(selectedPreference)) { in onCreate()
71 mRequestPreference = findPreference(selectedPreference); in onCreate()
DSoundSettings.java95 String selectedPreference = savedInstanceState.getString(SELECTED_PREFERENCE_KEY, null); in onCreate() local
96 if (!TextUtils.isEmpty(selectedPreference)) { in onCreate()
97 mRequestPreference = (RingtonePreference) findPreference(selectedPreference); in onCreate()