Searched refs:fromAssistant (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 395 void setSmartRepliesGeneratedByAssistant(boolean fromAssistant) { in setSmartRepliesGeneratedByAssistant() argument 396 mSmartRepliesGeneratedByAssistant = fromAssistant; in setSmartRepliesGeneratedByAssistant() 822 public final boolean fromAssistant; field in SmartReplyView.SmartReplies 825 @NonNull PendingIntent pendingIntent, boolean fromAssistant) { in SmartReplies() argument 829 this.fromAssistant = fromAssistant; in SmartReplies() 840 public final boolean fromAssistant; field in SmartReplyView.SmartActions 842 public SmartActions(@NonNull List<Notification.Action> actions, boolean fromAssistant) { in SmartActions() argument 844 this.fromAssistant = fromAssistant; in SmartActions()
|
D | SmartReplyStateInflater.kt | 147 smartReplyView.setSmartRepliesGeneratedByAssistant(smartReplies?.fromAssistant ?: false) in inflateSmartReplyState() 393 if (smartActions.fromAssistant && in onSmartActionClick() 398 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) in onSmartActionClick() 402 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartRepliesTest.java | 157 assertThat(smartReplyState.getSmartReplies().fromAssistant).isFalse(); in chooseSmartRepliesAndActions_appGeneratedSmartReplies() 175 assertThat(smartReplyState.getSmartReplies().fromAssistant).isFalse(); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 178 assertThat(smartReplyState.getSmartActions().fromAssistant).isFalse(); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 198 assertThat(smartReplyState.getSmartReplies().fromAssistant).isTrue(); in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 238 assertThat(smartReplyState.getSmartActions().fromAssistant).isTrue(); in chooseSmartRepliesAndActions_sysGeneratedSmartActions() 271 assertThat(smartReplyState.getSmartActions().fromAssistant).isTrue(); in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction() 297 assertThat(smartReplyState.getSmartReplies().fromAssistant).isFalse(); in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 300 assertThat(smartReplyState.getSmartActions().fromAssistant).isFalse(); in chooseSmartRepliesAndActions_appGenPreferredOverSysGen()
|
D | SmartReplyViewTest.java | 523 boolean fromAssistant) { in createSmartReplies() argument 530 Arrays.asList(choices), input, pendingIntent, fromAssistant); in createSmartReplies() 533 private Stream<Button> inflateSmartReplies(CharSequence[] choices, boolean fromAssistant, in inflateSmartReplies() argument 535 SmartReplyView.SmartReplies smartReplies = createSmartReplies(choices, fromAssistant); in inflateSmartReplies() 584 CharSequence[] choices, String[] actionTitles, boolean fromAssistant, in setSmartRepliesAndActions() argument 588 inflateSmartReplies(choices, fromAssistant, useDelayedOnClickListener) in setSmartRepliesAndActions() 591 createActions(actionTitles), fromAssistant); in setSmartRepliesAndActions() 605 mView.setSmartRepliesGeneratedByAssistant(fromAssistant); in setSmartRepliesAndActions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1622 boolean fromAssistant = smartReplies == null 1623 ? smartActions.fromAssistant 1624 : smartReplies.fromAssistant; 1630 numSmartActions, fromAssistant, editBeforeSending);
|