LTE QuickSettings Tile Fix

Change-Id: I10072766420fb35eedfef129fd210d907bcff314
add Settings.System boolean helper methods

Change-Id: I749d15a7c6956d938698f16ebde185b114f7f15a
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Configurable up to user (LTE or 4G)

Credit Daxx for the original implementation

Change-Id: I80711a547851ec94c2391169ca9c2a1da877fac7
Frameworks: Port all carrier label options (1/2)

Conflicts:
	packages/Keyguard/src/com/android/keyguard/CarrierText.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I00776b2df61eb20ce20fbf9e81d29b13cf2f174a
Merge "LTE QuickSettings Tile Fix" into kk
Lockscreen Notifications: make animations a bit faster

Change-Id: Ib780ddfa728d70c559f22976a77090b1ddfb2562
Fix ongoing notifications reappearing when hidden

& some small animation tweaks again.

Change-Id: Ib866540e6af6cfc21bbb5db6e28aa3eced64e96d
Partly fix lockscreen blur rotation issue

This works very well when changing rotation from portrait to landscape and vice versa but doesn't work when changing rotation from landscape to landscape (90 to 270 deg) or portrait to portrait (0 to 180 deg) because we don't get notified of such changes.

Change-Id: Id4d9b4a6ce061fdb4767a8cb12dd7a8d33c99175
Lockscreen Blur: fix for coverflows

Change-Id: I668ab36cd846b30cdda1b70e2fca2c512211f72c
Reimplement expanded desktop on top of immersive mode.

Change-Id: I8ed08afebef0bb08a2694b1dbdd6dd1887b5b065
Lockscreen Notifications: fix notifications disappearing on orientation change

Change-Id: I3c2f7ca3ec446c48b471f9c01f7c72284893856e
Lockscreen Notifications: disable dynamic width for devices <= xhdpi

Change-Id: Id45a8d63411b488f9331dcab66bc76cbe5a4b313
Lockscreen Notification: fix default settings derp

Change-Id: Ief7344359059d72b6498d9d9ce61dfd11b43f404
Lockscreen Notifications: fix phone turning on in pocket

Change-Id: Ia0385280510f1d684c5dcf537dd2049c6916ddec
Remove duplicate line.

Change-Id: I59f9359e612f5be31f08fee33f005bb043c7d865
fb: fix reconstruct statusbar illegal argument exception

Finally I got a logcat what is happening in rare cases. If the reconstruct
happens during a notification ticker was send it returns a negative
width value for the static layout and systemUI crashes.

E/AndroidRuntime(  970): java.lang.IllegalArgumentException: Layout: -23 < 0
E/AndroidRuntime(  970):        at android.text.Layout.<init>(Layout.java:138)
E/AndroidRuntime(  970):        at android.text.StaticLayout.<init>(StaticLayout.java:104)
E/AndroidRuntime(  970):        at android.text.StaticLayout.<init>(StaticLayout.java:90)
E/AndroidRuntime(  970):        at android.text.StaticLayout.<init>(StaticLayout.java:68)
E/AndroidRuntime(  970):        at android.text.StaticLayout.<init>(StaticLayout.java:48)
E/AndroidRuntime(  970):        at com.android.systemui.statusbar.phone.Ticker$Segment.getLayout(Ticker.java:72)
E/AndroidRuntime(  970):        at com.android.systemui.statusbar.phone.Ticker$Segment.getText(Ticker.java:91)
E/AndroidRuntime(  970):        at com.android.systemui.statusbar.phone.Ticker.addEntry(Ticker.java:226)
E/AndroidRuntime(  970):        at com.android.systemui.statusbar.phone.PhoneStatusBar.tick(PhoneStatusBar.java:2862)
E/AndroidRuntime(  970):        at com.android.systemui.statusbar.phone.PhoneStatusBar.addNotification(PhoneStatusBar.java:1432)
E/AndroidRuntime(  970):        at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:322)

to avoid this check before a new StaticLayout is constructed if the width is < 0 and if this
is the case abort the operation. This is in this case a legit way due that the notification
gets reconstructed during this process later so or so

Change-Id: I6ed68bbb9226101d3573f3d76deb793ddae69627
QS: let's welcome LocationTile to 4.4

we already modified to use the basic 4.4 location mechanism. Still
it was very basic. Now using the same attempt like in Settings to
controll location mode (high accuracy, battery saving, device only) and on/off state

longpress switches between the states. Normal click turns it on/off
Compared to settings turning on will recover last state where it was turned off. As
well it respects the sharing location warning dialog either when you switch on into
a mode which use it or you switch into a mode which uses it and it was not confimed.

Slight corrections to original AOSP code to reflect the changes in LocationController
even though this code is non operational

PatchSet:
- moved the complete handling into the LocationController. Way better
  to have in centralized. Who knows for what we will use it later.
PatchSet:
- cleanup

PatchSet:
- added drawables from kroz :)

Change-Id: I3c7c51c8d7e3a8c003c37d1b55a6503a9bbeaf64
Merge "add Settings.System boolean helper methods" into kk
Merge "Configurable up to user (LTE or 4G)" into kk
Merge "Frameworks: Port all carrier label options (1/2)" into kk