Turn off some debugs

Change-Id: I60ecc6e834277019f467ab69389d0f3da516b2f4

(cherry picked from commit 52fce25924ea6c90da25b189059f4f8ff27d7988)

(cherry picked from commit 11810c801b62824db81350fc56ecc682acc34af1)
Speed things up!!

Change-Id: If53cba16d5385532fa53d77a829866c082808926

(cherry picked from commit e3939428c51518ec21f460f55ee875583a30ece8)

(cherry picked from commit 45e5358860e010c17f2270eba69428d052602bc2)
Speed up a few animations

may need tweaking may have speed them up to much

Change-Id: I6213063c382653b9fd4a8532f66814359eb84d65

(cherry picked from commit 07028014aadcc66b1f26154ce9dedd7985d52606)

(cherry picked from commit f0d4e9474675be4dc5fcca558c4a2d247e5a3ad1)
Frameworks: Add several Slim helper classes and constants back

Change-Id: Ifeaca783c7b455f6846e20dba1aebf08c9226edd

(cherry picked from commit 2894ebcd8b98be3bd8ea0115dc9d1b6e42a7c4fc)

(cherry picked from commit 27d19377c9f451dbb723dd47a135300e7aee702c)
[Base]: recents panel clear all button tweaks

- Show or hide recents button
- Place the button in top right or left

@cristianomatos

(cherry picked from commit f1716e0228fedac2db8b852600109509660614f0)

(cherry picked from commit 96d4fe9791b5e7c41c50588e66b273fc82f02489)
 Frameworks: Statusbar clock and date customizations

Some things changed on kitkat + our old code needed in general a bit
rework. All done with this patchset.

This commit add support for:

- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- color
- Date format
- Date style

Originally by kufikugel. I only ported it to 5.0

PS2:
- several fixes and optimizations and code cleanup

PS3:
- more adaptions to LP

PS4:
- cleanup

PS5:
- animate hiding correctly on center clock mode

Change-Id: I456bc81c0c981c04467c9908c164e7c3b6cb75d3
(cherry picked from commit 7e78816c487216482c2c9c4e0109445b9f89397b)

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: smart pulldown we do not support anymore

No QS nothing smart needed anymore

Change-Id: I5187fd00cf45f28d5749f26acfaefbae45f82be6

(cherry picked from commit 7d3d13d9fb3c48cbb96baade66761868e37f6e91)
framework:Thread synchronization for UI update

Issue : Framework reboot was observed due to out of sync between
        two threads which inturn causes Null pointer exception
        while updating airplanemode.
Fix : Handled Null pointer exception and the crash is not observed.
CRs-Fixed: 570122

Change-Id: I2e969f6e7726ffcf8648b366ebb54cb2b0afc292

(cherry picked from commit 38958d12f92a55229714e17cb34d75637f0eb1aa)
Frameworks: Add per app controls for LP keyguard notifications (1/2)

Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want
to see from important apps the notifications on the lockscreen.

This commit adds the ability to

- enable/disable per app the keyguard notification at all
- enable/disable per app ongoing notifications on the keyguard

We handle this over the app policy conf file like the other per app notification options.

Change-Id: I3e4641c3413ca0a8920b1680ca5f01f6eb4d0225

(cherry picked from commit 185e9b59d74c9de5e2240ad20c96c3b810637d3f)
fb: add back all keyboard IME features back (1/2)

this commit adds:
- ime switcher notification - thanks cm (Already merged)
- slims fullscreen disable on landscape
- slims force autorotation on IME
- volume button control for navigate in the message - thanks cm (Already merged)
- slims force to show always enter key

some fixes to the 4.2/4.3 implementations + added full multiuser
support for all this features

cheers

Change-Id: I71e93c39620cc171e658b2d7e26491bac97c651d
(cherry picked from commit 2f86cb7ceb76810f2fc2b58a14e164f55721fd93)

Conflicts:
	core/java/android/provider/Settings.java