Frameworks: keep IME keyboard alive due recent is showing

Change-Id: Iaf24e36c903795ef5344bfee1aa56ab539ee6fe0
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Frameworks: make recent multiuser compatible

wondering how it worked at all on AOSP recents. Whatever call the
list dependent on the user who is using it

Change-Id: Ic04d6d543964ba50867032743a62e4af20d80fb5
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 Frameworks: SlimRecents: go more inline with AOSP and add menu + new google shortcuts

This commit changes the longpress behaviour. Like on stock aosp longpress opens the menu with this options

1. App info (like stock)

2. Play Store link to the app

3. Amazon store link to the app

Note: the store links are only shown if the app has the info that it was installed by one of this
stores. So stock apps (installed by system) or sideloaded apps do not show this link.

As well some backup apps break this entry on restore lol.

As well a bit cleanup on here and there and remove the close panel call on cancelPreload. Not needed

PS
- disable debug

PS
- set correct style
- disable one default debug

Change-Id: I9f8a74e2df0c629156025afb51fe85fa9d39cc0b
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Fixed some derp commits

Change-Id: I385103d62ef141fb6090fda7ae5814f90096d9d4
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
 Frameworks: fix the random fc on pinch

Well logic error from me which can lead in an recycle bitmap fc due of a race
condition. Reason is simple it the animation needs for whatever reason longer then
the removing the tasks the view is probably still visible and recycle of the bitmap
results in a fc.

To fix it just remove the tasks after the animation is done and we definitly know
that no items are visble which are recycled.

Change-Id: I47ba3d5e10bfd1bd58c900f56a73084b33c23221
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Frameworks: go kitkat + style tweaks and follow googles color sheme

Googles color sheme on cards is

card: ffffff
aditional content: f5f5f5
background: e5e5e5

first two we did...background not. Follow the color sheme due it has a better contrast.

As well remove the non google rounded edges.

Allow drawing behin status and navigation bar if the bars are translucent

PS:
- due it is now a system window ensure that all other system windows are closed when opening recents.
PS
- minor tweaks
PS
- remove one unused flag
PS
- respect app system ui visibility status and reflect it for smoother experience
PS
- bring back TYPE_RECENT_OVERLAY window layouparams back to live. It was never documented
nor depreciated. Was used in the past for GB recents and is even updated till today although
nothing in the system is using it.

Make it fully functionall (it is basically just an extended TYPE_SYSTEM_DIALOG) and allow
this window type to extend its content behind navigation bar.

PS
- minor fix...init the systemUI flags for the view allready on preload to prevent positioning
of the listview.
PS
- draw always behind navigation bar as long it is not immersive mode or hide navigation bar mode
- add more margin to the delete icon for kill all

Change-Id: If38036dded961fcf0a6d8c2e7d2ba44a8e1dd08a

Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
added missing parts of latest patch

Change-Id: I04d162589b2f6d408b0e538453d9bc7acdeb1b9e
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Frameworks: derp

well it does not effect us due that we proper preload etc. But if it is not
a cancel repload event should reset the mIsPreloaded flag

sorry

Change-Id: Icc531dcd6bae187473f65ec7da267c72f9edbcf6

Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
Frameworks: SlimRecents make it RTL/LTR aware + scaling + lefty mode (1/3)

This commit adds several features:

- Make it fully RTL/LTR aware. Means it shows up on the oposite side if an RTL
  language was choosen. As well icon, textposition, menu etc follows RTL direction.
  So like AOSP guidelines suggest it is fully compatible now for all locals

- Add scaling mode....user can scale the overall size down (especially for the
  user with stock dpi requested)

- Add lefty mode. Recent panel shows up on the left edge instead of the right edge

As well this commit unlinks the construct of the card with the update of the content. This
reduces one update call on construct and gives a tight faster loading.

Change-Id: I4c5105f86644a08da81861851da7e0e347c26244

Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>
added missing files from last patch

Change-Id: Ib63b6c624503d54a714c4034b7db91ba963848c4
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>