Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java195 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testMeasure_shortChoices() local
198 ViewGroup expectedView = buildExpectedView(choices, 1); in testMeasure_shortChoices()
201 setRepliesFromRemoteInput(choices); in testMeasure_shortChoices()
212 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testLayout_shortChoices() local
215 ViewGroup expectedView = buildExpectedView(choices, 1); in testLayout_shortChoices()
220 setRepliesFromRemoteInput(choices); in testLayout_shortChoices()
232 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testMeasure_choiceWithTwoLines() local
235 ViewGroup expectedView = buildExpectedView(choices, 2); in testMeasure_choiceWithTwoLines()
238 setRepliesFromRemoteInput(choices); in testMeasure_choiceWithTwoLines()
249 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testLayout_choiceWithTwoLines() local
[all …]
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
DRemoteInputTest.java81 CharSequence[] choices = new CharSequence[2]; in testRemoteInputBuilder_setDataAndTextAndChoices() local
82 choices[0] = "first"; in testRemoteInputBuilder_setDataAndTextAndChoices()
83 choices[1] = "second"; in testRemoteInputBuilder_setDataAndTextAndChoices()
86 .setChoices(choices) in testRemoteInputBuilder_setDataAndTextAndChoices()
197 CharSequence[] choices = new CharSequence[2]; in newChoicesOnlyRemoteInput() local
198 choices[0] = "first"; in newChoicesOnlyRemoteInput()
199 choices[1] = "second"; in newChoicesOnlyRemoteInput()
202 .setChoices(choices) in newChoicesOnlyRemoteInput()
/frameworks/base/core/java/android/app/
DRemoteInput.java109 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() argument
113 this.mChoices = choices; in RemoteInput()
226 public Builder setChoices(@Nullable CharSequence[] choices) { in setChoices() argument
227 if (choices == null) { in setChoices()
230 mChoices = new CharSequence[choices.length]; in setChoices()
231 for (int i = 0; i < choices.length; i++) { in setChoices()
232 mChoices[i] = Notification.safeCharSequence(choices[i]); in setChoices()
DNotification.java4960 CharSequence[] choices = r.getChoices(); in hasValidRemoteInput() local
4961 if (r.getAllowFreeFormInput() || (choices != null && choices.length != 0)) { in hasValidRemoteInput()
/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/support/compat/src/main/java/androidx/core/app/
DRemoteInput.java57 RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() argument
61 this.mChoices = choices; in RemoteInput()
161 public Builder setChoices(CharSequence[] choices) { in setChoices() argument
162 mChoices = choices; in setChoices()
/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/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/base/test-runner/api/
Dapicheck_msg_android_test_runner.txt5 To make these errors go away, you have two choices:
/frameworks/base/test-base/api/
Dapicheck_msg_android_test_base.txt5 To make these errors go away, you have two choices:
/frameworks/base/test-mock/api/
Dapicheck_msg_android_test_mock.txt5 To make these errors go away, you have two choices:
Dapicheck_msg_android_test_mock-system.txt5 To make these errors go away, you have two choices:
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java183 CharSequence[] choices = remoteInput.getChoices(); in setRepliesFromRemoteInput() local
184 if (choices != null) { in setRepliesFromRemoteInput()
185 for (int i = 0; i < choices.length; ++i) { in setRepliesFromRemoteInput()
187 getContext(), this, i, choices[i], remoteInput, pendingIntent, in setRepliesFromRemoteInput()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt46297 field public java.lang.String[] choices;
/frameworks/base/api/
Dcurrent.txt62903 field public java.lang.String[] choices;
/frameworks/base/config/
Dhiddenapi-public-dex.txt63880 Ljava/sql/DriverPropertyInfo;->choices:[Ljava/lang/String;