/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 275 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testMeasure_shortChoices() local 278 ViewGroup expectedView = buildExpectedView(choices, 1); in testMeasure_shortChoices() 281 setSmartReplies(choices); in testMeasure_shortChoices() 292 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testLayout_shortChoices() local 295 ViewGroup expectedView = buildExpectedView(choices, 1); in testLayout_shortChoices() 300 setSmartReplies(choices); in testLayout_shortChoices() 312 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testMeasure_choiceWithTwoLines() local 315 ViewGroup expectedView = buildExpectedView(choices, 2); in testMeasure_choiceWithTwoLines() 318 setSmartReplies(choices); in testMeasure_choiceWithTwoLines() 329 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testLayout_choiceWithTwoLines() local [all …]
|
D | InflatedSmartRepliesTest.java | 136 assertThat(repliesAndActions.smartReplies.choices).isEqualTo(smartReplies); in chooseSmartRepliesAndActions_appGeneratedSmartReplies() 151 assertThat(repliesAndActions.smartReplies.choices).isEqualTo(smartReplies); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 168 assertThat(repliesAndActions.smartReplies.choices).isEqualTo( in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 223 assertThat(repliesAndActions.smartReplies.choices).isEqualTo(appGenSmartReplies); in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 264 assertThat(repliesAndActions.smartReplies.choices).isEqualTo( in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartRepliesUnaffected() 322 assertThat(repliesAndActions.smartReplies.choices).isEqualTo( 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 | 5292 CharSequence[] choices = r.getChoices(); in hasValidRemoteInput() local 5293 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/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.h | 320 inline const T& getRandomChoice(const std::vector<T>& choices) { in getRandomChoice() argument 321 NN_FUZZER_CHECK(!choices.empty()) << "Empty choices!"; in getRandomChoice() 322 std::uniform_int_distribution<size_t> dis(0, choices.size() - 1); in getRandomChoice() 324 return choices[i]; in getRandomChoice()
|
D | RandomVariable.h | 113 explicit RandomVariableBase(const std::vector<int>& choices); 148 explicit RandomVariable(const std::vector<int>& choices);
|
D | RandomVariable.cpp | 49 RandomVariableBase::RandomVariableBase(const std::vector<int>& choices) in RandomVariableBase() argument 52 range(choices), in RandomVariableBase() 121 RandomVariable::RandomVariable(const std::vector<int>& choices) in RandomVariable() argument 122 : mVar(new RandomVariableBase(choices)) { in RandomVariable()
|
/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/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 223 if (smartReplies.choices != null) { in inflateRepliesFromRemoteInput() 224 for (int i = 0; i < smartReplies.choices.length; ++i) { in inflateRepliesFromRemoteInput() 271 CharSequence choice = smartReplies.choices[replyIndex]; in inflateReplyButton() 952 public final CharSequence[] choices; field in SmartReplyView.SmartReplies 955 public SmartReplies(CharSequence[] choices, RemoteInput remoteInput, in SmartReplies() argument 957 this.choices = choices; in SmartReplies()
|
D | InflatedSmartReplies.java | 293 return smartReplies == null ? new CharSequence[0] : smartReplies.choices; in getSmartReplies()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 196 private RemoteInput createRemoteInput(String resultKey, String label, CharSequence[] choices) { in createRemoteInput() argument 197 return new RemoteInput.Builder(resultKey).setLabel(label).setChoices(choices).build(); in createRemoteInput()
|
/frameworks/base/startop/scripts/app_startup/ |
D | app_startup_runner.py | 67 … action='append', dest='readaheads', help='which readahead mode to use', choices=('warm', 'cold', … 72 …lter to use. if omitted it does not enforce the app\'s compiler filter', choices=('speed', 'speed-…
|
D | query_compiler_filter.py | 57 …n set to select. defaults to the first one available if not specified.', choices=('arm64', 'arm', …
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 358 ArrayList<CharSequence> choices = new ArrayList<>(); in getSmartReplies() local 360 choices.add("choice_" + key + "_" + i); in getSmartReplies() 362 return choices; in getSmartReplies()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | OperationSignatureUtils.h | 400 const std::vector<CppType<opType>::type> choices = {__VA_ARGS__}; \ 401 PARAMETER_FILL_BUFFER_HELPER(opType, 1, getRandomChoice, choices); \
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1184 mCurrentSmartRepliesAndActions.smartReplies.choices.length)); 1298 ? 0 : smartRepliesAndActions.smartReplies.choices.length;
|
/frameworks/base/proto/src/ |
D | wifi.proto | 2576 // Counts occurrences of the number of network choices there were when experiment1 makes the 2578 // The keys are the number of network choices, and the values are the number of occurrences of 2579 // this number of network choices when exp1 and exp2 make the same network selection. 2582 // Counts occurrences of the number of network choices there were when experiment1 makes the 2584 // The keys are the number of network choices, and the values are the number of occurrences of 2585 // this number of network choices when exp1 and exp2 make different network selections.
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 46297 field public java.lang.String[] choices;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 67572 field public String[] choices;
|
/frameworks/base/api/ |
D | current.txt | 67716 field public String[] choices;
|