Apn settings fixes / code maintainence

Depends on : http://review.cyanogenmod.org/54909

Cleanup unecessary resources and use global ones
  - This fixes the duplicate id issue currently causing apn's to be un-editable

Bring the ui aspect of the preference up to speed with ics
 - Use ics highlight / layout...etc
 - Use fragments

Patchset 5 : Remove theme for ApnEditor
             Use static access for variables
Patchset 6 : Launch apn editor internally as a fragment
	     Replace deprecated managedQuery with CursorLoader

Apn Settings : Fix panel title

Show appropriate apn editor title

Change-Id: I1f9dbce5dbf464db79d7c2fbedb8f833e4b46468

Settings - add an AlertDialog before to delete APN to avoid fails

patch 1: fix blank space
patch 2: remove FR translation and change NegativeButton string
patch 3: improve the NegativeButton (thank you, David)
patch 4: remove create()

Change-Id: I3361d4160a7e1c4eaee094f08c7d212f71e9e0e7

* Forward port from cm-10.2, adjusted for 4.4

Change-Id: Ie63fa1018ffb7bc419e4d7915419657de30f5b22
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_strings.xml

Conflicts:
	AndroidManifest.xml
	res/values/cm_strings.xml
	src/com/android/settings/Settings.java

Conflicts:
	AndroidManifest.xml
Settings: less notification sounds (2/2)

Change-Id: Icd035c06e5955880c73687e5b1407d54b96e1271
Settings: add Advanced Settings under Display

For use in TV-Out settings and mDNIe

Change-Id: Ib595b81a11e19f8526e532400e57f5771db09499
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	src/com/android/settings/DisplaySettings.java

Conflicts:
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java
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

PS4:
- remove drag on longpress and drag directly
- remove scalable and change alpha a bit
PS5:
- remove complete scaling and keep tile size
- small tweeks in animation
PS6
- add style options
PS7
- revert back to longpress on setup drawer
- reflect tiles per row and landscape behaviour as well in settings screen
- minor fixes and tweeks
PS8:
- reflect the tile view exactly like it is setuped in fb
- show popup on tiles which have additional settings
- add for this popup indicator
- animation fixes
- cleanup
PS9:
- do the settings a bit nicer and logical
PS11:
- added  quiethours pseudo activity

cleanuped and finished

Change-Id: I6b1a81430056772d70e4f34c2c54916e7aa146a6

Conflicts:
	AndroidManifest.xml
Settings: Quiet Hours Logic Change (2/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.

Dependant upon this patch as well:
	https://review.slimroms.net:8443/#/c/39226/

Change-Id: I20873f7c66ea20d247cb8764a475f0bb17ccfbfa
Settings: Quick Settings Pulldown

Change-Id: Id626410b8c2953eeafb803296e63a7a2d281c388
settings: fix QuieHours call from fb

Change-Id: I3245828aa675e186344d5370b9ea71ee6520349e

Conflicts:
	src/com/android/settings/Settings.java
FindBugs: Call to equals() comparing different types

Change-Id: If4185f9eec0adfa47a6741eb21111b6cdafac008
Settings: Add AOSP dummy strings

Add some empty strings to remove aapt warnings caused by
aosp strings without default translation.

Change-Id: I96f36e9768977d70bcc8ce717eb677c50ef4982d
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_strings.xml
Revert "Settings: QS performance profiles tile"

This reverts commit a93bfc53278fb93ca56de88d0f5f303ef3b028f9.

Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/config.xml

Change-Id: I9f817da89c6424d09aaa40858de2b3fe5510deed
settings: qs tweeks

- fix fc problem on tablets
- fix filtering of unsupported tiles
- add music tile options (disable artwork, disable track title optional)
- add instance handling as well to the tile chooser dialog
- add cancel button to chooser dialog
- battery tile short press now battery stats - longpress batteryicon settings
- rotation tile lonpress - rotation settings

prevend fc on devices without mobile

Change-Id: If53fa598eb261b803dbacd4384220bdfe28df04a

Conflicts:
	src/com/android/settings/Settings.java
Settings: Lockscreen Colors and Lock Image [2/2]

PS2: Separate settings into mutiple and
	create fragment to hold them
PS3: String change.
PS?: Lock image selector
PS?: Custom Lock-image colorize option

Change-Id: I46bb16570916645712b75c05f34235fdbd271650
Settings: Fix Lock Size

Get lock size for device.

Change-Id: Ie9bcbb7ff2fec73128254b8ad290f3e03c4e2f0b
Settings: Display Rotation (All Devices)

Change-Id: I66705138a7593762c6338e1afa11fc4178ca25c3
Settings: Remove Setting From Tablets

Tablets have no expanded-widget
	lock icon.  Remove if user
	uses a secure lock and no
	lock-before-unlock.

PS2: Derp.  Opposite logic.

Change-Id: I174b76988a5ff60680a53a8632e518d99ca49dbd
settings: refactor QuietHours code

PatchSet: use correct context

Change-Id: I9391e274250128af5f0e9dea4bdfde2485d9a746
Quiet Hours Ringer (3/3)

Change-Id: Ia4b167654867425b8d7cac952de094b16002da02
Development Settings: fix setting reset on disable

When Development Settings are disabled, some settings are
reset to values other than the default. This fixes it.

 - No need to have resetAdvancedReboot(), as it is already
   reset by the "unckeck all checkboxes" logic.

 - Adb notify should reset to enabled

 - Verify apps over usb should reset to enabled

Change-Id: If5d88d220d2a17d6e172b2f54facd4afa3bae904
New setting under "Debug settings" that enables the development shortcut

Resolve Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/DevelopmentSettings.java

Change-Id: I9a43e611911f2e278605715f714860ad11236fd9
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	src/com/android/settings/DevelopmentSettings.java
Fix the build

This shouldn't be there in the first place
It's a result of a failed rebase

Change-Id: I48610dfc4214a096b1c4af61af59bf52c5e50529