Implement CompositorAnimator framework
This change introduces the framework for the CompositorAnimator and a
suite of unit tests. The following classes have been added:
- CompositorAnimator:
The new Animator for compositor animation in Java. This class
extends the android.animation.Animator class in order to be
interoperable and consistent with Android. The AnimatorListener
is supported but does not support the reverse or repeat events.
- AnimatorUpdateListener:
This is an analog to ValueAnimator.AnimatorUpdateListener which
provides notification of frame updates.
- CompositorAnimationHandler:
This class is responsible for pushing updates to CompositorAnimators
associated with a particular instance of Chrome.
The handler, listeners, and basic hookup have been integrated into
Chrome but no existing animations have been converted yet.
BUG=750381
Change-Id: Ia4612901cf1beacc13994b866b5f691ec9b38011
Reviewed-on: https://chromium-review.googlesource.com/627718
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Reviewed-by:
Yusuf Ozuysal <yusufo@chromium.org>
Reviewed-by:
David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504714}
Showing
This diff is collapsed.
Please register or sign in to comment