Home
last modified time | relevance | path

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

/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DGetRestrictionsReceiver.java76 public static void populateMultiEntry(Resources res, RestrictionEntry reMultiSelect) { in populateMultiEntry() argument
79 if (reMultiSelect.getAllSelectedStrings() == null) { in populateMultiEntry()
80 reMultiSelect.setAllSelectedStrings(new String[0]); in populateMultiEntry()
82 reMultiSelect.setTitle(res.getString(R.string.multi_entry_title)); in populateMultiEntry()
83 reMultiSelect.setChoiceEntries(multiEntries); in populateMultiEntry()
84 reMultiSelect.setChoiceValues(multiValues); in populateMultiEntry()
85 reMultiSelect.setType(RestrictionEntry.TYPE_MULTI_SELECT); in populateMultiEntry()
102 RestrictionEntry reMultiSelect = new RestrictionEntry(KEY_MULTI_SELECT, (String[]) null); in initRestrictions() local
103 populateMultiEntry(res, reMultiSelect); in initRestrictions()
104 newRestrictions.add(reMultiSelect); in initRestrictions()