commit | ef364c5a555f0ff2ed307ab544c99476745b5758 | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Fri Feb 14 15:38:39 2020 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Fri Feb 14 17:03:43 2020 +0800 |
tree | d6c26c0e2c690b61a59eeb6a35e848545fbac4b4 | |
parent | 8a48bc0b1ffc891404396a2372188d8f91b44562 [diff] |
Use boundsOnScreen to offset the translate ScreenRect is position in current window. However, it results in the incorrect bounds if the window isn't from (0, 0). We need to update it with bounds on screen instead. Bug: 149539748 Test: a11y CTS & unit tests Change-Id: I3cb07656a2c87e5f4fd1cba78463b1135c959bd4