FW_Base [11/21] - SystemUI: Fix missing top task in recent panel

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

atken from cm11

Change-Id: Idc9e98cf0253e513f45b39068b73e259759a34f8
Signed-off-by: Stefano Mura [STELIX PippoX3] <ssspinni@gmail.com>
FW_Base [12/21] - 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
PS.26 : rebased

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/app/IActivityManager.java
	core/java/android/view/IWindowManager.aidl
	core/java/com/android/internal/app/ActionBarImpl.java
	core/res/res/values/custom_strings.xml
	services/java/com/android/server/am/ActivityStack.java

Change-Id: I706b64c91d956bbc31794b7e78365bb64988497f
Signed-off-by: Stefano Mura [STELIX PippoX3] <ssspinni@gmail.com>