diff options
| author | 2022-11-14 15:20:54 +0100 | |
|---|---|---|
| committer | 2022-11-28 08:38:59 +0000 | |
| commit | 01ba925942a8cdf9fec73132bcae29c9622ecd82 (patch) | |
| tree | f3e740d6eeed0106f839befd5e95f493aad31c39 /libs/androidfw/ResourceUtils.cpp | |
| parent | 5142dafc5371d1e98185c7d73030012c404ac421 (diff) | |
Add androidx.core.animation dependency for better testability
Using ObjectAnimator, ValueAnimator or Interpolators from `androidx.core.animation` has the advantage of improving the testability compared to using them from `android.view.animation`. The `core-animation-testing` dependency (not included in this CL), and specifically the AnimatorTestRule (https://developer.android.com/reference/androidx/core/animation/AnimatorTestRule) allows for things such as `animatorTestRule.advanceTimeBy(500L)`. This enables us to fast forward animations and verify things that happen after an animation has ended.
Test: atest InterpolatorsAndroidXTest
Bug: 259063937
Change-Id: I196eb325e4c99dda163445e6fed84327bebecfb2
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions