summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-08-05 15:20:19 -0700
committerChet Haase <chet@google.com>2011-08-08 15:05:53 -0700
commit8b699792b677bd4dd8442b32641ac09d48fdd79c (patch)
treeeaf1e380f6bb3b430ed524f7c6d7f8f95c498d92 /data
parentbeb46417831af257ec80f29e9a68b92cf34c1e97 (diff)
downloadframeworks_base-8b699792b677bd4dd8442b32641ac09d48fdd79c.zip
frameworks_base-8b699792b677bd4dd8442b32641ac09d48fdd79c.tar.gz
frameworks_base-8b699792b677bd4dd8442b32641ac09d48fdd79c.tar.bz2
Fix cancellation of AnimatorSet when child animation has delay
Previously, AnimatorSet incorrectly checked whether child animations were 'running' to figure out what to cancel. If a child animation was started, but sitting in a startDelay phase, it was not 'running', so the right cancel/end events would not propagate. The fix is to add a new isStarted() API to Animator, which returns true when the animator has started (but not yet ended), regardless of whether the animator has a startDelay or not. It's basically a superset of the existing isRunning() method, which only returns true when an animator has actually started setting values. Change-Id: I126814cb6637b58295b6d18d9b155235671f99be
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions