FW: LS Notifications: Add "Show all notif" NavBar Button

from: https://github.com/AOSPAL/android_frameworks_base/commit/4325a110af58e6b1c7e1005a9f1f2576bbad5e60

PS2: message & Author update
PS3: Rebased & remove unrelated changes

Change-Id: I67456db4f9728fefbabc9da9c290d070021705b4

Conflicts:

	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	packages/SystemUI/res/layout/navigation_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

(cherry picked from commit 69d8133c029f68d9414554a7c5832e59181b21d3)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Notification:  Lockscreen Notifications: dismiss all button, improve animations, cleanup

Change-Id: Ia8ac73e2753d61a2856c5cee8d38e3a090a0e73d

Conflicts:

	packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
	packages/SystemUI/res/layout/navigation_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

(cherry picked from commit cf3d5a2b5c814923de248834130321a2ec6c736e)
Notificaitons: fix show/hide of show all button

& fix endless SystemUI FC when SystemUI is Killed

Change-Id: I1bcb11ea09979bfe2c72beb260e8e78124c4c86d
Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

(cherry picked from commit fdcfe2c2e5a437ea10ceeafd99fc7624711b80fb)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Notififications: Fix NPE

Change-Id: I8cd547abf384098aa33d53312815f84cd3ee6479
Signed-off-by: hany <hany.alsamman@gmail.com>
(cherry picked from commit 81e90eba21b22b39113c0543cef1f84e52c7d61e)
Notifications: try to fix occasionally SystemUI FC on boot

Change-Id: If21f3810444919a36a5ad2ce9027c9cfb0c71ba1
Signed-off-by: hany <hany.alsamman@gmail.com>
(cherry picked from commit 8967100e6fc49217f2dd3b5f03ab8dd037a0987b)
Default OFF for pocket mode & show always

(cherry picked from commit fe14368a5ec54f965272ad17795a231a90b6f73c)
[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 :)

Change-Id: I4a03a84539fd3ac1273f0d3503fe8fafcd16be26

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
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	services/java/com/android/server/am/ActivityStack.java
	services/java/com/android/server/wm/WindowManagerService.java