Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothActionFragment.java62 int summaryResId, int[] choices, String name, int defaultChoice) { in prepareArgs() argument
67 args.putIntArray(ARG_CHOICES, choices); in prepareArgs()
83 int[] choices = getChoices(); in onCreateActions() local
85 for (int choice : choices) { in onCreateActions()
93 if (choices.length == 0) { in onCreateActions()
107 final int[] choices = getChoices(); in onGuidedActionClicked() local
114 for (int choice : choices) { in onGuidedActionClicked()
187 int[] choices = new int[0]; in getChoices() local
191 choices = tmp; in getChoices()
196 return choices; in getChoices()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java76 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4); in getChoices() local
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()
94 return choices; in getChoices()
99 final ArrayList<ChoiceListItem> choices = getChoices(context, mode); in createPopupMenu() local
102 R.layout.select_dialog_item, choices); in createPopupMenu()
108 final ChoiceListItem choice = choices.get(position); in createPopupMenu()
DPhotoSourceDialogFragment.java67 final ArrayList<ChoiceListItem> choices = in onCreateDialog() local
71 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()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanResultFragment.java103 String[] choices; in onCreateActions() local
106 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()
DWelcomeFragment.java106 String[] choices = in onCreateActions() local
112 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()
DConnectionTypeFragment.java81 String[] choices = getResources().getStringArray(R.array.ut_connection_choices); in onCreateActions() local
82 int length = choices.length - 1; in onCreateActions()
88 .title(choices[i]) in onCreateActions()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java287 private Size chooseOptimalSize(Size[] choices) { in chooseOptimalSize() argument
288 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()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.h305 inline const T& getRandomChoice(const std::vector<T>& choices) { in getRandomChoice() argument
306 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()
DRandomVariable.h113 explicit RandomVariableBase(const std::vector<int>& choices);
148 explicit RandomVariable(const std::vector<int>& choices);
DRandomVariable.cpp49 RandomVariableBase::RandomVariableBase(const std::vector<int>& choices) in RandomVariableBase() argument
52 range(choices), in RandomVariableBase()
121 RandomVariable::RandomVariable(const std::vector<int>& choices) in RandomVariable() argument
122 : mVar(new RandomVariableBase(choices)) { in RandomVariable()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java558 private void loadCertificates(Spinner spinner, Collection<String> choices, int firstId, in loadCertificates() argument
564 if (choices == null || choices.size() == 0) { in loadCertificates()
567 myChoices = new String[choices.size() + 1]; in loadCertificates()
570 for (String c : choices) { in loadCertificates()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h410 const std::vector<CppType<opType>::type> choices = {__VA_ARGS__}; \
411 PARAMETER_FILL_BUFFER_HELPER(opType, 1, getRandomChoice, choices); \
/packages/modules/SdkExtensions/gen_sdk/
Dgen_sdk.py51 choices=['print_binary', 'new_sdk', 'validate'],
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java318 public VerticalListAdapter(ActionListener actionListener, List<ListItem> choices) { in VerticalListAdapter() argument
339 mItems.addAll(choices.toArray(new ListItem[0]), false); in VerticalListAdapter()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java916 ArrayList<CharSequence> choices = new ArrayList<>(); in getSmartReplies() local
918 choices.add("choice_" + key + "_" + i); in getSmartReplies()
920 return choices; in getSmartReplies()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfeatures.md46 …eader`). SAX is faster but sometimes DOM is easier. Users can pick their choices according to scen…
Dtutorial.md462 For removing members, there are several choices:
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java1497 Collection<String> choices, in loadCertificates() argument
1513 if (choices != null && choices.size() != 0) { in loadCertificates()
1514 certs.addAll(choices.stream() in loadCertificates()
DWifiConfigController.java1518 Collection<String> choices, in loadCertificates() argument
1533 if (choices != null && choices.size() != 0) { in loadCertificates()
1534 certs.addAll(choices.stream() in loadCertificates()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java908 final String[] choices = context.getResources().getStringArray( in addWearableVoiceReplyAction() local
912 setChoices(choices) in addWearableVoiceReplyAction()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto3278 // Counts occurrences of the number of network choices there were when experiment1 makes the
3280 // The keys are the number of network choices, and the values are the number of occurrences of
3281 // 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 the
3286 // The keys are the number of network choices, and the values are the number of occurrences of
3287 // this number of network choices when exp1 and exp2 make different network selections.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...