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
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)
Merge pull request #49 from Anu6is/gestureFix

Fix vertical gesture touch calculations
HALO bugfixes

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

Change-Id: I04637a5ae96c3d9fa30188a320e13989c48f7f0c
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.
Halo: Fix icon position in tablet status bar
Fixed xhdpi status icons. ~ Arz Bhatia

Change-Id: Ieefae1fad2e6406d78ec4438e22493e53eb65ccd
Merge pull request #47 from corcoran/jellybean

TEST: Fix floating window activity result cancellation
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
PrivacyGuard: New icons close to AOSP style
HALO Size (1/2)

Change-Id: I2780dfee66b0b80b57c62b83c40609104fe3c279
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.
Merge pull request #51 from corcoran/jellybean

FLAG_ACTIVITY_NEW_TASK re-added to floating windows
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
Merge pull request #54 from Anu6is/hideHaloIcons

Completely hide Halo))) icons while tasking. Complete this commit: a404d6eaf9206fc658f050ccc2d974a589edfe3b

Thanks @Anu6is
Halo: Merge new icons order in expanded Pie notification shade
Better Icons II & White Halo Toggle

Change-Id: Ic299f16fccdb47001713b49ed3f85c25bf10a743