e6cf359406cd7baaa0659b54c1b7d8ac45db122a |
|
30-Jun-2017 |
Aurimas Liutikas <aurimas@google.com> |
Mark tests @LargeTest if they don't fit @MediumTest times. Test: None Change-Id: I2ae471927588ea6f6d1666f45a7a687ee980b139
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
963facb8fce35022f296c38fadafd9a959ab1655 |
|
12-Jun-2017 |
Aurimas Liutikas <aurimas@google.com> |
Upgrade from mockito 1.9.5 to 2.7.6 Bug: 62532636 Test: ./gradlew assembleAndroidTest succeeds Change-Id: I5bd89e5aad7761bbd2a5b188fb0661f1dbf4743b
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
5df257d2a2f330f8e4d37321a40431973fa9b0d1 |
|
05-May-2017 |
Doris Liu <tianliu@google.com> |
Support setting threshold for custom properties This CL removes the (unreleased) APIs set/getVelocityThreshold, as the velocity threshold is not a straight forward idea, and it requires develoeprs to convert a per frame threshold to per second. Instead, set/getMinimumVisibleChange(float) is added. This expects a minimum value change that is visible to end users. This value is then used to calculate a reasonable velocity and value threshold for animations. BUG: 38001368 Test: Included Change-Id: I22e46d9650be74fbcad638ab2e5c1cacde357149
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
7a33db57c360aaabfa5c16dff109072925576b0b |
|
22-Apr-2017 |
Doris Liu <tianliu@google.com> |
API change in the constructor of SpringAnimation and FlingAnimation This CL adds a new class FloatValueHolder that wraps a float value and exposes the access to it through getter and setter (i.e. setValue(float) and getValue()). The previous single argument constructor in SpringAnimation and FlingAnimation have been changed to use a different type of argument - FloatValueHolder. This change makes the constructor API look much more straight forward. Note this CL changes the API that hasn't been released yet. Bug: 30999909 Test: Included in this CL Change-Id: I1cf2793cc4594d7b3ff35b31bb242ea9bfa0c894
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
bfd3aa4c1b99267c42066918cfe8347b132f4dc1 |
|
18-Apr-2017 |
Doris Liu <tianliu@google.com> |
resolve merge conflicts of f37aaad22d to oc-dev Test: ./gradlew updateApi Change-Id: I9050b7f02788f925762d9e9df23f13746fc2ab91
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
137c61b7ace0f3c51bb07b23ad9c2e613f2f3a8d |
|
17-Mar-2017 |
Doris Liu <tianliu@google.com> |
Make sure the propety change happens at anim pulse am: a00ac0ab7a Change-Id: Icf61582b6f53c520805cf9405825b7c4e364ca91
|
a00ac0ab7a6db7d635fadac1de5eb1e172f1dd89 |
|
16-Mar-2017 |
Doris Liu <tianliu@google.com> |
Make sure the propety change happens at anim pulse Also fixed flakey test and expanded it BUG: 36076487 Test: this CL Change-Id: Ie8fc140ab79c83c4d2eff12b5b444de544ef4f8b
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
19e80e83845339cc07f95184bd506572c2514903 |
|
14-Mar-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix up SpringTests#testAllProperties - Start using ui thread of set* calls on the view. - Use ViewCompat.setZ for setting z value as that method does not exist on older devices. Test: SpringTests now pass on API 19 device locally Change-Id: Iab6b42f402a44f83f1c97214bfb84071b99f8846
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
909ca31278478a0fd038eeda9e9721f50991ea8b |
|
09-Mar-2017 |
Doris Liu <tianliu@google.com> |
Add new tests and remove unused code Bug: 36101511 Test: included Change-Id: Iaa1332f75ce518afe36b05f4d2497b38370db96f
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|
d5206a7781d95cba12ca70a20f7ee742a2e9d807 |
|
24-Feb-2017 |
Doris Liu <tianliu@google.com> |
Physics-based animation - SpringAnimation This CL introduced physics-based animation. Specifically, SpringAnimation and its base class DynamicAnimation. This new set of Animation APIs track velocity of the animation, and they no longer assume a fixed duration. As a result, interruptions to animations are now handled much more smoothly, as the velocity change is always continuous. SpringAnimation is driven by a SpringForce that calculates the update of the animation's value and velocity on each animation pulse until the spring reaches equilibrium. Test: 100% public API coverage in this CL BUG: 30999909 Change-Id: Ic47a453d5134ab4092def57a303eb039a3cd95cc
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/SpringTests.java
|