commit | 379e238c6ba2780f67205665292ec909b92a6ca5 | [log] [tgz] |
---|---|---|
author | ryanlwlin <ryanlwlin@google.com> | Tue Aug 04 16:22:47 2020 +0800 |
committer | ryanlwlin <ryanlwlin@google.com> | Tue Sep 15 15:07:36 2020 +0800 |
tree | c19b2828ef0c04a2f427f1a3d2bba5bf1eb107ed | |
parent | 6c4ffacb47a41913d1a259ba404edb1f586a730c [diff] |
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