diff options
author | ryanlwlin <ryanlwlin@google.com> | 2020-08-04 16:22:47 +0800 |
---|---|---|
committer | ryanlwlin <ryanlwlin@google.com> | 2020-09-15 15:07:36 +0800 |
commit | 379e238c6ba2780f67205665292ec909b92a6ca5 (patch) | |
tree | c19b2828ef0c04a2f427f1a3d2bba5bf1eb107ed /rs/java/android/renderscript/ProgramStore.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions