Searched refs:choices (Results 1 - 7 of 7) sorted by relevance
/frameworks/support/compat/gingerbread/android/support/v4/app/ |
H A D | RemoteInputCompatBase.java | 32 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 D | RemoteInput.java | 79 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...] |
H A D | Notification.java | 3582 CharSequence[] choices = r.getChoices(); 3583 if (r.getAllowFreeFormInput() || (choices != null && choices.length != 0)) {
|
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | RemoteInput.java | 46 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, argument 50 this.mChoices = choices; 73 * Get possible input choices. This can be {@code null} if there are no choices to present. 83 * choices in {@link #getChoices}. An {@link IllegalArgumentException} is thrown 131 * Specifies choices available to the user to satisfy this input. 132 * @param choices an array of pre-defined choices for users input. 137 public Builder setChoices(CharSequence[] choices) { argument 138 mChoices = choices; [all...] |
/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/base/tools/preload2/src/com/android/preload/ui/ |
H A D | UI.java | 184 public <T> T showChoiceDialog(String title, String message, T[] choices) { argument 196 choices, 197 choices[0]);
|
/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 235 milliseconds