Searched refs:choices (Results 1 – 24 of 24) sorted by relevance
62 int summaryResId, int[] choices, String name, int defaultChoice) { in prepareArgs() argument67 args.putIntArray(ARG_CHOICES, choices); in prepareArgs()83 int[] choices = getChoices(); in onCreateActions() local85 for (int choice : choices) { in onCreateActions()93 if (choices.length == 0) { in onCreateActions()107 final int[] choices = getChoices(); in onGuidedActionClicked() local114 for (int choice : choices) { in onGuidedActionClicked()187 int[] choices = new int[0]; in getChoices() local191 choices = tmp; in getChoices()196 return choices; in getChoices()
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()
305 inline const T& getRandomChoice(const std::vector<T>& choices) { in getRandomChoice() argument306 NN_FUZZER_CHECK(!choices.empty()) << "Empty choices!"; in getRandomChoice()307 std::uniform_int_distribution<size_t> dis(0, choices.size() - 1); in getRandomChoice()309 return choices[i]; in getRandomChoice()
113 explicit RandomVariableBase(const std::vector<int>& choices);148 explicit RandomVariable(const std::vector<int>& choices);
49 RandomVariableBase::RandomVariableBase(const std::vector<int>& choices) in RandomVariableBase() argument52 range(choices), in RandomVariableBase()121 RandomVariable::RandomVariable(const std::vector<int>& choices) in RandomVariable() argument122 : mVar(new RandomVariableBase(choices)) { in RandomVariable()
558 private void loadCertificates(Spinner spinner, Collection<String> choices, int firstId, in loadCertificates() argument564 if (choices == null || choices.size() == 0) { in loadCertificates()567 myChoices = new String[choices.size() + 1]; in loadCertificates()570 for (String c : choices) { in loadCertificates()
410 const std::vector<CppType<opType>::type> choices = {__VA_ARGS__}; \411 PARAMETER_FILL_BUFFER_HELPER(opType, 1, getRandomChoice, choices); \
51 choices=['print_binary', 'new_sdk', 'validate'],
318 public VerticalListAdapter(ActionListener actionListener, List<ListItem> choices) { in VerticalListAdapter() argument339 mItems.addAll(choices.toArray(new ListItem[0]), false); in VerticalListAdapter()
916 ArrayList<CharSequence> choices = new ArrayList<>(); in getSmartReplies() local918 choices.add("choice_" + key + "_" + i); in getSmartReplies()920 return choices; in getSmartReplies()
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:
1497 Collection<String> choices, in loadCertificates() argument1513 if (choices != null && choices.size() != 0) { in loadCertificates()1514 certs.addAll(choices.stream() in loadCertificates()
1518 Collection<String> choices, in loadCertificates() argument1533 if (choices != null && choices.size() != 0) { in loadCertificates()1534 certs.addAll(choices.stream() in loadCertificates()
908 final String[] choices = context.getResources().getStringArray( in addWearableVoiceReplyAction() local912 setChoices(choices) in addWearableVoiceReplyAction()
3278 // Counts occurrences of the number of network choices there were when experiment1 makes the3280 // The keys are the number of network choices, and the values are the number of occurrences of3281 // this number of network choices when exp1 and exp2 make the same network selection.3284 // Counts occurrences of the number of network choices there were when experiment1 makes the3286 // The keys are the number of network choices, and the values are the number of occurrences of3287 // this number of network choices when exp1 and exp2 make different network selections.
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...