Remove CM tiles.
Quick Settings: Make Wifi and Bluetooth Turn on and off

short press turns on and off
long press goes to settings.service

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Quick Settings: Don't collapse after change state.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Quick Toogles: GPS, Clock, IME

Make these on by default for now enable/disable and movable tiles coming soon.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
QuickSettings: allow custom ordering and what toggles are visible/hidden

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
QuickSettings: Fix for NPE on reboot when some toggles are disabled.  The Model was trying to refresh views that were not inflated
Quicksettings add all the things

moar tiles, tethers, torch, silent, vibrate, fcharge, sync, and nfc

fuck cm and the police.... jk my brothers a cop just cm..

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_vibrate_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/carbon/CarbonTarget.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
Even Moar tiles.....

this should be all the ones we had on 4.1

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g_on.png
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	telephony/java/com/android/internal/telephony/ITelephony.aidl
Fix: QuickSettings: One more NFC related NPE (FC)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
QuickSettings: Allow customization of Tiles per Row (1/2)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsContainerView.java
Fix: QuickSettings: Adjust textSize for Clock & Swagger too

Change-Id: Ie7dcca440ae4fd930d5bbb06d3bc7853adb31b4d
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Add hdpi & mdpi images for QuickSettings Tiles

PS2: add disabled GPS icon & code
PS3: move GPS and Data strings to XML
PS4: typo... sry

Change-Id: I632d5a81b8463ac94103c3d6d878c7ea92e7bd4e
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_gps_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_vibrate_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_gps_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_vibrate_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_gps_off.png
QuickSettings: GPS Fixes

Needs icons for on. leave locked all blue and on with a grey center please

PS4: Final GPS images

Change-Id: Ie05f19a50d64730d91cc44753cd985fd8f5ef199

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_qs_gps_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_gps_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_gps_off.png
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Fix 2GToggle longpress action

Long press on 2G Toggle in quicksettings points now to right setting dialog.

Change-Id: I67bbe5a32f87eac4d6ed019b0570b64cfd9f7ee0
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
QuickSettings: Fix NFC and Wi-Fi Tiles

Change-Id: I028abed74288e9d784449832860e574c8225af5d
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Quicksettings: add favorite contact tile (2/2)

PS2+3: fix NPE
PS4: add observer to update contact on change

Change-Id: I08b8859fbef4f1ee71b3f6fb259afec3a3829199
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
SystemUI: fix quick toggles layout in landscape mode

Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: refactor fast charge toggle

Device trees need to set a path to enable the toggle.
It will not show otherwise.

Moved all file operations off the main thread and use a
preference to save the last state so it persists.

	<!-- empty string to disable, or like: /sys/kernel/fast_charge/force_fast_charge
         it is disabled by default so devices need to add an overlay to enable-->
    <string name="config_fastChargePath" translatable="false"></string>

PS8: Lower delay to 250

Change-Id: Ib1465a98893ec8e7854c8b80f8352016ff6248ad
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	core/res/res/values/config.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Prefs.java
Fix: Handle switching between Wifi & Wifi Tether in QuickSettings

PS2: Split some long lines

Change-Id: Id428c8c040d9aebfb3ee731841250bd50805b580
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
QuickSettings: fix vibrate and silence toggle not updating

Change-Id: Ic8dd7b451fbe3552c9a9d33407849b60ddc9740a
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>