PowerManager: Don't wake up device when charger is plugged/unplugged (1/2)

This will add the option to disable waking up the device when a charger
is plugged or unplugged.

Change-Id: I3367041a05931510f367dafe412b173c80b89df1
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
PA try out

Change-Id: Ia596f63cb7764dee4dbc9ffa4e0c69397026875e
Revert "PA try out"

This reverts commit 27360bd85629dda80e65f77e765d7e9a02f7bd41.
Lockscreen Camera Switch (1/2)

Change-Id: I1f6dd71c9603b11cf9b0dc39d2404ee9d2a8ed50
Adjust NavBar Transparency Method

Change-Id: I22fac862736537050a335ee2b39b4fc212903405
FW: Hiding NavBar - {WIP - DO NOT MERGE}

PS8:
New Structure for Hiding NavBar

ps9 : Fix a few derps.
ps10 : more derps/Try/catch/ etc.
ps11 : Hiding NavBar now Marginall works.
       There are a lot of things that can break this right now.
       it doesn't recover well from toggling itself on/off and
       if you 'hide/show' the NavBar, it doesn't take to that kindly
       either.  One thing the seems have an effect is to change the
       height of the NavBar.  there is something that gets reset in
       PhoneWindowManager by doing the height change that helps.

ps 12 :  Reworked some of the logic.  Added visual hints to indicate where
the swipes should occur.  Also completed landscape (phone) orientation shift
for swipe.  Made several changes in the window layout formulas in
PhoneWindowManager so that NavBar is treated like a real overlay when
in AutoHide Mode.  Otherwise, certain windows and elements were
resizing when the NavBar was shown/hidden.

ps 13:  Add images (button/drag) from NitrozK

ps14:  Start implementation of longpress on handle to launch
       NavRing.  Fix press navbar resets hide timer.

Change-Id: Ic4ad3d9dec139ebeee2ee1e81d97ec603116f5f9
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Revert "Port Lockscreen Custom Image (1/2)"

This reverts commit ad071ef6bd97f5f6610694ac9218effd09b20eb8.
Lockscreen: Add back lockscreen wallpaper (1/2)

Much simper implementation than in previous releases.

Change-Id: Id67bc9fc6613c9d978354556191456e1141344b9
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Remove Lockscreen Smoke

Change-Id: Id802b6b156963e267ed808930522d06e4a669760