Slim Heads up: change behaviour of back key

Currently back key hides the heads up. We change it that the back key is still
working for the app which has focus and not for the heads up at all.

Reasons:

1. A lot user requested this due that they often hide the heads up during they work
   on the phone, simply due that the back button is often pressed on a normal workflow.
   The results is indeed that a lot heads up windows are missed excidentaly.

2. First I thought to make it optional. But there is another big reason to do it this way. Current
   behaviour is that the heads up view gets focus...and that we dispatch the back key only. Thing is
   that other key events are still rooted to the heads up window. Well most things a user will not see.
   But eg on apps with input field some keys on the IME keyboard do not work during the heads up is showing
   which is a big no go when we assume that heads up needs to be as much non intrusive as possible.

That being said we remove the dispatch override and give the heads up window FLAG_NOT_FOCUSABLE flag
which will bypass any key events to the window behind which had focus before the heads up showed up.

FLAG_NOT_TOUCH_MODAL we can remove due that FLAG_NOT_FOCUSABLE automatically enables the FLAG_NOT_TOUCH_MODAL flag.

Change-Id: Ied4c7d2dd5b99f89af958f01db980a36d431bbc3
Heads up: Update snooze drawable:

- Use a flat background, icon and "text"
- Use the background color from notifications for the snooze background, too,
  (especially the pressed background, no big difference for normal background)
- Make the drawables larger,
  (in my opinion the drawables are a bit to small, so use a smaller transparent "border")

Change-Id: I550d04ef618530412e9c8b3927fd0a266277e497
HeadsUp: Only remove heads up if attached to window
Attempting to remove mHeadsUpNoficiationView from the window manager
when it is not currently attached will throw an IllegalArgumentException
so we check if it is attached and if so remove it, otherwise carry on.

As well remove possible left children in statusbarview

Change-Id: I11be5bef3f0df58d296786453e20c4b9133e8cb8
HeadsUp: Correctly add and remove the window
isAttachedToWindow() basically works to determine if the view was attached or not.

But on the boot up process when already addHeadsUpView is called but the system is not
fully up and a recreation happens (eg on TRDS...due that the UIModeManager is doing its work as soon as system is ready)
the view gets attached....but not removed on the recreation due that at this time isAttachedToWindow() will return false even though the
window was added.

To solve simply use a boolean instead of isAttachedToWindow()

Change-Id: I58fcc991a87cdc67aecdf738fddf7892e0ea7f44
Framework: Disable HOVER when using Heads up for an app

Change-Id: Id1e0fb294126cfff956ecb1ce28da3162fb36114
Framework: Add FLAG_HARDWARE_ACCELERATED in Heads up notification

Change-Id: I80b52a88bc8280dd5bd829cb6852f2fbfe93ef02
Framework: Disable Heads up in Lock screen

We already have Lock screen notifications

Change-Id: I257b962b67bb25bc9ce5be76144e2c866d7568cf
Base: Allow hiding notification icons
When long pressing a notification, add another menu
item which allows the user to hide the notification icon
(but keep the actual notification in the dropdown).

This is meant for applications which have services running
in the statusbar which the user is aware of, so right now
we hide the icon by the package.

PS1: * rebase "fix conflicts with recent merges"
     * cleanup spaces
     * Add string discription

Change-Id: I13993641adc24881d63eef934d11f3ef2f16c4a6
Framework: Use Heads up direction bool to define when dismiss or hide HOVER notifications

Change-Id: I13a762784405b55fabfd0bf195785f20e6c7ac4c
Framework: Master switch for Floating mode [1/2]

Add an option to launch notifications from HOVER and Heads up in Floating mode

This commit reverts "Framework: Launch HOVER notification in fullscreen [1/2]"

Change-Id: I97fd0b122a9f189f176f9f2ced26c1c08a1e4eca

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Framework: Change Lock screen target dialer shortcut to Stock Dialer

Change-Id: I0431c1b4696d88fd9a822753c7edeadb57421015
Filter Notifications : Adjust string

Change-Id: I03c063d17f052d685494ca66e74450b45d616429
Framework: Make incoming call screen style configurable (1/3)

Change-Id: I50cbe28edbafa0c08b4cdbaec6b226907db5d149

Conflicts:
	core/java/android/provider/Settings.java
SUPL early data connection fix

if GPS started before data connection is alive, SUPL will be broken for entire power cycle.

Change-Id: I0486ac5e62a2d4a7da14506e3dd8e78da42f405d
LN: Please don't die

Change-Id: Ic37a29f1f404e3e826d9b745e2634e2fbdabfd54
LN: Some fixes & cleanup
- Fix bug that the notification is launched when a button on it is pressed
- Show new notifications first

Change-Id: I3892ac547cc574ba0cdec3a39f41d8b2e16dd642
Framework: Fix Statusbar showing Clock when it's disabled after unlock

Change-Id: Idf57cf13e427ab29f9d72ed248d36c1783ce09a1

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java