Searched refs:nonePref (Results 1 – 5 of 5) sorted by relevance
85 final RadioButtonPreference nonePref = new RadioButtonPreference(getPrefContext()); in updateCandidates() local86 nonePref.setTitle(R.string.network_scorer_picker_none_preference); in updateCandidates()88 nonePref.setChecked(true); in updateCandidates()90 nonePref.setKey(null); in updateCandidates()91 nonePref.setChecked(TextUtils.isEmpty(defaultAppKey)); in updateCandidates()92 nonePref.setOnClickListener(this); in updateCandidates()94 screen.addPreference(nonePref); in updateCandidates()
179 final RadioButtonPreference nonePref = new RadioButtonPreference(getPrefContext()); in updateCandidates() local181 nonePref.setLayoutResource(customLayoutResId); in updateCandidates()183 nonePref.setIcon(R.drawable.ic_remove_circle); in updateCandidates()184 nonePref.setTitle(R.string.app_list_preference_none); in updateCandidates()185 nonePref.setChecked(TextUtils.isEmpty(defaultKey)); in updateCandidates()186 nonePref.setOnClickListener(this); in updateCandidates()187 screen.addPreference(nonePref); in updateCandidates()
178 final RadioButtonPreference nonePref = new RadioButtonPreference(getPrefContext()); in updateCandidates() local180 nonePref.setLayoutResource(customLayoutResId); in updateCandidates()182 nonePref.setIcon(R.drawable.ic_remove_circle); in updateCandidates()183 nonePref.setTitle(R.string.app_list_preference_none); in updateCandidates()184 nonePref.setChecked(TextUtils.isEmpty(defaultKey)); in updateCandidates()185 nonePref.setOnClickListener(this); in updateCandidates()186 screen.addPreference(nonePref); in updateCandidates()
138 final RadioButtonPreference nonePref = arg.getAllValues().get(0); in testUpdateCandidates_validScorers_noActiveScorer() local139 assertThat(nonePref.getKey()).isNull(); in testUpdateCandidates_validScorers_noActiveScorer()140 assertThat(nonePref.isChecked()).isTrue(); in testUpdateCandidates_validScorers_noActiveScorer()