[1/2] Base: Lockscreen Notification

Change-Id: I342b9fa6266c4c64f04121a8a2938de6532082b4

Lockscreen Notifications: several fixes

- fix notification not responding when removed and added in a short period of time (e.g. gravity screen start/stop)
- just unlock screen on notification click when there's an activity to start
- fix notification hide animation
- just wake screen on reposted notifications when it's not ongoing (wake on notification before made the device stay awake for ever when a download/countdown or something similiar was running)

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

Change-Id: I094b7136f5eef248b53621a619f6919beb12157b

Lockscreen Notifications: just scroll down in "showAllNotifications"

Lockscreen Notifications: Copyright

[1/2 ]Lockscreen Notifications: make offset top user configurable & add privacy mode

Change-Id: Ic5fb8f0f7d714ae0c0c439d62cae713205f09c82

Lockscreen Notifications: Fix possible NPE

Change-Id: Ib2cc0e9f4e133e6b19f7654cb286322b4741984a

Lockscreen Notifications: Bring inline with AOSPAL implementation

Change-Id: I57a16f9a20114831e4573539ad6640c028a6014d

Lockscreen Notifications: Fix recognizing of settings update

Change-Id: Ib0a10c9880eee75f02384acd0b6496ead846bde5

Lockscreen Notifications: make width dynamic (WRAP_CONTENT)

Change-Id: Ie53bd3959a35ae03596978ceb05728d6b63842a0

Lockscreen Notifications: Lower alpha

Change-Id: I9d005bbab0614a539c1c302ee4bbde30ad3dd658

Lockscreen Notifications: make animations a bit faster

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

Change-Id: I8faa0cd525fb1e303c6eec9c67b6b4bd3cc8fd2f

Lockscreen Notifications: Respect Quiet Hours

Change-Id: I9e80dee51b1db7654da3ee639aca9a881aca644f

Lockscreen Notifications: Use QuietHoursHelper

Change-Id: I4ff8b7b66e49eafe5fa7d184ff1343345e37603e

Lockscreen Notifications: fix notifications disappearing on orientation change

Lockscreen Notifications: disable dynamic width for devices <= xhdpi

[1/2] Base: Lockscreen notifications: Option to disable dynamic width

Change-Id: I1e52e2fe9d3f989db2d8e3f6cba75cf95fddcd4e

Lockscreen notifications: Show all notifications when waking device on incoming notifications

Change-Id: I6e03673a197ba172caf6d00118897038c37a9790

[1/2] Base: Lockscreen notifications: Allow apps to be excluded from being displayed

Credits to 0xD34D / ChameleonOS for the original implementation for Active Display

Change-Id: Ie0df1faedb275b1cf131d75d69d9d9cafc828dd9

Fix ongoing notifications reappearing when hidden

& some small animation tweaks again.

Change-Id: I1420424bca89a62ba824a13856e21c45c6bbe1f8

Lockscreen notifications: Bring inline with AOSPAL implementation

Change-Id: I7d77f48cddd3db581410402d470469282231d9ab

Lockscreen Notification: fix default settings derp

Lockscreen Notifications: fix phone turning on in pocket

Lockscreen notifications: Fix pocket Mode

Change-Id: I7c69eea0e6d8403b9ea65e85494af90840a4ee8a