Quicksettings customizations Slim style

First thank to CM for the general base idea.....but we changed, fixed a lot
as well the UX is not the best on original implementation. It is way to much
to list all down what we changed and ehanced and fixed...so just a small overview

Whatever this patch adds following tiles:

Airplane mode
Battery
Bluetooth
Brightness
Go to sleep
Location
Torch
Lock screen
LTE
Mobile data
Orientation
Settings
Sound
Sync
Wi-Fi AP
Wi-Fi
User switcher
Network mode
NFC
Screen timeout
Quiet hours
Volume
Expanded desktop
Music - new nifty one ;)
Reboot

and the usual dynamic tiles which are always dynamic now. As well we put all setup
options into one screen.

as reference see

http://s1.directupload.net/file/d/3461/phhimlo7_png.htm
http://s7.directupload.net/file/d/3461/fvaxgins_png.htm

and video
http://www.file-upload.net/download-8362155/drawer.mp4.html

PS2: QuietHours broadcast
PS3: Context derp.
PS4
- revert QS battery tile implementation and move it into new
  Battery tile
- move click action to longpress on alarmtile for more consistent
- collapse qs for location tile to show the confirmation dialog
  when turning on
PS5: change sleep screen icon back to our power icon and add longpress
     action to open power menu
PS6: rename GpsTile into LocationTile and do not remove it on devices
     without GPS due that location is always available over wifi as well
     minor icon corrections
PS8:
- added expanded desktop
- added Music tile
- minor fixe
PS9:
- tweek the music tile...check the video
http://slim.mimic.ca/images/music_tile.mp4

PS10:
- better controll of the picture stream on the music tile
- send a broadcast if no bindable music callerId is present
  to force music player to start
PS11:
- fix location tile
PS12:
- add lincenses and changed on some tiles the click and lonpress behaviours
  to be consistent
PS13:
- tweek screen time out tile and added never as option to it
PS14:
- added reboot/recovery tile
- added text color
- tile quanitity per row including text resize
- added tile bg color
- added tile bg pressed color
- added tile bg alpha
- added langscape duplicate or not option
- some tweeks and minor fixes
PS15:
- remove depreciated code
- reboot tile add a small delay before calling final reboot
- remove added padding....not needed any more with the new style
PS16:
- better settings support
PS17:
- add more dynamic tile layout to handle better 3,4,5 tiles in a row
PS18
- wifi tile as well sorry

custom tile not sure if we do in initial version...lets see. Settings is a lot
work due that I want to change a lot on our old version

Other then that it seems to be done now :)

so lets go doing the settings lol

Change-Id: I41c4e06198b0849dba3eefa6f05536d606b49d3b

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/slim_symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g3g_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lte_on.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_quiet_hours_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_signal_data_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sleep.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_unexpected_network.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_connected.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_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_2g3g_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lte_on.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_quiet_hours_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_signal_data_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sleep.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_unexpected_network.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_usb_tether_connected.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_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g3g_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_signal_data_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sleep.png
	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_unexpected_network.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_connected.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_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_2g3g_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_sleep.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_unexpected_network.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_usb_tether_connected.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/layout/quick_settings_tile_rssi.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/AirplaneModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/AlarmTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/AutoRotateTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BatteryTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BluetoothTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BrightnessTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BugReportTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/InputMethodTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/LteTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTypeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/NetworkTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/NfcTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/PreferencesTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/RingerModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ScreenTimeoutTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/SleepScreenTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/SyncTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ToggleLockscreenTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/TorchTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/UsbTetherTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/UserTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/VolumeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WiFiDisplayTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WiFiTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/WifiAPTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsContainerView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/SettingsPanelView.java
	telephony/java/com/android/internal/telephony/ITelephony.aidl
Framework: Quick Settings Pulldown thanks CM

Change-Id: I322ec2726ec3e6741ea68dee77b56b73c247d11c

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java