ScreenOffAnimation
Custom Screen Off Animations for all ROMs
What is this
This module is an experiment to bring custom screen off animation to all ROMs without modifying native codes.
Note: All the animations are not ported (but recreated) from ROMs because the implementation is different, so there might be slight visual differences from the original...
Instructions
• Ensure you have a custom recovery ready to flash Xposed-Disabler-Recovery.zip.
(If anything goes wrong while booting, you can always flash it, reboot & disable this module)
• Install ScreenOffAnimation
• Enable ScreenOffAnimation in Xposed Installer
• Reboot
• Turn off your ROM's native screen off animation (if needed)
• Play around with the module!
Compatibility
This should work on all ROMs on Android 4.0 to 4.4 except those mentioned below
If there are problems or bugs on any ROM, especially manufacturer ROMs, please report it at the XDA thread
Bugs with ROMs
Screen On Animation doesn't work properly on these ROMs
• TouchWiz
• Color OS
• Android 4.1.2 and below
Screen Off Animation doesn't work properly on these ROMs
• TouchWiz (with S View Cover)
Version 1.3 (22 October 2014 / 1705 / GMT+8)
• Main Changes + Fixes:
--> Prevent duplicated Screen On Animation
--> Fix screen on Fade Tiles restarting halfway (seen in Fade Tiles)
--> Try to disable native screen off animation on Android 4.2.1 and below
--> Add Vertu Sig. Touch Screen On + Off Animation
--> Add Android 5.0 Lollipop Fade Screen Off Animation
• Code Refactoring:
--> Simplify Animation Listener codes
--> Integrate interval codes into a new SeekBar class
--> Add helper methods to improve code readability
--> Tiny optimization to screenshot code
• Translations:
--> Update Polish translation (by @godlesplay)
--> Update Hungarian Translation (by @szunyi77)
--> Update French Translation (by jkabiche@Github / @jose404)
--> Update Chinese (China & Taiwan) Translation (by @Pocket Fan)
Version 1.2 (16 June 2014 / 1535 / GMT+8)
• Main Changes:
--> Add Screen On Animation (see Note below)
--> Add Random Animation Option
--> Add new sliding ui for screen on animations
--> Prevent some cases of screen off animation when turning on screen + Possible fix for S View cover bug (not tested)
• Translations:
--> Update Polish translation (by @godlesplay)
--> Update Hungarian Translation (by @szunyi77)
--> Update French Translation (by jkabiche@Github)
--> Update Chinese (China) Translation
• Code Refactoring:
--> Rename the helper method to finish animation
--> Refactor screen off methods to make way for screen on methods
--> Move ScreenOff.Implementation out into another class
--> Reduce some errors
--> Small UI Changes
--> UI Changes to make way for screen on animation
Note: Screen On Animations [i][u]may[/u] start animating before the screen turns on[/i]. I have added a short delay before animating. It may be too short or too long depending on your device, but I add an option to control it in the future.
Version 1.1.1 (2 June 2014 / 1150 / GMT+8)
• Add FadeTiles Screen Off Animation
• Move interpolator out of scale_down.xml (Code Refactoring)
• Prevent duplicated animations when one is already showing
• Add Spanish Translations (by @badkill)
• Add German Translation (by @AssaSsiNMiLeS)
• Add Hungarian Translation (by @szunyi77)
Version 1.1.0 (31 May 2014 / 1050 / GMT+8)
• Fix a possible system crash
• Fix animation not showing for screen timeout on Android 4.2.1 & above
• Reduce excess logging to Xposed Installer
• Change minimum speed 100ms
• Change Speed Bar to intervals of 10ms
• Tweak CRT animations
• Add attempt to auto-disable native screen off animation for Android 4.2.1 & above
• Add French Translation (by @jose404)
• Add Italian Translation (by @teorouge)
• Add Portuguese (Portugal) Translation (by @mauam)
• Add Portuguese (Brazil) Translation (by @zanini007)
• Add Polish translation (by @godlesplay)
Version 1.0.3 (26 May 2014 / 1840 / GMT+8)
• Rewrote hooks (should fix some JB devices not loading at all)
• Improve Context retrieving (should fix Preview function not working)
• Improve hooks on Android 4.2.1 and below
• Tweak the delay before removing the black view (should fix flickering after animating)
• Fix Navigation Bar still showing while animating on Android 4.4
• Add Chinese (China+Taiwan) Translations (by @Pocket Fan)
Version 1.0 (25 May 2014 / 1340 / GMT+8)
• First Release