HeadsUp: Respect system decorations when adding view.

    - FLAG_LAYOUT_IN_SCREEN ignores system decorations, so
    a heads up view in landscape would end up underneath the navbar

    - FLAG_LAYOUT_NO_LIMITS allows the window to exceed the screen
    limits all together

      Removing both these flags makes Heads Up respect both system
    decorations and the screen limits.

Change-Id: I6f111e1c5701d493979be0cb596f11bc1b437fda
SystemUI: Improve HeadsUp expanding performance.

Change-Id: Ifd31caca6d2eb2432772b6a63f6b545f8288f449
HOVER: Don't process and/or show foreground app notifications
- Don't show notification of foreground app
- Animate the ticker in this case so user can see it

Inspired from changes linked here https://gerrit.paranoidandroid.co/#/c/4453/10

-----------------------------------------------------------------------------------
@cristianomatos: keep foreground app as an option in settings along wit this patch
-----------------------------------------------------------------------------------

Change-Id: I67844becf20375564029f39377a542da81c6a1fc
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: Arnav <nolinuxnoparty@vanir.us>
Slim Recents: Option to show topmost task [1/2]

Change-Id: I980051287239fc9aef8dabae612a3f74ca9af6be
Slim Recents: Always show topmost task collapsed
PS2: Also restore expanded state of topmost task when on homescreen
PS3: Fix code style

Change-Id: Idb1d7912097175557e52109cca1d720d5d819bda
SlimRecents: Rework show top most task feature

recently introduced this feature needed a bit rework. Basic changes

- do not call settings provider on every preload to prevent high IO work.
  Use our observer for that
- Use internal flag logic to mark topmost task
- Move interpretation of the expanded state into the card
- Due that topmost task is always collapsed do not show expanded icon at all
- Minor cleanup

PS:
- set mFirstTask to null if it is not used

Change-Id: Ifaabc035b6b9bd2d4527d5b34a1bca9c80a74e32
Hover: underp tick not animating when app is blacklisted

Change-Id: Ia310b8b90e9cea9928e1ad076fae7bd19ea25f28
Signed-off-by: Arnav <nolinuxnoparty@vanir.us>