commit | 81ec607aba48fbadcc8df46985e35e155faa8919 | [log] [tgz] |
---|---|---|
author | Valerie Hau <vhau@google.com> | Thu Jan 30 09:45:24 2020 -0800 |
committer | Valerie Hau <vhau@google.com> | Thu Jan 30 09:45:24 2020 -0800 |
tree | 1bef1315bf106a4314773c222805d1351f62cf86 | |
parent | b2a6955c6bc7a59b916cf71347afc9c7e57c54ee [diff] |
Set frame based on surface control width/height Buffers may be transformed due to transformHint and/or transformToDisplayInverse. So the buffer we get is not a good indicator of our frame w/out additional calculation. Use the surface control's width and height to determine frame Bug: 147388905 Test: build, boot, libgui_test Change-Id: Ia2c7d6d5db8a0f9479a6950eab06ac40eef5a044