frameworks/base/: Fix black wallpaper issue when home pressed.

In the specified usecase, there is a completely new set of
windows that appear on the screen during rotation. And the
existing code in the framework ignores the drawstate of the
hidden windows.

Wait till the drawState is ready for the hidden windows also.

CRs-Fixed: 521758

Change-Id: Ibd96502059c84210ad84ecb03aac5eca28f3c9fe
Replace AOKP toggles with CM/Slim/PAC ones. (1/2)

This patch is now builable and able to test. Do comment to us if you occured anything on this patch.

Credit to CM/Slim/PAC/BAMF

PS2: Add a few missing settings.
PS3: Replace quicksettings with ribbons.
PS4: Fix some build errors. Not done yet.
PS5: Tons of fixes. More errors to go though.
PS6: Few more fixes.
PS7: Last round of compile errors. Now to fix runtime errors.
PS8: A few fixes
PS9: A few changes. Current problem is a system UI FC on boot. Log here:
http://pastebin.com/SJTe2bNR
PS10: Fixed the Dymanic tiles, linked layouts on ribbon, fixed fc, ready to merge.
PS11: Various fixes to collapsing
PS12: Fix Music Tile, Fix Exp Desktop Tile, not PIE just yet
PS13: Small rebase
PS14: Fix tiles flipping when pulling down and fix tile height when >3 rows.
PS15: Make certains tiles close the noti drawer when touched or long pressed.
PS16: Remove some AOKP telephony stuff.
PS18: Fixed up RibbonView disabling FC, fixed observers NPE, use the old style of random coloring,
PS19: cleanup
PS20: Fix tiles on 3 rows
PS21: Tiles per row works better
PS22: Add Carbon and Power Menu tiles

TODO:
- Nothing more, ready to merge, waiting for tester's feedback

Change-Id: I5a69bc6cc98bbbc3e14a6553c82243161abbefee
Frameworks: add never sleep screen mode (1/2)

to qs ScreenTimer Tile
to PW ScreenTimer toggle
as general option as well

Change-Id: Ic78356c1b96044562efbce3cb0d0d5c93d773a19
Removed old Traffic indiciator and added MIUI-like one from ChaOS

Credit and Thanks to 0xD34D/ChaOS team.

Change-Id: I11cabc3001aaf4129b60d361b7b37dce104e0f04
Frameworks: Fast Charge tile (1/2)

Thanks roman for the basic idea to use an overlay
to set the fast charge path so each device can set
the propper path to the custom kernel.
As well this commit pays attention if the user
flashed a kernel which does not support fastcharge
or is using another path. Option for tile in settings will be removed
as well.

not 100% happy with the whole fast charge implementation...but I am lazy :p
...whatever maybe I will recode that all on a later point. It
is working as intended like it is.

PS2: Fix tile not updating

Change-Id: I0cb830c1ecfebe479a2e10a31c7c84967e2e2030