Home
last modified time | relevance | path

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

/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.java84 String[] choices = getResources().getStringArray(R.array.ut_connection_choices); in onCreateActions() local
85 int length = choices.length - 1; in onCreateActions()
91 .title(choices[i]) in onCreateActions()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java286 private Size chooseOptimalSize(Size[] choices) { in chooseOptimalSize() argument
287 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollPreviewFragment.java286 private Size chooseOptimalSize(Size[] choices) { in chooseOptimalSize() argument
287 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()
/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/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java232 final String[] choices = context.getResources().getStringArray( in addNotificationActions() local
237 .setChoices(choices) in addNotificationActions()
/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/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java908 final String[] choices = context.getResources().getStringArray( in addWearableVoiceReplyAction() local
912 setChoices(choices) in addWearableVoiceReplyAction()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz