Frameworks: SlimRecents pass gesture detector to the cardslistview

see this commit https://gerrit.slimroms.net/6469

this fixes broken gesture detector

Change-Id: Ifd28e7e570808ade0494c7015c50c01c344d8741
Recents: Fix showing of main or alternate clear all.

Recents: Show clear all button when needed.

* Temp solution till hybrid is back :)

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

Recents: Fix logic derp.

* That's a boolean, when you do things in editor :)

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

Recents: Fix the logic for showing PA or alternative clear all button.

* I was informed wrongly, is almost the opposite that should be done.
* Cleaned up the ugly implement.

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

* Fix logic on pie disabled

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

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java