summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2019-07-26 16:11:55 -0700
committerchaviw <chaviw@google.com>2019-07-26 16:11:55 -0700
commit516ef793c0753734ca8dd1d6ff853881b3f27831 (patch)
treecbda0f85bf8f35b4a0ea40c7b0ec718c3b2779d8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdc860bdfa8da9a2532aa12da2eb946751c1df558 (diff)
Use alpha instead of show/hide when creating animation leashes.
Relative layers inherit visibility flag from the layer they are relative to. This caused dim layers to disappear when the dim layer was transferred from one window to another that was starting an animation. The animation leash was set to hidden so the dim layer was also hidden. Instead set alpha to 0 and 1 when trying to show and hide the animation leash. This will not update the dim layer's visibility since only the show/hide flag is inherited. Test: Steps from bug Fixes: 138337187 Change-Id: Id7d82335889a42020ad0adccf9bd5c5d987cc813
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions