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)

Author(s): 
Package: 
com.zst.xposed.screenoffanimation
Version name: 
1.3
Release type: 
Stable (low risk of bugs)
Number of downloads: 
435,160 in total · 334 in the last 24 hours
MD5 checksum: 
dcfdd5ab37d681ad3d56456bbf1cfaaa
Uploaded on: 
Wednesday, October 22, 2014 - 11:02
Changes: 


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 name: 
1.2
Release type: 
Stable (low risk of bugs)
Number of downloads: 
104,480 in total · 3 in the last 24 hours
MD5 checksum: 
f561da9990f3f412dd7dc8458be4d607
Uploaded on: 
Monday, June 16, 2014 - 09:35
Changes: 

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 name: 
1.1.1
Release type: 
Stable (low risk of bugs)
Number of downloads: 
20,258 in total · 1 in the last 24 hours
MD5 checksum: 
6381fd541e1318ec661d039cb7b8caee
Uploaded on: 
Monday, June 2, 2014 - 05:52
Changes: 

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 name: 
1.1.0
Release type: 
Stable (low risk of bugs)
Number of downloads: 
4,103 in total · 1 in the last 24 hours
MD5 checksum: 
85f5b34c474199f204c3de139cc3169a
Uploaded on: 
Saturday, May 31, 2014 - 04:49
Changes: 

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 name: 
1.0.3
Release type: 
Stable (low risk of bugs)
Number of downloads: 
7,257 in total · 2 in the last 24 hours
MD5 checksum: 
a380a1a13f7b2a5c276d711126674880
Uploaded on: 
Monday, May 26, 2014 - 12:38
Changes: 

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 name: 
1.0
Release type: 
Stable (low risk of bugs)
Number of downloads: 
4,195 in total · 0 in the last 24 hours
MD5 checksum: 
e836918f700185c7272885f79b71b725
Uploaded on: 
Sunday, May 25, 2014 - 07:37
Changes: 

Version 1.0 (25 May 2014 / 1340 / GMT+8)
• First Release