Home | History | Annotate | Download | only in editor

Lines Matching defs:choices

45         /** If set, show choices to take a picture with the camera, or pick one from the gallery. */
48 * If set, modifies the wording in the choices for TAKE_OR_PICK_PHOTO
74 // Build choices, depending on the current mode. We assume this Dialog is never called
75 // if there are NO choices (e.g. a read-only picture is already super-primary)
76 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4);
79 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE,
90 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString));
92 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString));
94 return choices;
99 final ArrayList<ChoiceListItem> choices = getChoices(context, mode);
102 R.layout.select_dialog_item, choices);
108 final ChoiceListItem choice = choices.get(position);