Reland "Prepare Stack/StackAnimation (migration to CompositorAnimator, part 4)"

This is a reland of 796a483c569238b18c611f7d77b9e4be5b83d5bd

Original change's description:
> Prepare Stack/StackAnimation (migration to CompositorAnimator, part 4)
> This is part of changes which put as goal removing redundant ChromeAnimation API by moving everything into CompositorAnimator.
> Public doc with proposal:
> This concrete patch is preparing Stack and StackAnimation by adding support for tab animations using AnimatorSet/CompositorAnimator.
> Notes:
> 1. both ChromeAnimation and CompositorAnimator will be supported until all patches from this series will be applied (until migration will be done)
> 2. in the onUpdateCompositorAnimations we're using AnimatorSet.isRunning() to detect if animation is still working (and if we want to complete it, we animatorSetFinished to true and immediately stop animation using finishAnimationsIfDone)
> BUG=890643
> Change-Id: I5d698c729b9001554dc1c40636baae7016d02180
> Reviewed-on:
> Commit-Queue: Marcin Wiącek <>
> Reviewed-by: David Trainor <>
> Reviewed-by: Matthew Jones <>
> Reviewed-by: Changwan Ryu <>
> Cr-Commit-Position: refs/heads/master@{#638881}

Bug: 890643, 940831
Change-Id: Ic96d6a3a4e053c4bbb712d1dcf8b9ce889d92e77
Reviewed-by: David Trainor <>
Commit-Queue: Marcin Wiącek <>
Cr-Commit-Position: refs/heads/master@{#640895}
3 files changed