diff options
| author | John Reck <jreck@google.com> | 2014-07-15 14:29:33 -0700 |
|---|---|---|
| committer | John Reck <jreck@google.com> | 2014-07-18 22:10:22 +0000 |
| commit | d3de42cae84fadfa1befd082a2cf1bf72f9ad82a (patch) | |
| tree | e3bff6900caa9cc6546dc6e843f37414192fcc74 /core/java/android/view/ViewAnimationUtils.java | |
| parent | fac77c46fe03466cb4bd728da3dc49b40652964b (diff) | |
Add RT-enabled reveal animator
Bug: 16161431
Also re-writes RevealAnimator to avoid using any listeners internally,
removing the logic around shadowing the update listeners.
Change-Id: I6ed8126398eed971a87f20bccb7584c9acafbb6c
Diffstat (limited to 'core/java/android/view/ViewAnimationUtils.java')
| -rw-r--r-- | core/java/android/view/ViewAnimationUtils.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/view/ViewAnimationUtils.java b/core/java/android/view/ViewAnimationUtils.java index 29e865f3b36b..bee35ae1c3ef 100644 --- a/core/java/android/view/ViewAnimationUtils.java +++ b/core/java/android/view/ViewAnimationUtils.java @@ -38,7 +38,6 @@ public final class ViewAnimationUtils { */ public static final ValueAnimator createCircularReveal(View view, int centerX, int centerY, float startRadius, float endRadius) { - return RevealAnimator.ofRevealCircle(view, centerX, centerY, - startRadius, endRadius, false); + return new RevealAnimator(view, centerX, centerY, startRadius, endRadius, false); } } |
