summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2014-12-01 06:57:15 -0800
committerChet Haase <chet@google.com>2014-12-01 06:57:15 -0800
commit5a25e5bae223bbee56dab75e36d1d947c8c3cb11 (patch)
treefe295074f29a0da4763137e87a395a13cea51715 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdf84cb90df6f4a98c853dd61e858f62a584cdac5 (diff)
Zero duration animations snap to end value when started
A recent change to seeking behavior altered the logic of setCurrentPlayTime() (which is called when animations are first started) to set the current animated fraction to 0 for 0-duration animations. This fix ensures that 0-duration animations snap to their end value (fraction == 1) instead, matching the behavior prior to the seeking fix. Issue #18542543 Animations with 0 duration stay in initial state when calling setCurrentPlayTime(0) Change-Id: I9916d962cf46453a9e3e1207f58baf16f4a5830a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions