Home | History | Annotate | Download | only in com.example.android.apprestrictions

Lines Matching refs:reSingleChoice

63     public static void populateChoiceEntry(Resources res, RestrictionEntry reSingleChoice) {
66 if (reSingleChoice.getSelectedString() == null) {
67 reSingleChoice.setSelectedString(choiceValues[0]);
69 reSingleChoice.setTitle(res.getString(R.string.choice_entry_title));
70 reSingleChoice.setChoiceEntries(choiceEntries);
71 reSingleChoice.setChoiceValues(choiceValues);
72 reSingleChoice.setType(RestrictionEntry.TYPE_CHOICE);
98 RestrictionEntry reSingleChoice = new RestrictionEntry(KEY_CHOICE, (String) null);
99 populateChoiceEntry(res, reSingleChoice);
100 newRestrictions.add(reSingleChoice);