Home
last modified time | relevance | path

Searched refs:createActions (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java548 private List<Notification.Action> createActions(String[] actionTitles) { in createActions() method in SmartReplyViewTest
563 createActions(actionTitles), false); in setSmartActions()
591 createActions(actionTitles), fromAssistant); in setSmartRepliesAndActions()
767 ViewGroup expectedView = buildExpectedView(new CharSequence[0], 1, createActions(actions)); in testMeasure_shortSmartActions()
783 ViewGroup expectedView = buildExpectedView(new CharSequence[0], 1, createActions(actions)); in testLayout_shortSmartActions()
804 ViewGroup expectedView = buildExpectedView(new CharSequence[0], 2, createActions(actions)); in testMeasure_smartActionWithTwoLines()
821 ViewGroup expectedView = buildExpectedView(new CharSequence[0], 2, createActions(actions)); in testLayout_smartActionWithTwoLines()
843 createActions(new String[]{"Hi", "Bye"})); in testMeasure_smartActionWithThreeLines()
862 createActions(new String[]{"Hi", "Bye"})); in testLayout_smartActionWithThreeLines()
884 createActions(new String[] {"Short", "Short", "Looooooong \nreplyyyyy"})); in testMeasure_squeezeLongestSmartAction()
[all …]
DInflatedSmartRepliesTest.java116 createActions("Test Action 1", "Test Action 2"); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
133 .setSmartActions(createActions("Sys Smart Action 1", "Sys Smart Action 2")) in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions()
167 createActions("Test Action 1", "Test Action 2"); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions()
229 .setSmartActions(createActions("Sys Smart Action 1", "Sys Smart Action 2")) in chooseSmartRepliesAndActions_sysGeneratedSmartActions()
284 createActions("Test Action 1", "Test Action 2"); in chooseSmartRepliesAndActions_appGenPreferredOverSysGen()
289 .setSmartActions(createActions("Sys Smart Action 1", "Sys Smart Action 2")) in chooseSmartRepliesAndActions_appGenPreferredOverSysGen()
314 .setSmartActions(createActions("Sys Smart Action 1", "Sys Smart Action 2")) in chooseSmartRepliesAndActions_disallowSysGenSmartActions()
338 .setSmartActions(createActions("Sys Smart Action 1", "Sys Smart Action 2")) in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartRepliesUnaffected()
400 .setSmartActions(createActions("Sys Smart Action 1", "Sys Smart Action 2")) in chooseSmartRepliesAndActions_screenPinningModeEnabled_suggestionsUnaffected()
624 private ArrayList<Notification.Action> createActions(String... actionTitles) { in createActions() method in InflatedSmartRepliesTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java229 createActions("systemGeneratedAction"); in testCreateNotificationDataEntry_RankingUpdate()
427 private ArrayList<Notification.Action> createActions(String... titles) { in createActions() method in NotificationEntryTest