History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ActionBarShadowControllerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d53a3128e8107569636da407d7cb75e458e22779 27-Jul-2017 Doris Ling <dling@google.com> Fix null pointer exception when updating action bar shadow.

Check for valid activity when trying to access the action bar as the
activity can become null when in monkey test.

Change-Id: I684d873b9eabb9d8461e99bb4385d411a48c0c52
Fix: 64084651
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ActionBarShadowControllerTest.java
e651ddf9e6c00a62338ef8c7114b5e5e9cd307ec 20-Jul-2017 Fan Zhang <zhfan@google.com> Add shadow to searchbar when user scrolls vertically

Bug: 63528057
Test: robotests

Change-Id: Ib85676d78b43be38aab1eacd0820d0755a601f60
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ActionBarShadowControllerTest.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/widget/ActionBarShadowControllerTest.java
841d1d5aabc33024b2e03276085b0d1dbdb92b23 22-May-2017 Fan Zhang <zhfan@google.com> Show shadow when entity header starts scrolling.

- Add a controller to manage add/remove onScrollChangedListener to
recyclerviews.
- When recyclerview on each screen is scrolled to top, set actionbar
elevation to 0, otherwise set it to non-zero.
- When screen is moved to background, detach the listener.
- Use the controller in entity header.

Change-Id: Iecf194d885098c98c392810f62893ae9189f3936
Fix: 37670670
Test: make RunSettingsRoboTests
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ActionBarShadowControllerTest.java