OSDN Git Service

Correct isRunning() behavior for AnimatorSet
authorDoris Liu <tianliu@google.com>
Fri, 28 Aug 2015 20:21:03 +0000 (13:21 -0700)
committerDoris Liu <tianliu@google.com>
Fri, 28 Aug 2015 20:21:03 +0000 (13:21 -0700)
commitee684556ceb8b940ca2af06613a59728e9b78507
tree3f5cf687e859d2bb9ce3056dab8a740454ebbc97
parent35ede6a94046e651cc15acbc66b91e46a9b6e7ce
Correct isRunning() behavior for AnimatorSet

isRunning() for an Animator indicates whether an animator has gone
past its start delay and not yet finished. As a subclass of Animator,
AnimatorSet should follow the same principle. The implemention prior
to this CL returns whether any child animation is running, which is
inconsistent with the javadoc for isRunning() and general behavior
for Animator.

Change-Id: Iece814dfcd609ee292dbc00bd55dc64c7bda8e57
core/java/android/animation/AnimatorSet.java