Searched refs:ChoiceListItem (Results 1 – 2 of 2) sorted by relevance
73 public static ArrayList<ChoiceListItem> getChoices(Context context, int mode) { in getChoices()76 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); in getChoices()79 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE, in getChoices()90 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString)); in getChoices()92 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString)); in getChoices()99 final ArrayList<ChoiceListItem> choices = getChoices(context, mode); in createPopupMenu()101 final ListAdapter adapter = new ArrayAdapter<ChoiceListItem>(context, in createPopupMenu()108 final ChoiceListItem choice = choices.get(position); in createPopupMenu()110 case ChoiceListItem.ID_REMOVE: in createPopupMenu()113 case ChoiceListItem.ID_TAKE_PHOTO: in createPopupMenu()[all …]
30 import com.android.contacts.editor.PhotoActionPopup.ChoiceListItem;67 final ArrayList<ChoiceListItem> choices = in onCreateDialog()79 final ChoiceListItem choice = choices.get(which); in onCreateDialog()81 case ChoiceListItem.ID_REMOVE: in onCreateDialog()84 case ChoiceListItem.ID_TAKE_PHOTO: in onCreateDialog()87 case ChoiceListItem.ID_PICK_PHOTO: in onCreateDialog()