Searched refs:choices (Results 1 - 10 of 10) sorted by relevance
/frameworks/support/compat/ics/android/support/v4/app/ |
H A D | RemoteInputCompatBase.java | 39 CharSequence[] choices, boolean allowFreeFormInput, Bundle extras, 38 build(String resultKey, CharSequence label, CharSequence[] choices, boolean allowFreeFormInput, Bundle extras, Set<String> allowedDataTypes) argument
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ListUtils.java | 77 * 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/support/compat/tests/java/android/support/v4/app/ |
H A D | RemoteInputTest.java | 82 CharSequence[] choices = new CharSequence[2]; 83 choices[0] = "first"; 84 choices[1] = "second"; 87 .setChoices(choices) 202 CharSequence[] choices = new CharSequence[2]; 203 choices[0] = "first"; 204 choices[1] = "second"; 207 .setChoices(choices)
|
/frameworks/base/core/java/android/app/ |
H A D | RemoteInput.java | 89 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument 93 this.mChoices = choices; 115 * Get possible input choices. This can be {@code null} if there are no choices to present. 144 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 191 * Specifies choices available to the user to satisfy this input. 192 * @param choices an array of pre-defined choices for users input. 197 public Builder setChoices(CharSequence[] choices) { argument 198 if (choices [all...] |
H A D | Notification.java | 4291 CharSequence[] choices = r.getChoices(); 4292 if (r.getAllowFreeFormInput() || (choices != null && choices.length != 0)) {
|
/frameworks/base/tools/preload2/src/com/android/preload/ui/ |
H A D | IUI.java | 39 <T> T showChoiceDialog(String title, String message, T[] choices); argument
|
H A D | SwingUI.java | 206 public <T> T showChoiceDialog(String title, String message, T[] choices) { argument 218 choices, 219 choices[0]);
|
H A D | SequenceUI.java | 189 public <T> T showChoiceDialog(String title, String message, T[] choices) { argument 193 for (T t : choices) {
|
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | RemoteInput.java | 56 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument 60 this.mChoices = choices; 84 * Get possible input choices. This can be {@code null} if there are no choices to present. 111 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 160 * Specifies choices available to the user to satisfy this input. 161 * @param choices an array of pre-defined choices for users input. 166 public Builder setChoices(CharSequence[] choices) { argument 167 mChoices = choices; [all...] |
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooActivity.java | 83 * 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 4630 milliseconds