PhoneWindowManager: fix navbar behavior in expanded mode after 4.4.2 merge.

Change-Id: I00f814db6c3800b8eb1cf20004ecdfb8d1ee7036
fix string+update new IT strings

Change-Id: Idb6386cb76d347efacbbb8d302c11b33de910c92
Base: use another Method to Kill app (NavRing Target)

sometimes SystemUi got Killed if enable NavRing Kill app
or using long press back button

this code fix that

taken from SlimRoms
https://github.com/SlimRoms/frameworks_base/commit/bbbb6f6fb2b1db59825b6a32ae136c72cac52bfa

Change-Id: If60b04105e77977df42ef32a91aeb7e5ea393531
Merge "fix string+update new IT strings" into android-4.4
SystemUI: Cleanup and enhance notification drawer header

- Crop properly images on tablets and landscale
- Use a separate layer instead of breaking header background
- Fix bug where you couldn't turn header back on after turning it off
- Added a gradient overlay

Change-Id: Ife399b82a3f272fb2ecc8e738c5f274f7682a556
Merge "Base: use another Method to Kill app (NavRing Target)" into android-4.4
base: cleanup duplicate sound files

http://jira.omnirom.org/browse/OMNI-56
http://jira.omnirom.org/browse/OMNI-262

Change-Id: I42b39ed18864abbb5fddcd099446d766e1961439
Base: QuickToggles (AOSPA) modification

this commit base from
https://github.com/AOSPA/android_frameworks_base/commit/1405aca50a1854a4b547fa699efe514a852e5c3c
with major changes to OmniRom

Icon Image by CM team

added UsbTether Tile
added Network Type on RssiTile
added dynamic column changes
add back FlipTile
added 2 fingers allowed reorganize (removed in patch set 5)
added long press EditButton to reset
fix AlarmTile clicked after editmode enabled
fix immersivetile on reboot
fix changing textsize in dynamic column changes
fix header
fix RotationTile not showing
added VolumeTile flip into RingerTile
added SyncTile
added SleepTile
added TorchTile
add permission for SYNC
FlipTile works now
rewrite flip logic
change EditButton icon by pulser

video >> https://www.dropbox.com/s/udu0hf7tqfsdlnd/SCR_20131229_202800.mp4

NOTE:
only SleepTile now using basicTile, will change to FlipTile in the future

TODO:
SleepTile Flip into SleepTimeTile
improve animations

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml

Change-Id: If8afe643eac9ed48edd98b6a7d373b257e86d3ef
Frameworks/base: remove duplicate imports

Change-Id: Iacd7b2ad4ce07b3dae5a3de2bac5ad60f9b496bd
SystemUI: Make QS tile reset more user friendly

By not closing the QS and allowing further editing

Change-Id: Ia8ebeeed7b72aa8d017a892c5978ffad3a4f8ac8
[1/2] Base: Quick pulldown

This adds an option to toggle between left, right & centre.
left is the 30% from left, right is 30% from right &
centre is 40% in the middle.

Change-Id: I258421ff453b5525c7cfcd83ef36b452673072ef
Merge "base: cleanup duplicate sound files" into android-4.4
Merge "[1/2] Base: Quick pulldown" into android-4.4
Merge "SystemUI: Make QS tile reset more user friendly" into android-4.4
[1/3] Base: QuietHours (slimRoms)

add support quietHours

Squash Commit from:

 fb: Quit hours 1/2 thanks cm

and added multiuser support

Change-Id: I38e8560297099629aed94ee001da7f1ebaa04dac

by Kufikugel

 Frameworks: Quiet Hours Change Logic (1/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)

This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Change-Id: Ib10ab5c1ac9278ab1f195d48f88de7357722979c

by Jubakuba

 fb: refactor QuietHours code

thanks to ivisiblk for the idea

Change-Id: I56e2b4a1945a4b93251b9937b701c86168b732b4

by Kufikugel

 Quiet Hours Ringer (2/3)

Change-Id: Id58ffb24f0d0d57d8446265c899ec4124fe00c70

by Jubakuba

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

Change-Id: Icce9e3a804ab8be753b8a23a28668ef1358540b1
Base: ActiveDisplay check for Immersive Mode Enable

As we know, Immersive Mode will force StatusBar and NavigationBar to Hide
while ActivieDisplay always setSystemUiVisibility flags for Both if enabled,
and will cause a conflict for that flags

// how to reproduce bug:
// set ImmersiveMode enable
// set ActiveDisplay enable
// Turn Off screen, swipe to sensor, ActiveDisplay showing
// Turn Off screen again (using Power button)
// Turn On screen (using Power button)
// pull Quicksettings, disable ImmersiveMode from ImmersiveTile
// Turn Off screen again, swipe to sensor, ActiveDisplay showing
// unlock via ActiveDisplay
// voila.... random flags will be set into setSystemUiVisibility
// (sometimes navbar or statusbar or both are gone)

lets make ActiveDisplay check for ImmersiveMode enable/disable,
so ActiveDisplay will not always setSystemUiVisibility flags
if ImmersiveMode enable

also workaround fix for unknown icon (?) sometimes appears
(if Show All Notification enabled)
(based from user report at XDA thread, why they always report there not in JIRA :/)

Change-Id: I550143864d387d7725c018f084e253c1e47cc3c0
Base: SV translations

Change-Id: I40bf4e771c4d16d8670da0048dd177adb61ccdc1
[1/3]Base: Add keyboard features

this commit adds:

- ime switcher notification - thanks cm
- slims fullscreen disable on landscape
- slims force autorotation on IME
- volume button control for navigate in the message - thanks cm
- slims force to show always enter key

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

OmniGears: https://gerrit.omnirom.org/#/c/4381/
Settings: https://gerrit.omnirom.org/#/c/4372/

Change-Id: Ie2672e69816afa2571bf6611caa95754ea29cd93
Merge "PhoneWindowManager: fix navbar behavior in expanded mode after 4.4.2 merge." into android-4.4
Merge "[1/3]Base: Add keyboard features" into android-4.4