Hover [1/2]: original + vanirification

PA's Hover feature with some improvements and fixes to work on our
code base and with halo.

commit add33dbd1085b2ef53d4a01540cf8b5f9dba027c
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Sat Jun 14 15:32:40 2014 -0400

    Hover: rewrite basestatusbar and phonestatusbar inclusions

    phonestatusbar:
    The button animations code in phonestatusbar were poorly handled.  this harmonizes
    animations and eliminates unnecessary method calls.

    basestatusbar:
    this class was a shit-show.  the hover feature was always "on" even when it was not "on"
    which is kinda wasteful and bad form when you're trying to maximize compatibility with other
    custom ROM features and prevent future potential incompatibility issues. Halo was a good example.
    This sufficiently recitifies that until i can redo the rest of it.

    Change-Id: I7949b2563e3a681d22faa19e48a0a5842f9395f5

commit 1ba4fc5c06a32349136dd618ce31e86cf82ad698
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Sat Jun 14 14:40:24 2014 -0400

    Working state

    Remove blacklist dialog garglemesh and factor to our source base

    Change-Id: I7480a5dcef122e92bee6ddaf8c7b2eb555c1c525

commit 59bf10eb63490c989f302bae00dc599a0c2766fa
Author: BigBrother1984 <stevewatersy@gmail.com>
Date:   Wed Jun 11 09:37:28 2014 +0200

    HOVER: Fix a couple of things:

    - Handle Ticker properly. Update mTicking, call related statements
      and disable ticker for blacklisted apps only when hover is off.
    - Remove a bad patch when you release your finger, there is no need and
      along with showCurrentNotification() call at setNotification() can even
      be a bad call.
    - Notification removal is already done at BaseStatusBar. Remove useless code.

    Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
    Conflicts:
    	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

    Change-Id: I215e91f30c7ddbe78500fa3db5fb470ad50f252c

commit ca8f94f7b9502381513d69b0931a19a560eb2e42
Author: BigBrother1984 <stevewatersy@gmail.com>
Date:   Fri Jun 6 20:03:16 2014 +0200

    HOVER [1/2]

    Notifications refined:
    The way you handle with the incoming notifications defines how much you enjoy your device.
    Hover shows you those notifications when you need them in a beautiful card that briefly appears
    on your screen. For a detailed look of the notification, you can swipe down to expand some more
    info, or you can tap it to open the related app using PA’s floating mode.

    Introducing Hover:
    https://plus.google.com/107979589566958860409/posts/DC4KyDd1cDC
    https://plus.google.com/107979589566958860409/posts/BtWoGpNd8Fq

    This is revision 4 of the original base by @D4rKn3sSyS . Hover works by moving the
    notification view from statusBar container to Hover’s one and re-themes notifications
    in the process. When hover is active it is the owner of the view, special care must
    be taken to not  manipulate the statusbar reference while hoveris active.
    Hover’s view state is managed by a handler based timer. When any touch event is received
    or a gesture completed the timer is restarted, upon expiration of the timer hover is
    hidden or will show next notification in the list if there is one (or more) to show.
    The timer along with animation listeners  regulates the rate at which Hover can process new
    notifications, acting as a spam filter for noisy applications. Upon first run a dialog is
    displayed explaining Hover to new users. More infos in code’s documentation.

    Todo:
    - Swipe up to dismiss only the hover window not the notification in status bar.
    - Transparent support has been tweaked a bit but needs a more proper solution
    - Edge gap fix for Theme Engine themes overriding notifications draws
    - Long press action(s)
    - MInor tweaks noted in the code’s comments

    CONTRIBUTORS:
    @D4rKn3sSyS
    @BigBrother1984
    @Anu6is
    @beerbong
    @aaronpoweruser
    @David96
    @linuxman94

    Drawables by @arzbhatia

    Signed-off-by: Jesus David <jesdga95@gmail.com>
    Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
    Signed-off-by: Curtis Mayers <curtis.mayers@gmail.com>
    Signed-off-by: Yamil Ghazi <stevewatersy@gmail.com>
    Signed-off-by: Aaron Gascoigne <atlrudeboi1@gmail.com>
    Signed-off-by: David L.-W. <david.leppla.weber@gmail.com>
    Signed-off-by: Evan Anderson <evan@thelinuxman.us>
    Conflicts:
    	core/java/android/app/INotificationManager.aidl
    	core/java/android/provider/Settings.java
    	packages/SystemUI/res/layout/status_bar_expanded_header.xml
    	packages/SystemUI/res/values/pa_dimens.xml
    	packages/SystemUI/res/values/pa_strings.xml
    	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
    	packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationHelper.java
    	packages/SystemUI/src/com/android/systemui/statusbar/notification/Peek.java
    	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
    	services/input/InputWindow.cpp
    	services/java/com/android/server/NotificationManagerService.java

    Change-Id: I7476f8886746a5b5934e9138bccd6ba2ef49feb5

Change-Id: Ia6716d6c974b28b5a18e5f52e043e4b2722e3d4c