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/FlingTests.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/FlingTests.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/FlingTests.java
|