Clean up ARC++ a11y bounds computation
This CL cleans up the a11y bounds computations in ARC++; - Aggregate the bounds computation logic inside AccessibilityInfoDataWrapper. - Explicitly use |offset_container_id| of AXRelativeBounds. _ Keep the device scale factor in AXTreeSourceArc. Set and update it from ArcAccessibilityHelperBridge. This CL also fixes the bounds computation of notification window and input method window, which were currently not adjusted by device scaling. Bug: b:147707554 Test: manual. Open PlayStore, change device scale factor by Ctrl +/-, bounds are correct. Test: manual. Open TalkBack-test app, create notification windows, bounds are correct. Change-Id: Ie5f6904fcf8c18fd86d9fc1e99a1db7970a14be9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066411 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Sara Kato <sarakato@chromium.org> Cr-Commit-Position: refs/heads/master@{#746603}
Showing
Please register or sign in to comment