Active display: Ability to turn off the screen, when a not clearable notification is present

Removing the last clearable notification in AD turns of the screen. But if there is a not clearable notification, there is no ability to turn it off directly.
This patch adds a power target on place of the 'clear notification' target of AD.

Change-Id: I807cca4c293ed732b441cfdcca50957b427809fa

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_qs_power.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_power.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_power.png
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java
Fix Derp
Lockscreen Notifications: Fix NPE

E/AndroidRuntime( 3778): java.lang.NullPointerException
E/AndroidRuntime( 3778): 	at com.android.keyguard.NotificationViewManager.onScreenTurnedOn(NotificationViewManager.java:286)
E/AndroidRuntime( 3778): 	at com.android.keyguard.KeyguardViewManager.onScreenTurnedOn(KeyguardViewManager.java:825)
E/AndroidRuntime( 3778): 	at com.android.keyguard.KeyguardViewMediator.handleNotifyScreenOn(KeyguardViewMediator.java:1416)
E/AndroidRuntime( 3778): 	at com.android.keyguard.KeyguardViewMediator.access$2300(KeyguardViewMediator.java:104)
E/AndroidRuntime( 3778): 	at com.android.keyguard.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1131)
E/AndroidRuntime( 3778): 	at android.os.Handler.dispatchMessage(Handler.java:102)

Fix NPE on first boot

Change-Id: I6aa4f62ffbc00be15aa98ee3a137bb0d6add6610

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
Recents: Google Recents

Featuring:

* Mr. Jingles - when you fully wiped everything off from recents, you'll have mr. jingles jiggling for you!
* More Google Now look alike

Changelog:

PS1: Inital Animation Release, drawables kanged from Google+ http://www.youtube.com/watch?v=Iff1yGtvooo
PS2: More improvements, oneshot=true, so it won't loop
PS3: Make it Google style, WHITE! (I may need user's feedback, something i feel the hate beyond us.) http://www.youtube.com/watch?v=4cE75HbPO-Q
PS4: Lighter white transparency at the background, used lighter gray context
PS5: Clear button, colored
PS12: Fix landscape layout

To-Do:

* Change Clear-All drawable to something more recenty like

Change-Id: I2207a0574a3c48aaf32b04f619be0f9242c350ab

Conflicts:
	packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	packages/SystemUI/res/layout/status_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Stock Recents Background Color Changer [1/2]

Change-Id: Id7c83093f072536503c63e31b2e3be2e4c765144

Conflicts:
	core/java/android/provider/Settings.java
Fix Halo Issue

Credits : ResurrectionRemix ROM

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-hdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-mdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-mdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-xhdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-xxhdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-xxhdpi/ic_notify_halo_pressed.png
Revert "Fix Halo Issue"

This reverts commit 8e62b389a091d0500d577fb54d65f0f44354176d.

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-hdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-mdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-mdpi/ic_notify_halo_pressed.png
	packages/SystemUI/res/drawable-xhdpi/ic_notify_halo_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_notify_halo_pressed.png
Re-Move HALO Icon On Statusbar

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
Fix
Remove HALO icon

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix pie control + slim recents issue

Fix slim recents showing without last task (or even empty)

as we can't set double tap or long press action for navbar and pie,
there are no need to (cancel) preload recent apps when pressing home via navbar or pie.

Change-Id: Ife7c9698ada4bf7d069bd32215f415a235cb6a2b

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Revert "Remove HALO icon"

This reverts commit 4097f989a82898ba7d535da9727d02dec77bb8b8.
TEST!
Pass the Floating all around....

AOSPA's old floating from notification popup menu && classic recent popup
Also adapted for Slim Recents

Change-Id: Ief2928e3bc35ed280f7e2e03ddbf615c5d57cd0e

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/slimrecent/RecentPanelView.java
Fix slim recents popup

Change-Id: Iee443949c5de870d1ef7c6cc977e9bc7e9b9f92b
Revert "Fix slim recents popup"

This reverts commit e57b9b92c3c0fe426c3ec60069d0b3613b68f90f.
SlimRecents: development shortcut

https://github.com/CyanogenMod/android_frameworks_base/commit/016664aa129ff00b556a6c56e06f474593d1a04f

Change-Id: Id813e25cbe4c414bf039385a710775e9b30b7162

Conflicts:
	packages/SystemUI/src/com/android/systemui/slimrecent/RecentPanelView.java
SlimRecents: add floating window menu

Change-Id: I63894fb8551b881c45c991bc30353b3dc4f3e43c
Fix Floating Window

Signed-off-by: aways <aways@c-rom.org>
Revert "Fix Floating Window"

This reverts commit 467c724cf594e0a8b03c692a4a5e87f4c4df829f.