History log of /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/DashboardItemAnimatorTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/DashboardItemAnimatorTest.java
0fd7190fdd0629bbcccc251e040feee41fa5be68 28-Dec-2016 jackqdyulei <jackqdyulei@google.com> Refine animation to remove strange reshuffling animation

The issue happens mainly because two animations(move + change) running
on the same view interrupt with each other. When ItemAnimator runs the
move animation, it will change the translationX&Y in a time period.
When the change animation occurs in this period, it gets this translation
value and calculates a non-zero deta, then it would run an unnecessary
move animation, which causes the strange reshuffling.

In this cl, I skip the translation value only for the tile view when
there is pending animation.

I also add scroll operation for conditions view to make it scroll to
top after condition change.

Bug: 33839777
Bug: 33839780
Test: make -j40 RunSettingsRoboTests

Change-Id: I2152f93f756ae20cf754d6fca3525119cb4ceb1f
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/DashboardItemAnimatorTest.java
fa45aee813e07d11de707b6cbf3edee0aa688959 30-Nov-2016 jackqdyulei <jackqdyulei@google.com> Add DashboardItemAnimator to stop flash

When there is no offset change for identical holder in
animateChange, simply return and don't invoke the
resetAnimation.

Bug: 33198024
Test: make RunSettingsRoboTests
Change-Id: Ib83363873bc5f51e5bd71af5a013ee0756728d1a
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/DashboardItemAnimatorTest.java