[1/2] Base: Lockscreen Notifications

PS11:
    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)

PS12/13:
    Lockscreen Notifications: Bring inline with AOSPAL implementation
    Lockscreen Notifications: Fix possible NPE
    [1/2 ]Lockscreen Notifications: make offset top user configurable & add privacy mode
    Lockscreen Notifications: Copyright
    Lockscreen Notifications: just scroll down in "showAllNotifications"

PS14:
    Lockscreen Notifications: Fix recognizing of settings update

PS15:
    Lockscreen Notifications: make width dynamic (WRAP_CONTENT)

PS16:
    Lockscreen Notifications: make animations a bit faster

PS17:
    Lockscreen Notifications: make dynamic width a device 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

    Change-Id: I210b747838b70fb64e6f0835b1cb42b31c9a199d

    Lockscreen Notifications: rewrite add notification logic

    There were some problems with notifications getting replaced while the user was currently dragging them.
    This commit should fix that by always waiting until animations and user input are finished before replacing a notification view.

    Change-Id: I6821a253e8620d1579e6e1dfa0e0d4571ae1af3d

    Lockscreen Notifications: dismiss all button, improve animations, cleanup

    Change-Id: I852829ef118b7d300ca54cfc7a87136015c6da88

Change-Id: I342b9fa6266c4c64f04121a8a2938de6532082b4

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