[WIP] Multi-window

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.

Still are some issues with rotation handling - touch an app
after rotation to make it relayout.

Enjoy :)

Change-Id: I4a03a84539fd3ac1273f0d3503fe8fafcd16be26

Conflicts:
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	services/java/com/android/server/am/ActivityStack.java
ActivityTrigger:  New class to invoke when activity starts/resumes

Change-Id: Ib57aa4d3767e27b5bba658b27e084fc3ef042c36

Conflicts:

	core/jni/AndroidRuntime.cpp
	services/java/com/android/server/am/ActivityStack.java

Change-Id: I1b4c9b9fd873a3a5e60c1e489cff22edea7339e1

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
MultiWindow: Clicking on app Icon in Recents will add to split view
Faster than long press that way

Change-Id: I75c4408c4a0e2eaf55de6fbeb2d72e601e38a417
MultiWindow: Add Switch to splitView actions

Change-Id: I60778ef9e1c079aca00529e8b2a4722458f0181f
Actions: Add display Recent application screen + Switch To Previous App

Change-Id: I4e7bc67bf0f18e6df9862cedaca0e0a459fb8a68
Utils: misc MultiWindow functions

Change-Id: I442252c4dea68107473c644c079afb7f85f5d1d5
MultiWindow: Clicking on app Icon in Recents will add to split view (2/2)

Was missing for Vertical mode

Change-Id: I1e5edaa12fd35c9069b336939500d2770d6c1a1c
MultiWindow: Add Switch to splitView actions (2)

Use only one method with autodetection for switching
Fix switch when there is a previous task already split

Change-Id: I1d2c49ab631cb3176ae2ef9eb9afc63e24924abc
- NavBar: Add Button to switch to Previous App and between splitview/Fullscreen

Make KeyButtonView Generic to accept any actions as Click

Change-Id: I7758199fa299077cda979d0cf6d979197d83c1f4
MultiWindow: fix autoswitch from full screen to split with multiple activities

+ add logs

Change-Id: Ie6e000b96c5f3cb8d81d6c25c8cb57b45d261564
Change switch_toprevious_task icon in NavBar

Change-Id: I8eb680d9db5b05279a8212c50bbf52165bc71a9f
MultiWindow: Add Workaround for apps that don't relayout cleanly

=> Forces a delayed switch back and forth between apps to generate a relayout.

Change-Id: Ife389b3f02e1190eea642cc2d7d7810776267498

MultiWindow: Disable anims during switch

Change-Id: If8757357a26a648f5f210fa363a05820e66b26d6
MultiWindow: refactor

Change-Id: Ifca1274f9280e83eb7b66f69dbc6e4a71805b5fd
DateView: fix NPE

Change-Id: I3333892528bd4c92c3b9d5c3c685ec2d76beefc0
MultiWindow: Change animation deactivation mecanism

Change-Id: I86c6e79002091781824d7338e03118d427970989
MultiWindow: Add Icons and Actions to choose for SplitView location

Change-Id: I754cccccba4359ef0fbd5a5a1ce6990310d2dde9
MultiWindow: Allows to preset slot for an app that has been closed

Change-Id: I112d3fa5c806e04bfa9dfa7473a6c6b1636c5c1d
MultiWindow: Add specific icons in recents for vertical mode

Change-Id: Icbf1f35dda4c8fb6b7cab8a10588faeae78c9472
Add Expanded Desktop Actions

Change-Id: Ia747fb460655f15149f5ea95368c6b3376bd1043
Actions: add showNotificationPanel and showQuickSettingsPanel

+ Fix incorrect ExpandedStatusBar option for PhabletUI

Change-Id: I8efce6df2149f13e317a8b5f95771ec31cdae80d