diff options
author | John Reck <jreck@google.com> | 2014-11-14 13:33:24 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-11-14 14:02:55 -0800 |
commit | a3b35907de9a8cd5e9f8fdf1700974f9c39a3df6 (patch) | |
tree | 750343ae409bf3a00b89be674adc2ab27c1eccd0 /core/java/android/view/ViewAnimationUtils.java | |
parent | c61cabe5b3e22c8ebbb0ef91a33c63904ecb9873 (diff) | |
download | frameworks_base-a3b35907de9a8cd5e9f8fdf1700974f9c39a3df6.zip frameworks_base-a3b35907de9a8cd5e9f8fdf1700974f9c39a3df6.tar.gz frameworks_base-a3b35907de9a8cd5e9f8fdf1700974f9c39a3df6.tar.bz2 |
Document that circular reveal is async
Bug: 18058966
Change-Id: I64b35441f12bec433f633580319ec73c1e11e7a2
Diffstat (limited to 'core/java/android/view/ViewAnimationUtils.java')
-rw-r--r-- | core/java/android/view/ViewAnimationUtils.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/view/ViewAnimationUtils.java b/core/java/android/view/ViewAnimationUtils.java index 001cd01..d44df31 100644 --- a/core/java/android/view/ViewAnimationUtils.java +++ b/core/java/android/view/ViewAnimationUtils.java @@ -17,6 +17,7 @@ package android.view; import android.animation.Animator; +import android.animation.Animator.AnimatorListener; import android.animation.RevealAnimator; /** @@ -35,7 +36,11 @@ public final class ViewAnimationUtils { * {@link View#setClipToOutline(boolean) View Outline clipping}. * <p> * Note that the animation returned here is a one-shot animation. It cannot - * be re-used, and once started it cannot be paused or resumed. + * be re-used, and once started it cannot be paused or resumed. It is also + * an asynchronous animation that automatically runs off of the UI thread. + * As a result {@link AnimatorListener#onAnimationEnd(Animator)} + * will occur after the animation has ended, but it may be delayed depending + * on thread responsiveness. * * @param view The View will be clipped to the animating circle. * @param centerX The x coordinate of the center of the animating circle. |