summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-02-02 13:41:44 -0800
committerChet Haase <chet@google.com>2012-02-02 13:41:44 -0800
commita553113a1f88e112b0999c12c7c2e8d724ed7fa8 (patch)
tree49a06a5f57db1314879f99ef07635d63b0843e2c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8ca8a69d5801ad4b809e7b9dbf53bd728820924b (diff)
Fix bug in LayoutTransition that caused views to stay invisible
LayoutTransition side-effects the alpha property on View to fade views in and out. This works fine if the layout transition is always used on those views' container. But if you fade out a disappearing view and then set the transition to null on the container and set that view to VISIBLE, there is no transition logic to restore the alpha value to 1 (opaque). The fix is to always restore alpha to its pre-animation value when fading the view out. Also, added extra info to alpha and the various View transform properties to help hierarchyviewer debugging. Issue #5958434: LayoutTransition temporary disablement may leave some views invisible Change-Id: I3c21b0e7334dc29c10c5e372b589f0e2b59c2883
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions