summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2018-09-07 11:38:32 -0700
committerVishnu Nair <vishnun@google.com>2018-09-07 11:38:32 -0700
commitb040c0150e46fcd5f170caf376549cc735affeb2 (patch)
tree1e78dc05269136382c6bfdbc79d0dc43d754b0a0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent59c1d01b857bb72bb1a36f11137d0029929795b2 (diff)
WM: Parent SurfaceView to a new bounds surface
Fixes a couple of issues seen with PiP animations. 1. SurfaceView expands over the parent bounds. 2. SurfaceView and/or its background surface draws over the surface inset region of the parent. Creates a child surface in ViewRootImpl that will crop any region outside its surface bounds after adjusting for surface insets. Changed SurfaceView to parent to this new surface. Test: manually run through PiP animations for Maps and YouTube. Test: go/wm-smoke Change-Id: Ib4b8e7f6753eda1e690e1ff6c92ce27165fa693e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions