History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1b6685f4a4a9f18d557f356f0af2b34e5e247a5e 14-Jul-2017 Doris Ling <dling@google.com> Add background color to suggestion/condition view.

- also remove "new_ui" from the condition tile and suggestion tile
layout file name.

Change-Id: I2a1fe4ea2ed69768f6e7c464608039c9c962c9f1
Fix: 63674319
Test: visual
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
b99af0e4a210f68b8fda8486d3f7fa33645fb5aa 16-Jun-2017 Doris Ling <dling@google.com> Change to use new suggestion/condition UI.

Change to always use the new UI that combines the suggestion and conditions,
and remove all codes relating to the old UI.

Fix: 37645754
Fix: 62621808
Test: make RunSettingsRoboTests

Merged-In: I3421a9e5182f6606843392d6fae8b9f07c5f2e46
Change-Id: I5ef169a563166520dad0ac44f6780da814e2f1f7
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
9f1e911759dc6fedaac9fa65afb79f6a93022bf4 09-Jun-2017 Andrew Sapperstein <asapperstein@google.com> Refactor test runner to use static list of resource paths

Previously everything lived in an inner class method of
SettingsRobolectricTestRunner. That method has now been turned into
a static method so that it can be called by other runners.

Bug: 62460102
Test: robotests
Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
046400c2c407429da47e6b2230ba8bbd21c43e9b 24-May-2017 Maurice Lam <yukl@google.com> Migrate settings robolectric tests to mockito 2

- Migrated ArgumentMatcher subclasses to lambdas
- Replaced any() with nullable() where tests were failing

Test: cd tests/robotests && mma
Bug: 38456058
Change-Id: Ice8c39b435c45b87f82dbbd9860e68f235314cf8
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
59fd017ce568eb75190fdcf830c005f66cf094c0 12-May-2017 Fan Zhang <zhfan@google.com> Revert "Revert "Filter and display top 3 suggestions for exclusive type""

This reverts commit 184ae963e78bd70f15339d9a89542688881332db.

Change-Id: Iac60fc52a5b0c153945c22b97394546a529d3bb4
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
184ae963e78bd70f15339d9a89542688881332db 12-May-2017 Fan Zhang <zhfan@google.com> Revert "Filter and display top 3 suggestions for exclusive type"

This reverts commit 70b634adcff5a7d0f453ddaedfd2c772b29d8757.

Change-Id: I6de213d4c276696c6ccc9e992ff088cf507aa7ce
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
70b634adcff5a7d0f453ddaedfd2c772b29d8757 12-May-2017 Fan Zhang <zhfan@google.com> Filter and display top 3 suggestions for exclusive type

Change-Id: Ief4c2f02fcf1064dac3659502bd7511b09a2a7df
Fix: 37947647
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
fc972a75a98c6e3ca5d64857df1fdb60a1a0dda6 24-Mar-2017 Maurice Lam <yukl@google.com> Allow remote views to be used in Tiles

If a suggeested action Tile has a remote view defined, inflate a card
layout to contain the remote view, instead of showing the default
title-summary layout.

Additionally, if the remote view has a view with ID
@android:id/primary, that will be used as the click target rather
than the entire card.

Test: cd tests/robotests && mma
Bug: 35668836
Change-Id: I0fd1b9c637b6d7a3d7d2f6268669917408a882eb
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java
a5b620e73815834f138f8af0591ca42f45c0abd7 23-Feb-2017 Fan Zhang <zhfan@google.com> Swipe to dismiss suggestions

- Move dismiss suggestion logic into feature provider
- In DashboardData, use hashcode as suggestion's stable id. This is much
more likely to provide a truely stable id for each suggestion card.
Eventually I want to use hash for all tiles to provide stable id.
- Add a SuggestionDismissionController to handle swipe to dismiss
callbacks

Change-Id: If3770f07a90c5469a0b86fc28f3eb5e4c17227cd
Fix: 35159816
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionDismissControllerTest.java