summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-03-02 17:07:35 -0800
committerChet Haase <chet@google.com>2011-03-02 18:37:31 -0800
commite8e45d32fd1f67fed1b70d0fc19d2f91a76f128e (patch)
treec8c2281fd3367a13c7ed2ae8e79e8bdbd6938e15 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent37b05d7d61cb7e7313736e14ca46c1287c5d1089 (diff)
Cancel LayoutTransition animations selectively
A recent change to LayoutTransition caused new layout transitions to cancel any previously-running animations. This was to handle situations where a transition adding an item needed transitions removing items to finish their job first (and vice versa). But canceling *all* running animations from transitions caused some artifacts, like making the status bar icons blink or fade in, depending on which one was started last. The new approach is to cancel just the ones we care about: adding animations cancel removing animations, and vice versa. Either one cancels 'changing' animations, which prevents objects from being animated to the old end locations, since the new transition will animate them to the correct new end locations. Change-Id: I68ac351b05365cace6639b6618422395c35c83fd
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions