bluetooth: Show a refresh icon on the select devices screen

The refresh menu is hidden behind an overflow which is
pointless. This patch shows the refresh icon if there is
enough room.

Change-Id: I35f19c42054b05388f7b8fcb82e0f3bd60e2d618
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.
Show a preview of the selected font size immediately

Ported from CM 10.2, squashed commits 46678 and 49167.
Credit to Veeti Paaananen for the latter commit.

Change-Id: I754d7fdcaf27c23dfccf9d56291956e70b23f63e
settings: Squashed commit of CMHW features

Add hardware tunables (gamma, color, vibration strength).

Change-Id: I44e3e4e6cb444498a7c56048618cd92a0e2b8e59

Settings: restore hardware tunable values on boot

Change-Id: I9d2720947d615cab6a7ab9b596b24b8033dd0b4f

Settings: Add default value for display color control (2/2)

Change-Id: I50b684abe504c21ef49492f99b18873d75509697

settings: Move headset option, hide MoreDeviceSettings if empty

 * This option fits much better in the sound menu under "automation
   and effects", and on many devices it's the only option in the
   "More..." menu under Tap & Pay.
 * Move it, and remove the MoreDeviceSettings top-level category if
   there's nothing else in it.

Change-Id: Idd82f582a1ba54f8b45fbd4fbe631057e9515f86

Remove 'More device settings' menu

Change-Id: I86cd84f6f6c408b26c04d92529e9a031c4fed1f7

DisplayColor: Properly handle a minValue

* Previously setting anything as a minValue would cause the
  percentages to get out of whack. For instance, setting it to 35
  would cause the maximum percentage to climb above 100% as well
  as still allowing the value to be set lower than the min.
* This makes the maximum for the slider the max value minus the min
  (so we get the proper spread for min to max) and then adds the min
  back on before setting so we can't possibly go below the min.

Change-Id: I8dcdc422f54847940351fae10c74af6301d1e1be

Settings: AdaptiveBacklight support

Add support for adaptive backlight technologies like NVIDIA SmartDimmer, QCOM CABL or Samsung CABC.

Patchset 2: Use internal shared prefs to store the smardimmer setting
Patchset 3: Rename to AdaptiveBacklight
Patchset 4: Reorganize settings and strings to follow design guidelines
Patchset 5: CleanUp
Patchset 6: Added suggestions
Patchset 7: Sync default value. CleanUp.

Depends	on http://review.cyanogenmod.org/#/c/48465/

Change-Id: I52cb990f36593b265a00b46a5f63590515822ea5

settings: Add support for SRE

 * Add support for sunlight readability enhancement
 * Optionally depends on adaptive backlight, depending on HAL

Change-Id: I9ca388ffd68080f0e497edb81d5f8616c194ea1d

Cleanup.

Now that button and keyboard backlight don't use the HW framework
anymore, there's no point in having an abstraction for a single use case.

Change-Id: Ib66b2a29a105d53e3ba4273abb06977b132c1fc8
Setting: add app move to external storage

Add support tp move APP to external storage.

Change-Id: I9d8fef2df2f36b4d8b611d8ffe87990407b44742
Settings: volume wake preference

Change-Id: I6a732e627b75a1be533ecd96cb018307de0e5a77
settings: Forward-port notification counters

* Port from CM11

Change-Id: Ie19a6184b1d59676774937084a830ef4c7e8426f
BootReceiver: remove duplicate DisplaySettings.restore(ctx);

Change-Id: I7c9130e4ba045e1a5c6db270c7301bc675a01b03
Settings: Fix NPE in Superuser settings

Patch set 2:
These layout files were added with the new profiles ui commit,
they are not needed because profiles has it own, removing these fixes the npe and fc in Superuser settings

Change-Id: I5286c0ace8fff19639efd5685018b2f47e3cf361
Add Buttons settings drawable

Change-Id: I8a684dafc823e580d855ed608130fd14f8684cd9
Update Profiles settings icon

Switch to vector drawables to fix blurry drawables

Change-Id: Id3f5e3ad408c4d17659d941f68853379b07c688f
Update the Privacy category drawable

Replace the current ones with new vector drawables

Change-Id: I27a6778d876672c78469b886e2574baa149aad80
Rename Profiles to System profiles

L includes 'Users & Profiles', rename ours to distinguish features
and prevent confusion.

Change-Id: I5a148dcf5fea1b24448d254105b0bd6904a4ddd8
Development Settings: Reenable Nuplayer

* Nuplayer is now the default in Lollipop, do not uncheck the setting when disabling developer options.

Change-Id: Ic47365192404a866434630a7a4f2f669b8f80233
Settings: Add CM Updater

Squashed commit of the following:

Author: DvTonder <david.vantonder@gmail.com>
Settings: Add Updater and Changelog
Change-Id: I8cf09962d9ba667bcdba78d7214fd6b5bb0feedc

Author: Jorge Ruesga <jorge@ruesga.com>
settings: hide settings of disabled components

Change-Id: I977bd0c9668b479773802f99d03ecd1072e12f75
JIRA: CYAN-3552
Issue: https://jira.cyanogenmod.org/browse/CYAN-3552
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Author: Michael Bestas <mikeioannina@gmail.com>
Move CM updater & remove summary

* Move CM Updater to the top, like the fota app
* Use android's default 'System updates' empty summary
Change-Id: Ia3358397be97bc0ac19dd73598d053eb29efe31d

Change-Id: I8cf09962d9ba667bcdba78d7214fd6b5bb0feedc
Settings: Add FOTA updater

Squashed commit of the following:

Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Support the signed-builds FOTA updater, too
Change-Id: I2724881d6252ce7ce17ed9b3cfa94f6fecae1f7d

Author: Brint E. Kriebel <bekit@cyngn.com>
settings: Rename FOTA package
Change-Id: Ic1131261c275c15de308dded0aea36b61942a986

Change-Id: I2724881d6252ce7ce17ed9b3cfa94f6fecae1f7d
bugfix: there are other options after in-app search

On "Settings -> Buttons -> Home Button -> Long press action" there's
a list of options. Any option after the "in-app search" one was being
ignored.

Change-Id: I136235a6798496a0a8786bad59b168845c677bdd