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

Commit a87898b6 authored by Yongshun Liu's avatar Yongshun Liu
Browse files

a11y: Show magnification mode switch button on mouse move

This change enables the magnification mode switch button to appear
when the user moves the mouse, creating behavior consistent with
existing touch interactions.

It adds the necessary logic to MagnificationGestureHandler and
MagnificationController to detect mouse hover events and trigger the UI.

Additionally, this change includes unit tests for the new functionality
and improves existing related tests:
  - Added tests to verify onMouseMove is called correctly.
  - Added negative test cases to prevent regressions.

Bug: 424272057
Flag: EXEMPT bugfix
Test: atest MagnificationGestureHandlerTest
Test: atest MagnificationControllerTest
Change-Id: I53dfd21dac4f8684a473aa9e60d3b58192065e3e
parent b0a75b7e
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