summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Jacky Kao <jackykao@google.com> 2021-11-03 14:49:53 +0800
committer Jacky Kao <jackykao@google.com> 2022-02-24 09:50:17 +0800
commita2fae6b5d6ef8f1e66a9000c8861531f9b0d7723 (patch)
treea97daf7bdc4f8fb293e1a9bd363cc9ad087a2345 /libs/hwui/FrameInfoVisualizer.cpp
parent12dd1d6747c8d5e3b99f5b1821012b92db4dab98 (diff)
Uses SF callback windows for the A11yWindowInfo [1/n]
1. Implements AccessibilityWindowsPopulator class including the new accessibilityWindow class generated by the inputWindowHandle from the surface flinger. 2. Replaces the windowState by the accessibilityWindow used in the AccessibiltyController class for computing the changed windows reported to the A11y framework. 3. The embedded hiarerchy windows would be reported to A11y framework due to they are reported from the surface fligner. This will make the traversal function is broken when the Auotfill features is using talkback. We find out the embedded hiarerchy windows by its window token and don't add them into the A11y windows list. 4. Removes the modal windows calculation of the unAccountedSpace including the task fragment due to we intersec the region between the frame and touch region for all windows. 5. When reported windows counts from the surface flinger changed, calling the accessibilty controller class to compute the changed windows and send the results to the A11y framework immediately. This can avoid the CTS failure with no corresponding window found when the activity is launched due to the timing issue between the callbacks for computing changed windows from the WM and the callback for changed windows from the surface flinger. Bug: 191736824 Test: a11y CTS & unit tests Test: Manual testing including the A11y services Change-Id: Ie9150ddc8e53ca88ad8cd7ba9376837e31436518
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions