Home
last modified time | relevance | path

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

/frameworks/support/compat/tests/java/android/support/v4/app/
DRemoteInputTest.java82 CharSequence[] choices = new CharSequence[2]; in testRemoteInputBuilder_setDataAndTextAndChoices() local
83 choices[0] = "first"; in testRemoteInputBuilder_setDataAndTextAndChoices()
84 choices[1] = "second"; in testRemoteInputBuilder_setDataAndTextAndChoices()
87 .setChoices(choices) in testRemoteInputBuilder_setDataAndTextAndChoices()
202 CharSequence[] choices = new CharSequence[2]; in newChoicesOnlyRemoteInput() local
203 choices[0] = "first"; in newChoicesOnlyRemoteInput()
204 choices[1] = "second"; in newChoicesOnlyRemoteInput()
207 .setChoices(choices) in newChoicesOnlyRemoteInput()
/frameworks/base/core/java/android/app/
DRemoteInput.java89 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() argument
93 this.mChoices = choices; in RemoteInput()
197 public Builder setChoices(CharSequence[] choices) { in setChoices() argument
198 if (choices == null) { in setChoices()
201 mChoices = new CharSequence[choices.length]; in setChoices()
202 for (int i = 0; i < choices.length; i++) { in setChoices()
203 mChoices[i] = Notification.safeCharSequence(choices[i]); in setChoices()
/frameworks/support/compat/java/android/support/v4/app/
DRemoteInput.java56 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() argument
60 this.mChoices = choices; in RemoteInput()
166 public Builder setChoices(CharSequence[] choices) { in setChoices() argument
167 mChoices = choices; in setChoices()
408 CharSequence label, CharSequence[] choices, boolean allowFreeFormInput,
411 resultKey, label, choices, allowFreeFormInput, extras, allowedDataTypes);
/frameworks/base/core/java/android/hardware/camera2/utils/
DListUtils.java87 public static <T> T listSelectFirstFrom(List<T> list, T[] choices) { in listSelectFirstFrom() argument
92 for (T choice : choices) { in listSelectFirstFrom()
/frameworks/base/tools/preload2/src/com/android/preload/ui/
DSwingUI.java206 public <T> T showChoiceDialog(String title, String message, T[] choices) { in showChoiceDialog() argument
218 choices, in showChoiceDialog()
219 choices[0]); in showChoiceDialog()
DSequenceUI.java189 public <T> T showChoiceDialog(String title, String message, T[] choices) { in showChoiceDialog() argument
193 for (T t : choices) { in showChoiceDialog()
DIUI.java39 <T> T showChoiceDialog(String title, String message, T[] choices); in showChoiceDialog() argument
/frameworks/support/compat/ics/android/support/v4/app/
DRemoteInputCompatBase.java39 CharSequence[] choices, boolean allowFreeFormInput, Bundle extras, in build() argument
/frameworks/base/cmds/uiautomator/library/
Dapicheck_msg_current.txt5 To make these errors go away, you have two choices:
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java90 static Size chooseBigEnoughSize(Size[] choices, int width, int height) { in chooseBigEnoughSize() argument
93 for (Size option : choices) { in chooseBigEnoughSize()
104 return choices[0]; in chooseBigEnoughSize()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt46297 field public java.lang.String[] choices;
/frameworks/base/api/
Dcurrent.txt60263 field public java.lang.String[] choices;
Dsystem-current.txt64171 field public java.lang.String[] choices;