Settings : isScreenLarge rewrite

Mimick how framework decides on screen layout to differentiate
tablets from phones.

Patchset 2 - Cleanup imports
Patchset 3 - Make the check more explicit
Patchset 4 - Rename isScreenLarge to getScreenSize

Change-Id: Icd90798ee7de62f5a1997820046608ea27e7835e
Kill app on long-press back key (Settings)

Change-Id: I3962ffa89208de0449a6fa883070138d2990d569

Ported from CM9
Fix NPE in InputMethodAndLanguageSettings

Commit 5555aae3 assumed mStatusBarImeSwitcher could never be null in
onResume().

Change-Id: I3bd5b7ecd9bfe9e1a69d553f70ecd3fc3d78c546
Processor.java: Fixes and Cleanups

1: Fix issue where Processor settings FC whenever one of the /sys/devices/system/cpu/cpu0/cpufreq/* files is missing.
2: Cleanup for better overview.
3: No need to add empty content to disabled/removed elements.
4: Do not start the current cpu freq loop if the files needed are missing.
5: Also add the check for missing or empty files in the 'onResume' part.
6: Disable elements with missing files rather than remove them to maintain the layout.

Change-Id: Ib0cc3b01cbce368e23530760e2d87eedd04ad10a

Port from CM9 to CM10
Patch set 2  - Fix == false and != false

Change-Id: I874571fa9095546f27c0b908c4cafa0a8d14e0f3
Apn settings fixes / code maintainence

Depends on : http://review.cyanogenmod.com/#change,13743

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

Change-Id: I069415b29846f30665ce76e52f04115d1b65e455

Conflicts:

	AndroidManifest.xml
Settings: Hide Electron beam settings until fw code is merged

Change-Id: I51d5330332fa4b0edeace1d5dbd07ba00537144a
Merge "Settings : isScreenLarge rewrite" into jellybean
Merge "Settings: Hide Electron beam settings until fw code is merged" into jellybean
Merge "Processor.java: Fixes and Cleanups" into jellybean
Merge "Kill app on long-press back key (Settings)" into jellybean
Settings: Status bar cleanup

Make the Status bar settings screen conform with the Android Design
Guidelines.

Before: https://dl.dropbox.com/u/50993944/Screenshot_2012-07-20-18-16-18.png

Change-Id: I8619ff09db0ef7d95f3a48a381abbc16a78f5bb4
After: https://dl.dropbox.com/u/50993944/Screenshot_2012-07-20-18-25-27.png
Merge "Apn settings fixes / code maintainence" into jellybean
Settings : Customizable lockscreen targets

Activity icon      : Prash
ShortcutPickHelper : Based on Danny Baumann's work from cm7

Patchset2   : credits
Patchset3   : Whitespace cleanup (Thnx dvtonder)
            : Make shortcutpicker flexible between activities/fragments
            : Switch to queryIntentActivities
Patchset4   : Switch to resolveActivityInfo
Patchset5   : Bring settings up to speed with ux (David Van Tonder)
            : Fix dissappearing icon bug
            : Fix npe on packages w/o activities
Patchset6   : Fix npe's on tablet
            : Modify strings as per request
Patchset7   : Cleanup
Patchset8   : Custom icons
            : New dialog for customization
Patchset9   : Switch to dynamic id loading (Reset required)
            : Fix icon dissappearing bug
            : Fix lockscreen reading saved values bug
Patchset 10 : Add icon pack support
            : Bug fixes
            : New activated drawables
Patchset 11 : Code cleanup
            : Limit icon size in dialog

CM10 Port
---------
Patchset 1-4 : Initial port
Patchset 5   : Revert to CM9 drawables
Patchset 6   : Replace isScreenLarge

Change-Id: Ida9d9e8c1bf5970456a61a6602639a4cc6461212
Settings: Change activitypicker font color to normal

Change-Id: I25fb77704499c64172de124864283b3ddf9ea5f0
Merge "Settings: Change activitypicker font color to normal" into jellybean
Merge "Settings : Customizable lockscreen targets" into jellybean
Settings : Fix isPhone reference

Add missing argument to method call.

Change-Id: I51f46a1be166073dfb5c743b14fc994cff9b3ba5