| commit | ab01cec403c61f2c9de1072750cab8cc9c5c590b | [log] [tgz] |
|---|---|---|
| author | chaviw <chaviw@google.com> | Thu Apr 29 10:41:12 2021 -0500 |
| committer | chaviw <chaviw@google.com> | Thu Apr 29 10:41:12 2021 -0500 |
| tree | cdd1d59901a9fa688720d5fd39f3a4ec0d58544f | |
| parent | b70ccc76b7fa936e66fdb1cc8092797ffff7b181 [diff] |
Fix negative destination offset based on setGeometry behavior. If destination offset is negative, the offset is set to 0 and the width and/or height is adjusted. The change is to restore the previous behavior in R. Update the negative destination test to reflect this behavior. Test: ASurfaceControlTest Bug: 185533162 Change-Id: Id36a7a6b4433aa5f3aedbfb349c6c94d7b4479a5