History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionAdapterTest.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/SuggestionAdapterTest.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/SuggestionAdapterTest.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/SuggestionAdapterTest.java
83a6621b38457a517bc842dc6df902ad8a370adf 12-May-2017 Doris Ling <dling@google.com> Combine settings suggestion and condition.

- Add a flag in dashboard feature provider to specify whether to use the
combined UI for suggestions and conditions.
- Move Conditions below Suggestions.
- Add dashboard entity for condition and suggestion container, and
wrap the condition and suggestion list inside the container. The
container itself will be a single dashboard item, and within it will
be the list of suggestion or condition.
- Add suggestion/condition header that will show the combined info for
the conditions and suggestion data, and have the expand button to
control expanding both the suggestion and condition list.
- Change the individual condition card to be always expanded, and
remove the logic to collapse/expand individual condition card.
- Remove the divider between the action button and condition detail
within each condition card.
- Add suggestion/condition footer for collapsing the whole suggestion and
condition list.

Bug: 37645754
Test: make RunSettingsRoboTests
Change-Id: I86df75f7e4551778f79d730851c03121fd0dcbdf
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/SuggestionAdapterTest.java