multiwindow/display apps in dialogs

first draft. after much trying i found the one single combination of flags that
makes it possible without trashing the actionbar or getting crashes.
its hardcoded for mms, chrome, gmail, gtalk and recents. --> for testing ofc

we need to track down why it blacks out the background. a slight dim and we're
pretty much done - then we just need to add intelligent triggers to make it
happen only for notifications.

Change-Id: I18f1eab3ad199204df384fdb7e7ad8a709e1f7fe
multiwindow: first working draft

Change-Id: I9d645af2d6f92c8fe1859b7ceb6366fef127a796

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

- activity->dialog: solved
- fullscreen animation: solved

Change-Id: I1049fb6ba8739774762e3108747b3f2471b61971

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
multiwindow: badparcel exception

Change-Id: I0623d74d69b35cf9ba81b9733c4a9ab8a7d473b1
multiwindow: FLAG_MULTI_WINDOW

Change-Id: Ifbb6bf5ad5cca5d72f6f44d1ae28890f013ad0c1
MultiWindow: halo launcher

Makes a new imageview from the app icon to triger the event
TODO: handle moving and passing touches

Change-Id: I3bf5e7673f233b9c6b9c8cca0ebd0ecb3174dc7e

Conflicts:
	packages/SystemUI/AndroidManifest.xml
multiwindow: correct actionbars, dynamic windowsize depending on screen and portrait/landscape

Change-Id: Iab8c70a8cce4b614019e07a3e1e280dc8f7c8005
multiwindow: fix some flags to enforce task re-loading

Change-Id: I20b9bf1d7a9fa4bf905974b157a68666f97f7050

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
multiwindow: climb through history stack to take care of intents within intents

unfortunately mms still leads back home because it starts an unrelated intent
via the NEW_TASK flag, which is stupid. we can take out its flag and it'll
probably be fine.

Change-Id: I643849637b28c6d42b52d6c40f7a62a5541bd61e
multiwindow: light/dark theming, flags

Change-Id: Ib9650996aaec69d78d854cb5f1de02ec00fcf78c
multiwindow: mms doesnot jump home, facebook ends on tap-outside

Change-Id: Icb161f26f751b2e366e29c94e29fcd3b1868586c
multiwindow: multiwindow minds activity/stack life cycle

Change-Id: I43efd5df5e43ec677421e488f178129ab975050e
multiwindow: fixes activitystacksfor onHomePress, GMusic does not stop music

Change-Id: I7a904247781b8772b7de9d71e3bca7a8a8732943
mw: mess

Change-Id: I8b5ccd6c1c4211764160bc54b65032819a259921
mw: ticker

Change-Id: I493dce5a28fffa9c4c9ace6973fcb0c041218f33
mw: ticker

Change-Id: I3868e1f3d85057ae0992fe969413d7c4b53b2e4d
mw: draghandler

Change-Id: I4b1c56cf7e92008bbca5b84547c599547573f032
first animations, draghandler stable

Change-Id: I0d546d08262ffc402d802d5954cefe7242f84251
animations, frame, icons

Change-Id: Ida9ab729741a9889a891d88afa7ae9bd8243fc99

Conflicts:
	packages/SystemUI/res/values/dimens.xml
faster animations,

Change-Id: I42ed1e2e7967b7c9d84c42b1a5d4d041fc31d07e