The Android community is pretty damn cool, if you ask me – custom ROMs, Xposed, Superuser applications, and a lot more. Android developer advocate Nick Butcher has added to this with a Quick Settings tile to control Android’s animator duration scale. Normally this is only accessible through the Developer Options part of Android’s [System] Settings, so for developers out there who need to regularly change the animation speed to test out any swanky animations, this should be pretty useful.
There are two tiles available for use – a toggle and a selector. The toggle switches between the 0.5x and 1.0x scales, while the selector brings up the same popup that Developer Options has. After the APK has been installed, the tile needs to be enabled. This is not as simple as simply pressing a button saying ‘Enable’ or some such. Because animation speed is controlled through a settings screen which is not activated by default, the permissions for the tile need to be manually granted in adb, using the code in the quote.
adb shell pm grant uk.co.nickbutcher.animatordurationtile android.permission.WRITE_SECURE_SETTINGS
Once this has been done, you should be able to add it to your Quick Settings panel. Note – if you don’t know what you’re doing with adb or know what ‘Developer Options’ is, it’s probably best to leave this alone; it’s mainly for developers to test out their animations at different speeds. For those inclined, the files can be found on the GitHub repo Nick has set up, the link to which is below.
Source: GitHub (Nick Butcher)