Skip to content
Commit 379e238c authored by ryanlwlin's avatar ryanlwlin
Browse files

Implement transitn animation while switching the mode

First we get the current center of magnification bounds and the scale,
then apply them after the disabling animation is completed.

If disabling animation is interrupted, we will fall back to previous
mode or force to switch the mode directly.

Bug: 161669184
Test: atest com.android.server.accessibility.magnification
      atest AccessibilityManagerServiceTest
Change-Id: Ic12d6d907f91bf251aa67a6ab959d4fbcf660f63
parent 6c4ffacb
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