HALO cleanup & better drawables

Change-Id: I7afb5f1e473e9611059e1ea2acfaa9d307696449
HALO hide bugfix, smaller numberbatch still

Change-Id: I5a94e0a7c39a7369cae2b0cabdbe8696eb15dbc5
HALO new vertical gestures (NOT READY FOR RELEASE)

itroduces step gestures

-- Clear all notifications
-- Clear current notification

(*)

-- Hide HALO
-- Silence HALO until woken

Change-Id: I4b5bb7ec612dc0eb1d95e970348b15fba1d79df0

Conflicts:
	packages/SystemUI/res/values/strings.xml
Fix floating window activity result cancellation

Setting Intent.FLAG_ACTIVITY_NEW_TASK on *all* floating window intents
will result in Android dropping activity results for non-new task
activities trying to get results back.

Cheers,
SlimRoms

Change-Id: Ib125bd03733dc73859f7426150110d88319f7625
HALO clearall/silence (STILL NOT READY FOR RELEASE)

but working ...

Change-Id: Ie1c25f4ad60d2fac6321417c6fcf93e3dccd9d93
HALO clearall-fix + dismiss icon (READY, BUT NEW STYLE IS XHDPI ONLY!)

Change-Id: I5d47a2dda9139445503f4e93f9a72c02b48cb88d
Better strings

Change-Id: I8e1c97d9ab8df29947e672a214ca006f1f26ba1e

Conflicts:
	packages/SystemUI/res/values-es/strings.xml

Conflicts:
	packages/SystemUI/res/values-es/cm_strings.xml
HALO cleanup & clearall-nap

Change-Id: I05e45812fa10e3f6b3818ac4a96d94c7d0d5d125
HALO: make a trusted overlay

Change-Id: I009be0361c73ec536277641d235b0c495bc43db6
Fix vertical gesture touch calculations

- Silence HALO touch point was below the Silence HALO marker. (fixed)
- Dismiss (single) notification could be activated while still touching HALO,
  before reaching the dismiss notification marker. (fixed)
HALO bugfixes

1. some icons were overblown
2. tasking meant having your thumb on the speechbubbles

Change-Id: I04637a5ae96c3d9fa30188a320e13989c48f7f0c

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Revert "Fix vertical gesture touch calculations"

i can see the code isn't exactly clear in that regard - it seems like a
miscalculation but it was made to give items enough space to make an
easy flick possible. with a more correct approach it feels a lot harder
to just flick a "hide" because the space is so small, it'll more often
be a "slience" instead.

if you like we can look over the code together and implement a clean
implementation of that UI logic.

my g+ mail is drcmda at gmail.com you can add/contact me there if you
like.

This reverts commit 8cf0d5c62d5fa6c5e8fa51b8273893d32c5b787e.
Revert "HALO: keep apps in recents"

This reverts commit a71ceec36974cf2fb272943cbd8ad3b3533acc28.
FLAG_ACTIVITY_NEW_TASK re-added to floating windows

ActivityStack modified to not cancel results if window is floating and "new".

Change-Id: I45f3dcc816092daa4192be91828592a0b2b2ac59
Gesture Fix v2
- Add a buffer between the bubble and the first up marker,
  reduces sensitivity of UP1 gesture preventing accidental notificaion dismissal
HALO Size (1/2)

Change-Id: I2780dfee66b0b80b57c62b83c40609104fe3c279

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/dimens.xml
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

-ToDo: When tearing up the Tablet status bar Clear-All button shows for a moment if no notifications are available, but only the first time. A minor issue, will be fixed as soon as we can.

Conflicts:
	packages/SystemUI/res/layout/system_bar_notification_panel_title.xml
Halo: Avoid showing Halo))) icons in status bar while added to Halo (Credits @Anu6is)
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
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