Searched refs:checkboxPref (Results 1 – 2 of 2) sorted by relevance
45 CheckBoxPreference checkboxPref = new CheckBoxPreference(mActivity); in setUp() local46 checkboxPref.setKey("checkbox_preference_group"); in setUp()47 checkboxPref.setIcon(R.drawable.ic_launcher); in setUp()48 checkboxPref.setTitle(R.string.title_checkbox_preference); in setUp()49 checkboxPref.setSummary(R.string.summary_checkbox_preference); in setUp()50 checkboxPref.setSummaryOn(R.string.summary_on_checkbox_preference); in setUp()51 checkboxPref.setSummaryOff(R.string.summary_off_checkbox_preference); in setUp()52 checkboxPref.setChecked(true); in setUp()53 mPreferenceGroup.addPreference(checkboxPref); in setUp()95 CheckBoxPreference checkboxPref = new CheckBoxPreference(mActivity); in testOnPrepareAddPreference() local[all …]
51 CheckBoxPreference checkboxPref = new CheckBoxPreference(this); in addPreferenceCategory() local52 checkboxPref.setKey("checkbox_preference"); in addPreferenceCategory()53 checkboxPref.setIcon(R.drawable.ic_launcher); in addPreferenceCategory()54 checkboxPref.setTitle(R.string.title_checkbox_preference); in addPreferenceCategory()55 checkboxPref.setSummary(R.string.summary_checkbox_preference); in addPreferenceCategory()56 checkboxPref.setSummaryOn(R.string.summary_on_checkbox_preference); in addPreferenceCategory()57 checkboxPref.setSummaryOff(R.string.summary_off_checkbox_preference); in addPreferenceCategory()58 checkboxPref.setChecked(true); in addPreferenceCategory()59 checkboxPref.shouldDisableDependents(); in addPreferenceCategory()60 prefCat.addPreference(checkboxPref); in addPreferenceCategory()