summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2019-06-18 11:14:01 -0700
committerArthur Hsu <arthurhsu@google.com>2019-06-18 12:49:24 -0700
commitf7645aa9a968e2da227f1edceaa2b83054b451dd (patch)
treeb1aa5d7b87c7b9890a17091ca7a25dd59f53b123 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent22dd194d6d1edc111f58e552d4bb2c8a45c09daa (diff)
Prevent SurfaceView from drawing over parent surface insets
Parent SurfaceView to a bounds layer that enforces a crop preventing it from drawing over the surface insets. The bounds layer crop is set to the surface insets and updated when the parent surface size changes or the parent surface insets change. If the SurfaceView children are reparented to another client surface then ensure the SurfaceView relative layer info is updated correctly. Bug: 132205507 Test: go/wm-smoke Test: test preserve surfaces codepath with split screen and ensure relative z is preserved Test: test surfaceview apps, youtube, maps & camera. Test: try to repro maps pip issue described in bug Change-Id: I14c2f7603345ad89f0af4db48150b05d8ada602a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions