Searched refs:choices (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
H A DPhotoActionPopup.java45 /** If set, show choices to take a picture with the camera, or pick one from the gallery. */
48 * If set, modifies the wording in the choices for TAKE_OR_PICK_PHOTO
74 // Build choices, depending on the current mode. We assume this Dialog is never called
75 // if there are NO choices (e.g. a read-only picture is already super-primary)
76 final ArrayList<ChoiceListItem> choices = new ArrayList<ChoiceListItem>(4);
79 choices.add(new ChoiceListItem(ChoiceListItem.ID_REMOVE,
90 choices.add(new ChoiceListItem(ChoiceListItem.ID_TAKE_PHOTO, takePhotoString));
92 choices.add(new ChoiceListItem(ChoiceListItem.ID_PICK_PHOTO, pickPhotoString));
94 return choices;
99 final ArrayList<ChoiceListItem> choices
[all...]
H A DPhotoSourceDialogFragment.java67 final ArrayList<ChoiceListItem> choices =
71 final CharSequence[] items = new CharSequence[choices.size()];
73 items[i] = choices.get(i).toString();
79 final ChoiceListItem choice = choices.get(which);
/packages/apps/TV/src/com/android/tv/tuner/setup/
H A DScanResultFragment.java102 String[] choices;
105 choices = getResources().getStringArray(R.array.ut_result_found_choices);
108 choices = getResources().getStringArray(R.array.ut_result_not_found_choices);
111 for (int i = 0; i < choices.length; ++i) {
114 .title(choices[i]).build());
116 actions.add(new GuidedAction.Builder(getActivity()).id(i).title(choices[i])
H A DConnectionTypeFragment.java85 String[] choices = getResources().getStringArray(R.array.ut_connection_choices);
86 int length = choices.length - 1;
91 .title(choices[i])
H A DWelcomeFragment.java105 String[] choices = getResources().getStringArray(mChannelCountOnPreference == 0
107 for (int i = 0; i < choices.length - 1; ++i) {
108 actions.add(new GuidedAction.Builder(getActivity()).id(i).title(choices[i])
112 .title(choices[choices.length - 1]).build());
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiFormPageType.java195 ArrayList<SelectFromListWizardFragment.ListItem> choices = new ArrayList<>();
197 choices.addAll(extraChoices);
217 choices.add(new SelectFromListWizardFragment.PinnedListItem(
223 return choices;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DSelectFromListWizardFragment.java312 public VerticalListAdapter(ActionListener actionListener, List<ListItem> choices) { argument
333 mItems.addAll(choices.toArray(new ListItem[0]), false);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationActionUtils.java232 final String[] choices = context.getResources().getStringArray(
237 .setChoices(choices)
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBugleNotifications.java908 final String[] choices = context.getResources().getStringArray(
912 setChoices(choices)
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 664 milliseconds