Base: fix some compiler warnings

Change-Id: Ifb609ca1091edd92cfb414dfc8c3c501d3e38a9d
FB: Heads Up background color && transparency [2/2]

PS: manual rebase

PS: fix my retardedness

PS: fix heads up TRDS background resources

PS: clear content holder background prior to setting TRDS
        drawable so that correct drawable for TRDS state
        is set

PS: revert non-TRDS background to AOSP gray (default
        system notification background color)

PS: clean up some unused code
Change-Id: I3942c0ce178491e3429e5ae7eb24b43ba07a1f40
Lockscreen Notifications [1/2]

My try on making notifications easily accessable from lockscreen.
Credits to ChameleonOS, I got the notification listener permission and some small other stuff from their ActiveDisplay implementation.

Lockscreen Notifications allow you to manage all your notifications directly on the lockscreen.

Features:
- Pocket mode turn screen on when phone is pulled out of pocket and turn it off when phone gets back in pocket
- Hide low priority notifications
- Hide non-clearable notifications
- Allow dismissing even non-clearable notifications from lockscreen
- Just turn screen on when there's currently a notification pending
- Toggle between expanded and normal notification view by longpressing
- Wake on new notification
- Configure notification count displayed at once
- Privacy Mode: Hide notifications content on secure lockscreen.
- Blacklist apps - thanks to ChameleonOS for the original implementation and @Der-Schubi for bringing it to lockscreen notifications
- Show all/dismiss all button, does not dismiss on going notifications, they must be swiped away

Overlay setting:
dynamic width is disabled by default, to enable it for a specific device, add
<bool name="config_lnDynamicWidth">true</bool>
to yourdevicetree/overlay/frameworks/base/packages/Keyguard/res/values/config.xml

PS3: Disabled by default
PS4: Removed many whitespaces

Change-Id: Ife8cbe1ef86691c391de061964bf4d14be03a59f
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
	packages/SystemUI/res/layout/navigation_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

Change-Id: Ife8cbe1ef86691c391de061964bf4d14be03a59f
[1/2] Statusbar: Make double tap gesture configurable

Change-Id: I0499fb6366012733a6affd8c9a7b1d0a2cb8e59a
Author: fusionjack https://github.com/fusionjack
[1/2] Base: DownloadManager: add support pause/resume/stop notifications

Add pause, resume and stop functions to make user can pause, resume and stop downloads by manual in downloads application.

Change-Id: I82ffff5a539448faab8933e2b47591199bf24cb9
Frameworks: 6-bar signal icon style [1/2]

Change-Id: Ibc7cae7e57087a2a6396447168b59ade290810d1
Heads up: option to disable in lockscreen (1/2)

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Change-Id: Ib002ebf52ee834968765f9a00356ee45a85adc1e
Lockscreen blur and blur radius and Wallpaper (1/2)

Change-Id: I37e8adf8a4e5d6ef1943d2e0ad3cc2a59ba0f9da

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
Lockscreen blur and blur radius (1/2)

Change-Id: I37e8adf8a4e5d6ef1943d2e0ad3cc2a59ba0f9da

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