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
1 file changed