summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/hardware
Commit message (Collapse)AuthorAgeFilesLines
* Settings: Move vibrator value restore to onActivityStopluca0204002016-05-151-2/+10
| | | | Change-Id: Ia35f1dcffd86c8c2717e68cd91537d652ecfa982
* Settings: Save vibration intensity on closeGabriele M2016-04-171-2/+4
| | | | | | | | | Sometimes the vibrator intensity is not updated quickly enough for the preview. Change the actual intensity rather than waiting for the framework to react to the preference change to keep up with the preview. Change-Id: Ic345978ebd8439a991975f9d004a6fbd6c753b95
* Settings: Rework vibration intensity sliderGabriele M2016-04-171-16/+16
| | | | | | | | Use as many steps as intensity levels. The preference value is still saved as percentage to maintain backward compatibility. Also, make percentToIntensity() actually round the given values. Change-Id: Ib15765d7e077987c6712c59fd8eb43222ea4c878
* Settings: Fix one-time vibration intensity restoreGabriele M2016-03-281-2/+1
| | | | Change-Id: I8d9f1288dddc98f58f3565c8927be0642b026a64
* Settings : Add multiuser support for CMHardwareDanesh M2016-03-141-11/+12
| | | | | | | | | | - Show button for other users - Use services instead of CMHardware for vibrator and touch sensitivity - Do a one time restore of tunable settings CYNGNOS-1166 Change-Id: I0de8eef6bf73c344ee5789e9650dd96b25b1a6bc
* Add isSupported() method to VibratorIntensity classSam Mortimer2015-11-191-0/+5
| | | | Change-Id: I801af80f7b1e15954c50f6f9c5eca4f31f949575
* settings: Move CMHW to CMSDKSteve Kondik2015-10-291-19/+19
| | | | | | * Update all references and API usage. Change-Id: If6bda2547bdd251ccf9a04ad0deac7f2fd51fa29
* Settings: Change to CmHardwareServiceScott Mertz2015-10-291-32/+36
| | | | Change-Id: Iab392aefa9476a2e956a697210f3f7e6426ff815
* livedisplay: Add LiveDisplay settingsSteve Kondik2015-10-292-609/+0
| | | | | | | | | | | * Add preference for LiveDisplay mode, and additional supporting options for auto mode. * CABC, SRE, CE are all under this umbrella now. * Manual RGB tweaking is now handled here and the requirement for CMHW has been removed as it will go thru RenderEngine. * Moved all related code into the livedisplay package. Change-Id: I0b00f2bfd8f8227d64ad271bbe0f004f0b4bcf9d
* Settings: Cleanup display settings codeMichael Bestas2015-10-293-3/+3
| | | | Change-Id: Ib2a00bd7f7932ca6a75834e3cd5b4953d5b050de
* settings: Squashed commit of CMHW featuresDanny Baumann2015-10-293-0/+825
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