summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-04-17 13:18:14 -0700
committerChet Haase <chet@google.com>2012-04-17 13:58:44 -0700
commit17cf42cb85c22b50ecfa8d21efc992f99d20fc45 (patch)
treed8ba7cef26d25a01aeab9adee69cf731cc367421 /graphics/java/android/renderscript/Program.java
parentdf1423e28ccb867c323c7b821bb2af1b6481ac07 (diff)
Fix logic of animator start/cancel/end callbacks
The callbacks for animators in some corner cases were not being called correctly. For example, startDelayed animators that were started and then ended didn't send out the proper events. This CL fixes that logic. Specifically: - An animator that is end()'d will implicitly start() itself and then assign an end value. This was already the case, but listeners were not getting notified. Now this situation causes callbacks to listeners for both the start and end events. - startDelayed animators that are end()'d or cancel()'d prior to finishing the startDelay phase will send out events (start and cancel/end, as appropriate) to listeners. Change-Id: I40a0f2fdb19d9ec7c3726a91363686c6ecb7d915
Diffstat (limited to 'graphics/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions