Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02908b5f authored by Amanda Lin Dietz's avatar Amanda Lin Dietz
Browse files

[A11y Focus API] Update Magnification to use requestRectangleOnScreen API with source

* See go/android-a11y-focus-api for full justification and design.
* Update Magnification to respect the new parameter to the
  requestRectangleOnScreen API behind the flag.
* Update Magnification to differentiate between typing and keyboard
  focus events and move the viewport accordingly.
* Set Magnification follow keyboard focus default to false.
* Update and add unit tests to test both unflagged and flagged
  behavior.

Flag: android.view.accessibility.request_rectangle_with_source
Bug: 391877896
Bug: 391678911
Bug: 391679180
Test: FullScreenMagnificationControllerTest.java,
MagnificationConnectionManagerTest.java, MagnificationControllerTest.java

Change-Id: Iad4ae9800afc9053d6f1c84d79572b9e58b56272
parent 1434d1b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment