Halo: bigass squash of fixes and updates

Contains:

Halo: Icon reorder in Phone/Tablet status bar (fix repositioning after flips)

When tearing down notification panel halo is near quick settings button (no notifications present). When you flip to QS panel and then reflip to notification panel Halo icon change position, moves to third icon layout (as when clear-al button is there) from right instead to stay in the second one.
Icons layouts are reordered and fix this behaviour. From left to right:

Clear-All button // Halo button // QS button.

http://goo.gl/n1GjU

Change-Id: I95fa3585004a50bccf8a8c85ef5c4ed4dca51601
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Kill floating activities running in the same thread when tapping outside
This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Change-Id: I3c51eafdcee7032fa90876411da3ff1eae0106c3

Signed-off-by: Dan Trifan <jimsth@gmail.com>

Some changes

Change-Id: I3a9befc64915fbba9b9bbe421a936f3ef5d63906
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Completely hide Halo))) icons while tasking
- previous commit by BigBrother1984 stopped the highlighting of Halo))) icons
  this should remove them completely. Other status bar icons are still highlighted

Signed-off-by: Dan Trifan <jimsth@gmail.com>

Halo: Merge new icons order in expanded Pie notification shade

Signed-off-by: Dan Trifan <jimsth@gmail.com>

Grey HALO icons

Change-Id: I6846cc85496d7dd4d9e13b04eedd2b975db1bd25
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Gesture Fix v2
- Add a buffer between the bubble and the first up marker,
  reduces sensitivity of UP1 gesture preventing accidental notificaion dismissal

Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO new transitions for number batch

Change-Id: Ic3d24643754f00c512cdbb288ed9fc0e848f17a9
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO first_start tutorial & gesture dead-zone

Change-Id: If21f48444f5e57ec9aeffa74027c8bad1e84af56
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO NEW ICON SET (XHDPI ONLY!)

Change-Id: I83f6bba92c14688a98c09a4722e195b6b01ce93b

Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO dismiss/flip fix, clearall/last-notif-empty fix

Change-Id: I56eeb6891af2130584620d9bc596c3f0295f2402
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO first-run turorial less choppy + overlay

Change-Id: Ib33798ae6e2f36305c07556e32206d86809a8ec0
Signed-off-by: Dan Trifan <jimsth@gmail.com>

derp

Change-Id: Ia8312827ede988cb754aab8cf6e3667e49f56a5a
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Add HDPI And MDPI Icon Set For HALO!

Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO bigger update

1. gestures icons without outlines
2. completely re-done speechbubbles
3. empty red batch says M for message
4. speech bubble is animated and moves around
5. new batch animation when gesture is active
6. dead zone buffer fixed
7. empty notification text fixed (with app name for now)

Change-Id: I85cca0240827aabb5f5f773ace24222bf711945d
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO: Update HDPI & MDPI icon's

time to refresh these outdated icons

Change-Id: I60b86f4325210dab9016fc78039f1f20f26e9e76
Signed-off-by: Dan Trifan <jimsth@gmail.com>

derp

Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO black toasts, italics, blue text

Change-Id: Ib437b46790d1455612f2e8740b4b87bdb082af73
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO batch envelope icon for non-numbered items

Change-Id: Ibaac6d7320cd47a67d4f406a9c82446f0b02912a
Signed-off-by: Dan Trifan <jimsth@gmail.com>

add: HALO batch envelope HDPI and MDPI icon for non-numbered items

Signed-off-by: Dan Trifan <jimsth@gmail.com>

derp

Change-Id: I5f9cf5f2603e9dd0e799ae0391f206a1d2c4ca58
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Halo: Update toast images and back to normal text.

Change-Id: I6abb76849bacf44734ae5a89ab34062d018be874
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Typo

Change-Id: I93e14e5dea0481fbe712d3777abfab37b19958ad
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO bugfixes

- missing red batch fixed (one hopes)
- clear-all last one remaining fixed
- restart auto-hide won't trigger fixed

Change-Id: Ifc88fbb4d1afe222859aa297310b61c60880c474
Signed-off-by: Dan Trifan <jimsth@gmail.com>

Derp

Change-Id: If9755f56915ea6fb6ee0b270fbb4518f330cfa11
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO: speech padding updates

Thanks daxx

Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO vibration fix

Change-Id: I435587edc9a2a20ca3e179ea4ed1331f69151243
Signed-off-by: Dan Trifan <jimsth@gmail.com>

HALO: fix the integer division bug

The newHeight is calculated by an integer division, which leads to an
ugly bug. E.g. a 95x96 image will get a newHeight of 0 because
(95 / 96 * 113) equals to 0. This will lead to a SystemUI FC.

Fix it by multipling first and dividing afterwards.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Change-Id: I9c677d6da8c4296a148c1212077c6fb96a383fa4