commit | 51a1b875c2ba1bf086c849871dd340cfee2ccfaa | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Tue Dec 08 14:03:13 2015 -0800 |
committer | Robert Carr <racarr@google.com> | Wed Dec 09 12:46:24 2015 -0800 |
tree | cc75689021498c838d60ebc5ef0ed9553d4356ce | |
parent | 70ac616b3851a063b974cf5e5c8bc764994cab7d [diff] |
Apply cropping to resizing surfaces. Apply crop to surfaces even while we resize them. In the case of SurfaceView, the SurfaceView will be much slower to resize than the main window. Without crop, this causes the SurfaceView to jut past the bounds of the main window as it is shrinking. With crop we can ensure the crop moves with the border in the same SurfaceFlinger transaction. Bug: 26010823 Change-Id: Ifb32422de8d18363bd956a457e9efe8cf26678e5