Revert "Add option to open notification in floating window"

This reverts commit e2a5c2ca27732fdab0d944eb91f0babbbdf9abfd.
Revert "Base: Floating window with multitasking"

This reverts commit 87e050d3a1e165ec9bc1416948ca9b0e3eb79189.
Revert "Base: App Circle sidebar (add support floating window)"

This reverts commit 746a7f28ec0212fd0101a06d36a4297fa8051ece.
[WIP] Multi-window

[[[ USE PS 18 IF YOU WANT TO TEST - WORK IN PROGRESS ]]]

This is a big work in progress, which currently has some bugs,
but begins to look okay.

You can already multitask a little bit, by using the
app switcher and long-pressing an icon, then select "Add to
Split View".
Last window touched gets the key focus.

Code is very ugly, I know. Don't merge it, don't use it
for now. Unless you want to make your code ugly.

Enjoy :)

PS 22: rebased

Conflicts:
	packages/SystemUI/res/values/custom_strings.xml

Change-Id: I4a03a84539fd3ac1273f0d3503fe8fafcd16be26
Base: Floating window with multitasking

basic floating window are taken from AOSPA (HALO) by @D4rKn3sSyS

Drawables courtesy of @Alex Cruz thanks to him :)

with heavy change to get this work for multitasking

this feature, has ability to:
1. Moveable window to various position
2. Scaling window with 2 finger like zoom in/out
3. Double tap in actionbar or above window to fullscreen or back to floating window
4. Automatically resize when Snapping into one of side (Top, Bottom, Left, Right)
   (taken from xhalofloatingwindow by @zst123)
5. Automatically switch focus from other app (taken from multiwindow by @xplodwild)
6. Unlimited floating window app (depends on RAM)

this is still under testing, to make fully works
so if there any bug because of this, DO NOT REPORT INTO OMNIROM JIRA

to make app launch using Floating window feature

you must add Intent.FLAG_FLOATING_WINDOW
before start an activity

for example you can look at https://gerrit.omnirom.org/6515

need https://gerrit.omnirom.org/#/c/6561

PS.17 : fix scaling
PS.18 : fix layout calculation when rotate
PS.19 : support minimize/maximize window (see App circle sidebar)
PS.20 : fix previouse app
PS.21 : rebased due to changes in 4.4.3_r1.1

Change-Id: Iad00c239de7d66e8bb45205ce626d4f08417b7cd

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/app/IActivityManager.java
	core/java/android/content/Intent.java
	core/java/android/view/IWindowManager.aidl
	services/java/com/android/server/am/ActivityStack.java
	services/java/com/android/server/wm/WindowManagerService.java
Base: Floating window <> MultiWindow

use this patch if you want to merger Floating window and multiwindow

Change-Id: Ia30ea5beb1993908bd58d785f4174b3b93a3961a

Conflicts:
	services/java/com/android/server/am/ActivityStack.java