Extract a11y window computation into a method

We plan to move this part from wm package into a11y package.
This is a preparation of the migration without any behavior or logic
changes.

Bug: 322444245
Test: CtsAccessibilityServiceTestCases
Change-Id: Ibf104026c672b09635ce58018297e0c7deb9adc1
1 file changed