summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2020-04-28 16:20:00 -0700
committerEvan Rosky <erosky@google.com>2020-04-28 16:26:29 -0700
commit0f4db1b1e24c49eac4dfc2a6c79ff66737ee18ca (patch)
tree1f4d17656a3cea443bfb72af01c73a524ebb817c /tools/aapt2/java/JavaClassGenerator.cpp
parent046df72d9a8a7d5f6e6f255c313fc129db874f68 (diff)
Set DividerView accessibility embedded matrix to surface position
Even though it isn't technically embedded, pretend like it is embedded into the display. We need to do this because the surface is moving, but the view content is always drawn at 0,0. For utilities like View.getBoundsOnScreen to work, this matrix needs to be updated to offset things properly. Bug: 151632128 Test: Enter split-screen and dump accessibility nodes if possible. UiAutomator-based tests using divider should work again Change-Id: Icc42e1236f3863dcafbe7f14512082f6f92b76c3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions