Skip to content
Commit 3cc8cedc authored by Roy Chou's avatar Roy Chou
Browse files

feat(#AlwaysOnMagnifier): Add haptic and buffer zone when panning scale to persisted scale

In FullScreenMagnificationGestureHandler, support vibration feedback and create buffer zone when panning scale to persisted scale. It's to help user stay on preferred zoom level when panning scale.

Besides, with always on feature enabled, the magnifier would set scale to 100% and keep activated after transitions. The changes in this CL help user return to persisted scale quickly.

Bug: 269476411
Test: manually - attach video in b/269476411
      atest FullScreenMagnificationGestureHandlerTest
      atest AccessibilityMagnificationTest
Change-Id: I4a607e5ad402d0d69b9236e4ccf5979850dfc49c
(cherry picked from commit 43807cdf)
parent e02709f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment