SystemUI: Materialize volume panel in/out animation

* Thanks to @David96 that had the original idea, material
  oriented, already during kitkat times.

Conflicts:
        packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java

Signed-off-by: BigBrother1984 <carlosavignano@aospa.co>
Change-Id: Ic79d404c4a0d5bc0a83d20cd4e0d7d5ad7b7c90f
base: Second Clock (1/2)

Credit to original authors
PowerManagerService: Optimize button illumination
The current implementation of button/keyboard illumination is a bit flaky
When the device goes into deepsleep before the illumination time has expired
the buttons stay illuminated all time

The issue is fixed with this commit by setting button and keyboard brightness
to 0 when wakefullness state is not WAKEFULNESS_AWAKE because there is no point
to still illuminate the buttons when device is already dozing or dreaming

Change-Id: I01e66462271df57a6840a9ab9f40a7b51228c736

Conflicts:
	services/core/java/com/android/server/power/PowerManagerService.java

Conflicts:
	services/core/java/com/android/server/power/PowerManagerService.java