Merge tag 'android-4.3_r2.2' of https://android.googlesource.com/platform/packages/apps/Settings into cm-10.2

Android 4.3 release 2.2

Change-Id: I6a5876c5af7275a693ea0ccb17e8e64922381754
RC: Overhaul NavBar buttons UI

I decided to make some pretty heavy changes to the
resource allocation as well (using AwesomeAction/Constants).
Still need to move over the icons.  This will also require
modifying SystemUI to use the same sources.
ToDo:  Custom Icons part not working.
This allows **ALL** actions from AwesomeConstants. We need to
either make sure SystemUI can handle all of these actions, or
figure out a way to make it easy to filter out which ones we
don't want for the NavBar.
PS2:  Hopefully fixed the shortcut/app & icon pickers
(still compiling - haven't tested it yet)
Also moved icon resources over to frameworks and now getting
them from AwesomeConstant.
ps3:  Trying to make the NavBar Preview respect certain color
settings (NavBar Color, NavButton Color, etc).  Having limited
success so far.  Need to dig deeper.  Also, custom icons not
working quite yet.
ps4:  Realigned Preferences so that NavBar buttons is at the top
of the listview.
todo: Figure out why custome icons doesn't work.
ps5:  Couple of more visual tweaks
ps 6: Abandon the custom pref idea and re-integrate into NavBar.
Not sure if this works, but I need to rebase ... so pushing.
ps 7: Re-integrated back into NavBar preference.  Now inflates
custom layout so that NavBar UI stays at top of list and other
options scroll underneath.  I would like for the NavBar UI to
fully reflect other options (colors, menu layout, etc).  I'm
getting some of this to work, but background color and Alpha are
not working.
However, this is fully functional at this point.
ps 8: Fixed colors and alphas
ps 9: Fixed glow by using a state drawable instead of on touch listener.
      needs the glow alpha to get fixed what I have doesnt do anything...
ps 10:  fix background to be the full width (not just buttons).
	All other visual cues appear to be reflecting properly in
	the UI.  Moved the options around to be more consistent
	and set certain options to remove depending on UI mode.
ps 11: Fix preference derp and remove whitespace

Change-Id: I552faf3af08f7ae4ffb02b286871243f087c3e86
Settings: appwidgetloader...load all providers to do a proper filter

google fixed up the keyguard code in frameworks but did not
adjust in settings the widget filter for it. At least if google
would be consisten they can completly get rid of the filter methods
in settings due that they bypass already the right filter for fetching the
provider now (4.2.2 that was broken). Whatever we do not want
to get rid of it due that we have the show all widgets button
on lockscreen which needs a filtering dependend if the user
pressed the button or not. So fetch all widget providers and
let proper work googles forgoten code

Change-Id: Ib562a485ff6c901888491958ce986fb6372ed70e
Settings: Mock SMS (3/4)

This change brings the possibility of simulate the reception of SMS on real devices.
This change includes the settings to enable/disable the mock SMS feature.

Ported from http://review.cyanogenmod.org/#/c/23018

Patchset 2/3: Rebased

Change-Id: I8818995147c41db261d9c9506c1741ed99ef581e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Settings: Display up caret for Status and ChooseAccountActivity

Change-Id: Ia9d51b53df8a3eb4c1b9dee1aeefb0b74eac0fde
Performance settings: remove dithering setting

This setting has no effect in CM10.2, as SurfaceFlinger has now been
taught to automatically Do The Right Thing [tm] with regards to deciding
when to enable surface dithering.

Change-Id: I67fba732440507c1209f2793d826badd4b4d34d5
Settings: show force overflow if any bindable keys available

Change-Id: I8f15db14fe09a7ff00d7c3f6088bb53691c1aed5
Settings: ensure SystemSettingCheckBoxPreference defaultValue is set

Change-Id: If2a6234ad78e7b03de86f72e866633817cf888c5
Settings: Gamma calibration tunables

- Add support for negative values to gamma.
- Remove logs.

Change-Id: Ie06bf68bbc8e875d36966ed7f98a6beadb0169cc
Settings: EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I18be65148e34a8cfc5412da9aab808596bd56908
Settings: IT translations

Change-Id: I8c21de940c5f0d9e79a38cf8205dfc48b72fb531
Fix ButtonSettings.java

Change-Id: Ie9b36f7a2730a0154392c47899ff22e95d7ad283
Support for LTE/GSM mode

Added LTE/GSM and WCDMA preferences

Change-Id: Ia66dfb13545342f8214c1cc5bf4057ae27f19372
Settings: SV translations

Change-Id: I4bae5008dad41ae068efbd76c98c0d0947c9248c
hwui: Allow to blacklist android applications [2/2]

Change-Id: I1da7017d56d26743f9965a7a27605950dae4b155
Improve button/keyboard backlight code.

- Improve UX
- Deduplicate code

Conflicts:
        res/layout/button_backlight.xml
        res/layout/keyboard_backlight.xml
        res/values-da/cm_strings.xml
        res/values-el/cm_strings.xml
        res/values-es/cm_strings.xml
        res/values-hu/cm_strings.xml
        res/values-it/cm_strings.xml
        res/values-pt/cm_strings.xml
        res/values-ru/cm_strings.xml
        res/values/cm_strings.xml
        res/xml/button_settings.xml
        src/com/android/settings/cyanogenmod/ButtonBacklightBrightness.java
        src/com/android/settings/cyanogenmod/ButtonSettings.java
        src/com/android/settings/cyanogenmod/KeyboardBacklightBrightness.java

Change-Id: Ie0218de8b83fe49e3fe1d91a64c2522af03ba06d
Check for presence of hardware abstraction framework.

Change-Id: I59da970d4a4eb74a571d1ac27cb18e351dfc2a53
Display Settings: Better font size control

Use a SeekBar instead of a list/spinner to determine the font scaling.
For consistency, an approximate size (small, normal, etc.)
 and the exact percentage are displayed.

Change-Id: I96f80d93e740a25a6a6890b423a41c3900b93767
Save value to shared prefs in HW value scale.

Otherwise we can run into precision issues if the HW e.g. uses a 0..255
scale.

Change-Id: I2df81db728faa64ee7b09cc3101122ff5c95b7a3