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

/frameworks/support/v4/donut/android/support/v4/app/
H A DRemoteInputCompatBase.java32 CharSequence[] choices, boolean allowFreeFormInput, Bundle extras);
31 build(String resultKey, CharSequence label, CharSequence[] choices, boolean allowFreeFormInput, Bundle extras) argument
/frameworks/base/core/java/android/app/
H A DRemoteInput.java79 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument
83 this.mChoices = choices;
104 * Get possible input choices. This can be {@code null} if there are no choices to present.
113 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown
159 * Specifies choices available to the user to satisfy this input.
160 * @param choices an array of pre-defined choices for users input.
165 public Builder setChoices(CharSequence[] choices) { argument
166 if (choices
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DRemoteInput.java43 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument
47 this.mChoices = choices;
68 * Get possible input choices. This can be {@code null} if there are no choices to present.
77 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown
123 * Specifies choices available to the user to satisfy this input.
124 * @param choices an array of pre-defined choices for users input.
129 public Builder setChoices(CharSequence[] choices) { argument
130 mChoices = choices;
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DListUtils.java77 * Return the first item from {@code choices} that is contained in the {@code list}.
79 * <p>Choices with an index closer to 0 get higher priority. If none of the {@code choices}
82 * @param list a list of objects which may or may not contain one or more of the choices
83 * @param choices an array of objects which should be used to select an item from
85 * @return the first item from {@code choices} contained in {@code list}, otherwise {@code null}
87 public static <T> T listSelectFirstFrom(List<T> list, T[] choices) { argument
92 for (T choice : choices) {
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java83 * Given {@code choices} of {@code Size}s supported by a camera, chooses the smallest one whose
85 * @param choices The list of sizes that the camera supports for the intended output class
90 static Size chooseBigEnoughSize(Size[] choices, int width, int height) { argument
93 for (Size option : choices) {
104 return choices[0];

Completed in 180 milliseconds