Searched refs:fromAssistant (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 364 void setSmartRepliesGeneratedByAssistant(boolean fromAssistant) { in setSmartRepliesGeneratedByAssistant() argument 365 mSmartRepliesGeneratedByAssistant = fromAssistant; in setSmartRepliesGeneratedByAssistant() 723 public final boolean fromAssistant; field in SmartReplyView.SmartReplies 726 @NonNull PendingIntent pendingIntent, boolean fromAssistant) { in SmartReplies() argument 730 this.fromAssistant = fromAssistant; in SmartReplies() 741 public final boolean fromAssistant; field in SmartReplyView.SmartActions 743 public SmartActions(@NonNull List<Notification.Action> actions, boolean fromAssistant) { in SmartActions() argument 745 this.fromAssistant = fromAssistant; in SmartActions()
|
D | SmartReplyStateInflater.kt | 133 smartReplyView.setSmartRepliesGeneratedByAssistant(smartReplies?.fromAssistant ?: false) in inflateSmartReplyState() 334 if (smartActions.fromAssistant && in inflateActionButton() 339 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) in inflateActionButton() 343 .smartActionClicked(entry, actionIndex, action, smartActions.fromAssistant) in inflateActionButton()
|
/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 | 487 boolean fromAssistant) { in createSmartReplies() argument 493 Arrays.asList(choices), input, pendingIntent, fromAssistant); in createSmartReplies() 496 private Stream<Button> inflateSmartReplies(CharSequence[] choices, boolean fromAssistant, in inflateSmartReplies() argument 498 SmartReplyView.SmartReplies smartReplies = createSmartReplies(choices, fromAssistant); in inflateSmartReplies() 546 CharSequence[] choices, String[] actionTitles, boolean fromAssistant, in setSmartRepliesAndActions() argument 550 inflateSmartReplies(choices, fromAssistant, useDelayedOnClickListener) in setSmartRepliesAndActions() 553 createActions(actionTitles), fromAssistant); in setSmartRepliesAndActions() 567 mView.setSmartRepliesGeneratedByAssistant(fromAssistant); in setSmartRepliesAndActions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1392 boolean fromAssistant = smartReplies == null in applySmartReplyView() 1393 ? smartActions.fromAssistant in applySmartReplyView() 1394 : smartReplies.fromAssistant; in applySmartReplyView() 1400 numSmartActions, fromAssistant, editBeforeSending); in applySmartReplyView()
|