/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 330 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testMeasure_shortChoices() local 333 ViewGroup expectedView = buildExpectedView(choices, 1); in testMeasure_shortChoices() 336 setSmartReplies(choices); in testMeasure_shortChoices() 347 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testLayout_shortChoices() local 350 ViewGroup expectedView = buildExpectedView(choices, 1); in testLayout_shortChoices() 355 setSmartReplies(choices); in testLayout_shortChoices() 367 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testMeasure_choiceWithTwoLines() local 370 ViewGroup expectedView = buildExpectedView(choices, 2); in testMeasure_choiceWithTwoLines() 373 setSmartReplies(choices); in testMeasure_choiceWithTwoLines() 384 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testLayout_choiceWithTwoLines() local [all …]
|
D | InflatedSmartRepliesTest.java | 155 assertThat(smartReplyState.getSmartReplies().choices) in chooseSmartRepliesAndActions_appGeneratedSmartReplies() 173 assertThat(smartReplyState.getSmartReplies().choices) in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 196 assertThat(smartReplyState.getSmartReplies().choices) in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 295 assertThat(smartReplyState.getSmartReplies().choices) in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 344 assertThat(smartReplyState.getSmartReplies().choices) in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartRepliesUnaffected() 407 assertThat(smartReplyState.getSmartReplies().choices) in chooseSmartRepliesAndActions_screenPinningModeEnabled_suggestionsUnaffected()
|
/frameworks/base/core/java/android/app/ |
D | RemoteInput.java | 126 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() argument 131 this.mChoices = choices; in RemoteInput() 261 public Builder setChoices(@Nullable CharSequence[] choices) { in setChoices() argument 262 if (choices == null) { in setChoices() 265 mChoices = new CharSequence[choices.length]; in setChoices() 266 for (int i = 0; i < choices.length; i++) { in setChoices() 267 mChoices[i] = Notification.safeCharSequence(choices[i]); in setChoices()
|
D | Notification.java | 6431 CharSequence[] choices = r.getChoices(); in hasValidRemoteInput() local 6432 if (r.getAllowFreeFormInput() || (choices != null && choices.length != 0)) { in hasValidRemoteInput()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ListUtils.java | 87 public static <T> T listSelectFirstFrom(List<T> list, T[] choices) { in listSelectFirstFrom() argument 92 for (T choice : choices) { in listSelectFirstFrom()
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MainActivity.java | 391 private static Size chooseVideoSize(Size[] choices) { in chooseVideoSize() argument 392 for (Size size : choices) { in chooseVideoSize() 398 return choices[choices.length - 1]; in chooseVideoSize() 401 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize() argument 405 for (Size option : choices) { in chooseOptimalSize() 417 return choices[0]; in chooseOptimalSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotifUiAdjustment.kt | 91 (areDifferent(it.first.choices, it.second.choices)) in areDifferent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartReplyState.kt | 32 get() = smartReplies?.choices ?: emptyList()
|
D | SmartReplyView.java | 821 public final List<CharSequence> choices; field in SmartReplyView.SmartReplies 824 public SmartReplies(@NonNull List<CharSequence> choices, @NonNull RemoteInput remoteInput, in SmartReplies() argument 826 this.choices = choices; in SmartReplies()
|
D | SmartReplyStateInflater.kt | 149 smartReplies.choices.asSequence().mapIndexed { index, choice -> in inflateSmartReplyState() 210 if (pair.first.choices?.isNotEmpty() == true) in inflateSmartReplyState() 212 pair.first.choices.asList(), in inflateSmartReplyState()
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 90 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 238 private RemoteInput createRemoteInput(String resultKey, String label, CharSequence[] choices) { in createRemoteInput() argument 239 return new RemoteInput.Builder(resultKey).setLabel(label).setChoices(choices).build(); in createRemoteInput()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 344 ArrayList<CharSequence> choices = new ArrayList<>(); in getSmartReplies() local 346 choices.add("choice_" + key + "_" + i); in getSmartReplies() 348 return choices; in getSmartReplies()
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | NotificationRankingUpdateTest.java | 272 ArrayList<CharSequence> choices = new ArrayList<>(); in getSmartReplies() local 274 choices.add("choice_" + key + "_" + i); in getSmartReplies() 276 return choices; in getSmartReplies()
|
/frameworks/av/media/codec2/hal/services/ |
D | Android.bp | 85 // If a specific architecture is targeted, multiple choices are not needed.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1620 int numSmartReplies = smartReplies == null ? 0 : smartReplies.choices.size();
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 46297 field public java.lang.String[] choices;
|