summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-05-08 11:20:43 -0700
committerRobert Carr <racarr@google.com>2017-05-10 15:16:17 -0700
commit18f622f08ce84bfb1a6cf19bca33d3ef0ad4aca9 (patch)
treecf12533c55f95d82b500602061ebdde302597dc4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9bda9ead49867c7a3cee2534337485f8cd00c1f8 (diff)
Preserve non-floating state when entering pinned stack.
When transitioning between the fullscreen and pinned states we often have a situation where we go from having a navigation and status bar in the window to not. We'd like to use the source bounds animation to crop these out rather than a sudden jump or scaling but in order to do so we need to ensure they last until the end of the animation. We track this state, and return the appropriate value from isFloating. Furthermore, we add support to the bounds animation to use the content frame as a source bounds when there is no source bounds present, this means that we can crop out the navigation and status bar so they will be invisible by the end of the animation. Bug: 37531386 Test: Manual Change-Id: I72c549e3a3318534428d17b68ebee5832c32e6d7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions