diff options
| author | Chet Haase <chet@google.com> | 2013-06-04 08:46:42 -0700 |
|---|---|---|
| committer | Chet Haase <chet@google.com> | 2013-06-04 08:46:42 -0700 |
| commit | e9d32ea13ee14fc0eb4e45ca627ca77729d38bfe (patch) | |
| tree | 671b10a4b7d2d722652d13b71267695a31c145f8 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 90b8994470f233f8bd187e441702d74f5d04644b (diff) | |
Starting new transition cancels running transition
The behavior of running a transition is janky and unpredictable,
when there is already a transition running on the same scene root.
Usually, the new transition simply jumps to the end values, or
jumps to the start values for that transition and animates from
there.
A better approach is to cancel any running transition first, the
start the new transition from that point.
Even better would be to blend old/new transitions, or at least adjust
the animation timing according to where/when the previous transition
stopped. In the meantime, this fix is at least better than the
previous approach of ignoring running transitions.
Change-Id: I4f5fabb55f6454f1e9d66589a9a7c36f9fc013fb
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
