Searched refs:choices (Results 1 – 14 of 14) sorted by relevance
76 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); in getChoices() local79 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()94 return choices; in getChoices()99 final ArrayList<ChoiceListItem> choices = getChoices(context, mode); in createPopupMenu() local102 R.layout.select_dialog_item, choices); in createPopupMenu()108 final ChoiceListItem choice = choices.get(position); in createPopupMenu()
67 final ArrayList<ChoiceListItem> choices = in onCreateDialog() local71 final CharSequence[] items = new CharSequence[choices.size()]; in onCreateDialog()73 items[i] = choices.get(i).toString(); in onCreateDialog()79 final ChoiceListItem choice = choices.get(which); in onCreateDialog()
103 String[] choices; in onCreateActions() local106 choices = getResources().getStringArray(R.array.ut_result_found_choices); in onCreateActions()109 choices = getResources().getStringArray(R.array.ut_result_not_found_choices); in onCreateActions()112 for (int i = 0; i < choices.length; ++i) { in onCreateActions()117 .title(choices[i]) in onCreateActions()123 .title(choices[i]) in onCreateActions()
106 String[] choices = in onCreateActions() local112 for (int i = 0; i < choices.length - 1; ++i) { in onCreateActions()114 new GuidedAction.Builder(getActivity()).id(i).title(choices[i]).build()); in onCreateActions()119 .title(choices[choices.length - 1]) in onCreateActions()
81 String[] choices = getResources().getStringArray(R.array.ut_connection_choices); in onCreateActions() local82 int length = choices.length - 1; in onCreateActions()88 .title(choices[i]) in onCreateActions()
287 private Size chooseOptimalSize(Size[] choices) { in chooseOptimalSize() argument288 for (int i = 0; i < choices.length; i++) { in chooseOptimalSize()289 if (choices[i].getHeight() == MAX_PREVIEW_HEIGHT in chooseOptimalSize()290 && choices[i].getWidth() == MAX_PREVIEW_WIDTH) { in chooseOptimalSize()291 return choices[i]; in chooseOptimalSize()295 return choices[0]; in chooseOptimalSize()
286 private Size chooseOptimalSize(Size[] choices) { in chooseOptimalSize() argument287 for (int i = 0; i < choices.length; i++) { in chooseOptimalSize()288 if (choices[i].getHeight() == MAX_PREVIEW_HEIGHT in chooseOptimalSize()289 && choices[i].getWidth() == MAX_PREVIEW_WIDTH) { in chooseOptimalSize()290 return choices[i]; in chooseOptimalSize()294 return choices[0]; in chooseOptimalSize()
318 public VerticalListAdapter(ActionListener actionListener, List<ListItem> choices) { in VerticalListAdapter() argument339 mItems.addAll(choices.toArray(new ListItem[0]), false); in VerticalListAdapter()
46 …eader`). SAX is faster but sometimes DOM is easier. Users can pick their choices according to scen…
462 For removing members, there are several choices:
908 final String[] choices = context.getResources().getStringArray( in addWearableVoiceReplyAction() local912 setChoices(choices) in addWearableVoiceReplyAction()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...