SystemUI: add Weather display to status bar header (1/2)

Signed-off-by: Roman Birg <roman@cyngn.com>

requires: android_packages_apps_LockClock

Change-Id: Ic2fea861c36f405d8a0e64cc9224f47088ac6351
SystemUI: add quick settings pull down with one finger

Logic is currently set to use 1/3 of right hand side of the statusbar to
trigger a quick settings quick pull down, quickly.

Change-Id: I3f536496f724f07d2419a5b2db5fa8f8261609e7
Signed-off-by: Roman Birg <roman@cyngn.com>

(cherry picked from commit f2ce6f5cc21aac4b1dd1c80b8c9b970d383264f4)

(cherry picked from commit d87f7d89eec86bab8497c7fa169fe939fd552c61)
SystemUI: fix right hand side gestures on lockscreen

two finger quick pulldown was not accounting for being in the keyguard
adn was eating touch events when it shouldn't be.

Change-Id: I625d48a4002aaaf2d55d7efaed65d892ab7aa13c
Signed-off-by: Roman Birg <roman@cyngn.com>

(cherry picked from commit d302aff6b7011dea25a4a7f41828cb71752e1a85)

(cherry picked from commit a0457606f97e1faaef48f4820bc2655b0cb3acea)
SystemUI: make long pressing recent switch to last app

With this patch, long pressing the recents key on the navigation bar
will attempt to switch to your last application in the activity stack
before the active one.

The user's current home launcher package is ignored as well as SystemUI (so that
RecentsActivity does not influence the behavior).

Change-Id: I38771e0fce16b55bb5186af47115b4e812cb60b0
Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: Adnan Begovic <adnan@cyngn.com>
frameworks: allow last app action to be assigned to hardware keys

Also fix multi-user handling for 'switch to last app' and 'kill
foreground app' actions.

Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Adnan Begovic <adnan@cyngn.com>

Change-Id: I1fb586d19b1198e6888b0f11e0a2813acf0bcd5b