Floating Window: Welcome back

* Port squashed jellybean floating window to kitkat.

Floating window contributors:
@drcmda
@beerbong
@D4rKn3sSyS

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Merge notification manager service changes.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: If3d6338f657915754bd6cb9cb987df62c17aa6d0

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

Conflicts:
	services/java/com/android/server/NotificationManagerService.java
Launch floating notifications from notification panel (long click)

* Status bar - long click on notification select 'floating mode' option

Change-Id: Icf2915cf71f07d19cf8179ee5e561891b0a78e77
Signed-off-by: anerikg <anerikgames@gmail.com>

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

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/values-es/slim_strings.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	packages/SystemUI/res/values-es/slim_strings.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
FW:Notifications Cleanup need with previous FW notif original commit

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/values-es/slim_strings.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
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.

Port from here: https://github.com/ParanoidAndroid/android_frameworks_base/commit/f489f45ab2ba5dd4991c241917f7f4b0fd74b884

Change-Id: Ie6d6f46b2e23be60f991520ed480c2866fb2d0e3
Dismiss IME when floating window is dismissed

Previously the IME would be stuck on screen if the
floating window was dismissed while it was showing.

Original id from PA gerrit -> Change-Id: I8ca61b07ed89bae85eabd8db23f87b6f1f0b179f
Signed-off-by: Evan Anderson <evan@thelinuxman.us>

Change-Id: If38e65f61ba309d22306bf4b37c3c55630c006ed
FW:more fixes and clean up
SlimRecents: add floating window menu
authored by: lion0738
edited matthew0776
remove objects
[1/2] Add network stats to status bar

Also includes
http://gerrit.aokp.co/#/c/13356/
http://gerrit.aokp.co/#/c/13360/

PS2:
Get the time delta between updates and use that to show
average bytes per second.

Change-Id: Ib06a713e6d93649ae8c8e5be5fd62c4f44a48416

PS3:
Code cleanup, change default text color and size to fit
AOKP and add ability to change text color.

PS4:
Fix up layout for cleaner spacing and add for tablets

PS8: Moved indicator before status icons

Change-Id: Ie3cdb038fecfe8cbb9b7a670c50dc7ebd22690e1

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/dimens_custom.xml
	packages/SystemUI/res/values/styles_custom.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java

Conflicts:
	packages/SystemUI/res/values/slim_dimens.xml
	packages/SystemUI/res/values/styles.xml
Network stats: Improved codes

* Format speed text using Formatter.formatFileSize
* Set speed text to empty if speed below 1 KB
* Don't do unnecessary things if network stats is disabled
* Address appropriate task for each intent
* SettingsObserver should only observe settings part

Change-Id: I02f7bbb3f911569d2227e3df21e5c72456a157c4
FB: Volume panel background color && transparency [2/2]

Allow user to specify background color and transparency level
    for volume panel.

Change-Id: I23a09d302fe090fe4aed6dd9024c73056d14fba1