diff options
author | Jackal Guo <jackalguo@google.com> | 2020-02-14 15:38:39 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2020-02-14 17:03:43 +0800 |
commit | ef364c5a555f0ff2ed307ab544c99476745b5758 (patch) | |
tree | d6c26c0e2c690b61a59eeb6a35e848545fbac4b4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions