Lockscreen Notifications 1/2

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
SQUASHED: Add H+ Support and Update Lockscreen Notifications

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
LN: Make user notification count configurable
Update NotificationsHostView.java
LN: Patches
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: disable showing notification content.
- Blacklist apps - thanks to ChameleonOS for the original implementation and @Der-Schubi for bringing it to lockscreen notifications

This should still be considered as beta, even if it seems to work very well for me.

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

Conflicts:
	core/java/android/provider/Settings.java
	packages/Keyguard/res/layout-land/keyguard_host_view.xml
	packages/Keyguard/res/layout-port/keyguard_host_view.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/Keyguard/src/com/android/keyguard/NotificationHostView.java
	packages/Keyguard/src/com/android/keyguard/NotificationViewManager.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
fix build errors
Revert "fix build errors"

This reverts commit 1b753bc9e8170d9b119088d0322f4773d5bd75d9.
Revert "Lockscreen Notifications [1/2]"

This reverts commit e7c837fc93c45df0a89442baaabb1a9abe76493a.
Revert "LN: Patches"

This reverts commit c9539d7a65ec4d468e7e845a51597c09518bfaa3.
Revert "Update NotificationsHostView.java"

This reverts commit 29146d8c927c75b0b7568e99fb761af0c8ea0103.
Revert "LN: Make user notification count configurable"

This reverts commit 94c5ee826e2a9901b183cd09e08249c49c38a8b6.
Revert "SQUASHED: Add H+ Support and Update Lockscreen Notifications"

This reverts commit 734ad8924cb62378eb541325203740c052e78555.
Revert "Lockscreen Notifications 1/2"

This reverts commit ac7c614c86aa3c95cbda619a9fb793540ae92585.
fix search textfield

Change-Id: I1255434e1e42973afd8d9907459dcd8795e96c4b
fix number picker blue line and highlight

Change-Id: I473c855a0e2cd068e62cd2ec4b807c04215b1c81

Conflicts:
	core/res/res/values/colors.xml
Add double tap sleep feature to secure lockscreens.

In its current state double tap works on the status bar on unsecure
lockscreens this adds the feature to pin, password, and pattern
lockscreens.

 - pin and password: double tap the text entry view.
 - pattern: double tap anywhere on the pattern view.

Patch Set 3:
 - add to slide lockscreen(glowpad): double tap glow pad to sleep
 - update commit message

Change-Id: I70eeae4acaa61b44feab661082bcfdbac7b9dfc3
Signed-off-by: baked <travp624@gmail.com>

Conflicts:

	packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java
fix build round 2
corrected the color value
Frameworks: Navigation bar button color (1/2)

 - add color tint to navbar buttons

Signed-off-by: baked <travp624@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java