summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DisplaySettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Settings: display: Fix search indexing of high touch sensitivityZhao Wei Liew2016-10-081-1/+1
| | | | | | | Mark the feature as non-indexable if it is *unsupported*, not if it is supported. Change-Id: Ia1388044ec5944e1782f894ed0c6abe4b3e0c9e8
* Settings: move high touch sensitivity setting to DisplayRoman Birg2016-08-121-0/+42
| | | | | | | | | For devices that support this feature, it makes sense to place this under display settings as most people wouldn't look under language. Ticket: CYNGNOS-3250 Change-Id: Ib99f5e8c5f0f2bdae7b5b5f788a364a1d63aa146 Signed-off-by: Roman Birg <roman@cyngn.com>
* Revert "Settings: Add screen color settings"Steve Kondik2016-08-051-2/+0
| | | | | | | | | | * We now have support for HSIC controls in LiveDisplay and this can be deprecated. A new UI to bring the same kind of functionality is underway as well. This reverts commit 853513841512a0fbf15dc22c7164a98d0a2de80b. Change-Id: I4fa3af25f64b05338a78ba7832e75333cf15e448
* settings: Remove LiveDisplay preferences if not availableSteve Kondik2016-04-251-0/+9
| | | | | | | | | * This really shouldn't be the case, but apparently some devices are misconfigured and are overriding the GPU-based CMHW implementation which would ensure the basic capabilities are available. Change-Id: I9f72cb58c9bbb63e0fdec4085b17a089f9d50174
* Revert "Settings: disable wifi display from search indexing if disabled"Steve Kondik2016-04-041-5/+0
| | | | | | | | | | * Breaks the build. Missing variables, bad syntax. DONUTS-1234 This reverts commit 8b1fe7d8b3d704ce841f4af12cd9d7b98eb9330d. Change-Id: Idf1a5a9580d85148d117893568515562bea31af2
* Settings: disable wifi display from search indexing if disabledAnkit Gupta2016-04-041-0/+5
| | | | | | | | | | | | If wifi display is disabled from the system property or from the overlay file, disable its key indexing to stop appearing it in search result. Also update the database version to reflect the changes. Also fix indexing for saved access point settings. Issue-id: YAM-141 Change-Id: Ia3688e4b294ad67ab8029dd47d1067fd722cbff7
* Settings: Respect config_proximityCheckOnWakeEnabledByDefaultGabriele M2016-03-211-1/+7
| | | | | | | Also, set the correct value for PROXIMITY_ON_WAKE when the feature is disabled. Change-Id: Ibf9dd1c64aeb076bc72f328d50825790aef2a50b
* Settings : Add warning for lcd densityDanesh M2015-12-181-6/+28
| | | | | | BACON-4492 Change-Id: I5f5f9d71b29bef61e39029334f62aa1df2ed48dc
* Settings: move double press power for camera to button settingsAltaf-Mahdi2015-12-161-35/+0
| | | | Change-Id: Ie59e499c2df2129bf1942bfe95e5724579832336
* Settings: Fix more derps after reorganization from 12.1AragaoAnderson2015-12-121-6/+6
| | | | | | | | | * Move Wallpaper fragment to Interface category * Use CMSystemSettingSwitchPreference for: Prevent accidental wake-up Search in Recents Change-Id: I49b184e4c838bce916271aae9409bb65f7338788
* DisplaySettings: Remove device dependent prefs properlyLuK13372015-12-121-9/+20
| | | | | | | * Old way doesn't seem to work thus we have unnecessary prefs on devices without those features. Change-Id: I7fca5178949134cc08274d014843a4e6b1579731
* Settings : Port over reorganization from 12.1Danesh M2015-12-081-9/+62
| | | | Change-Id: I3d77bb96aba4a501d3223e72be60403694828a34
* Hide LCD density preference from secondary usersLuK13372015-11-251-28/+32
| | | | Change-Id: I44bcb804962748a254719cd6b7e0403a16fbc796
* Settings: use WindowManager to set custom DPIRoman Birg2015-11-251-10/+41
| | | | | Change-Id: I719bf391cc8746466c466b4b5a9a0e2bf9fc0056 Signed-off-by: Roman Birg <roman@cyngn.com>
* Add LCD density settingTom Marshall2015-11-251-0/+95
| | | | Change-Id: I3d55615127cc735ea0443d519520d0cb6cfbfb38
* Settings: Move Global settings to CMSettingsd34d2015-11-121-4/+4
| | | | Change-Id: I73e3477ccc3c804de0f32974d926e6bc9df9b227
* Settings: Move proximitycheck to CMSettings.Adnan Begovic2015-11-091-3/+4
| | | | Change-Id: Ib419aab752c4dfc9cbf8cfb7c37ad414d21518f8
* Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-0/+64
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: res/values-fr/strings.xml res/values-it/strings.xml res/values-ja/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-zh-rCN/strings.xml res/values/bools.xml res/values/strings.xml res/xml/development_prefs.xml src/com/android/settings/DevelopmentSettings.java src/com/android/settings/DeviceInfoSettings.java src/com/android/settings/DisplaySettings.java Change-Id: I9fd9e793cf6097d950f8a1e30771c8bdf5067906
| * Make picture color mode less of a featureJason Monk2015-09-231-30/+0
| | | | | | | | | | | | | | | | | | - Shun it to developer settings - Hide 'natural' mode - Remove dialog Bug: 24038268 Change-Id: Ibaf363bc06b444f2a361707b98742328fc290cfc
| * Add color transform settingJason Monk2015-09-181-0/+30
| | | | | | | | | | Bug: 24038268 Change-Id: I2bf45fef85038c29423a86c7bb018a8e750110a6
| * Add double-tap power button to open camera 2/2Jorim Jaggi2015-09-091-1/+33
| | | | | | | | | | Bug: 23787555 Change-Id: I04787cd863212b1ed9608a6c8bd02af13273b387
| * Add setting to disable camera gestureJason Monk2015-08-041-0/+31
| | | | | | | | | | Bug: 22183841 Change-Id: I6ada3d2c911fd52e2821f12f3db5d549879941f4
* | Remove CMHW tap to wakeMichael Bestas2015-11-021-46/+13
| | | | | | | | | | | | * M supports it natively Change-Id: I01f124f2b68de771c6b7dc3f513a11cc1a628bd6
* | Settings: Refactor for M changes.Adnan Begovic2015-10-291-19/+4
| | | | | | | | Change-Id: I64da201ca8ac1785c4b5c417ca640dadb7ae2d2b
* | settings: Move CMHW to CMSDKSteve Kondik2015-10-291-12/+11
| | | | | | | | | | | | * Update all references and API usage. Change-Id: If6bda2547bdd251ccf9a04ad0deac7f2fd51fa29
* | Settings: Change to CmHardwareServiceScott Mertz2015-10-291-27/+19
| | | | | | | | Change-Id: Iab392aefa9476a2e956a697210f3f7e6426ff815
* | livedisplay: Add LiveDisplay settingsSteve Kondik2015-10-291-178/+7
| | | | | | | | | | | | | | | | | | | | | | * 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: Fix hiding auto-brightness & lift to wake preferencesKonsta2015-10-291-6/+12
| | | | | | | | | | | | | | | | 52295541479453528477afe35104f44aac31c328 added a new category to display options and these preferences are not properly hidden on devices that don't support them anymore. Change-Id: I7626a89f22291b7ae828e6e17acf07fd41099dbc
* | Only access CMHW from main thread.Danny Baumann2015-10-291-2/+37
| | | | | | | | | | | | | | Some CMHW classes might expect that they're created in the main thread, e.g. if they want to use Handlers. Change-Id: I319709a423547368b3c4f047c2efbfab4c191953
* | Settings: Add screen color settingsZhang Fang2015-10-291-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "Screen Color" item in settings. This function support set Hue, Saturation, Contrast and Intensity value, and screen color will be changed by this settings. Change-Id: If6f6e7ee7f28862476a8b955cd3252175fefa2a1 Settings : Fix CustomScreenColor when picking an image Change-Id: I510b562eb0e9fb9b558380db5c5d6e818ba17d12 Settings: Start service as explicit intent Needed for API level 21. Add some ressource bits, set text color to white. Change-Id: I9c4a9139be69fa5c6d6c74055b5475f0d930c93a
* | Settings: Cleanup display settings codeMichael Bestas2015-10-291-52/+1
| | | | | | | | Change-Id: Ib2a00bd7f7932ca6a75834e3cd5b4953d5b050de
* | Settings: Forward port Display Rotation settingsDvTonder2015-10-291-2/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originaly authored by Robert Burns (burnsra) Settings: Fix possible NPE in Display settings Change-Id: I186203782aa27fb4eaa77500fecb82946bfdd173 Display : Enable rotation on large screens The auto-rotate toggle in statusbar is no longer present, so the check is no longer valid. Change-Id: I0a23e251b3cb793481d14ea8ad8a9079c7c0e962 Fix the spacing between displayed rotation angles Before: http://goo.gl/QJ7hE After: http://goo.gl/V0alW Change-Id: I0319f8e84e4b278b2f720cbc77cecc280c82d461 Settings: rotation settings for devices with hardware rotation lock All settings would be disabled on devices with hardware rotation lock due to dependency setting. Disable dependency to allow setting swap volume and rotation degrees on those devices. Change-Id: Iee0532902d59fa80666e17b3853db8e3d7ed5ddc Add lockscreen rotation as an optional rotation setting (2/2) This will allow the user to select wether or not to use the rotation settings for the lockscreen. This is dependent upon the rotation setting being checked. Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: If45c13a395e0d71b7c4cdcf484a6b8cef964ee37 JIRA: CYAN-339 Ported from cm-10.2, adjusted for 4.4 Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: Ib239e63200fc8565c3f66969aa495f1c40908adf
* | settings: Squashed commit of CMHW featuresDanny Baumann2015-10-291-1/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Display Settings: Better font size controlp4r4n01d2015-10-291-33/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Port: Wake on plug (2/2)Jon Evans2015-10-291-0/+18
| | | | | | | | Change-Id: I22ee2a05040561cca796814573adc5226f1f03d4
* | Settings: Add proximity wake optionDanesh M2015-10-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports and combines: http://review.cyanogenmod.org/#/c/66658/ Settings : Add preference for proximity wake http://review.cyanogenmod.org/#/c/69347/ Proximity Wake-Up : adjust strings http://review.cyanogenmod.org/#/c/69803/ Settings : Make proximity opt-in Change-Id: Iea0853eccf764438c7aaac76afd13c364fcea0ec
* | display: Make advanced settings a categoryDiogo Ferreira2015-10-291-1/+2
| | | | | | | | | | | | | | | | | | This was a separate screen but it's too empty for that, let's make it a category like in CM11 for now. If it ever becomes a separate screen it needs its own fragment so that navigation is possible via actionbar. Change-Id: I4b1f3e78a013412d5e39847683ca622dc76b9fa1
* | Settings: add "advanced" menu to Display/TapToWakeRicardo Cerqueira2015-10-291-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forward TapToWake from CM11 Contains Commits: Author: Ricardo Cerqueira<cyanogenmod@cerqueira.org> DisplaySettings: Add hardware-framework support for tap-to-wake Since we have tap-to-sleep globally, might as well support the wake gesture as a standalone thing through the HAF. Place it in "Display". Change-Id: I6facc2334ff9e80077581c54c428476594e91528 Author: Roman Birg <roman@cyngn.com> Settings: set proper default value for tap to wake The first time the display_settings.xml file gets inflated, the PreferenceManager takes the defaultValue and persists it in the default shared preferences file. When we read the double tap to wake preference, we assume it has a default value of true, which it uses until the user enters Display Settings for the first time. At that point, the default value is persisted, and every boot after will use the default value in display_settings.xml. Remove the default defined in the XML file. Change-Id: I0989dd73b6b3c42ff8649bc17eebf4e191293ee4 Change-Id: I271390aa7bfc56811dcf6fff7e1d05c76c4bfa48
* | Profiles: Point at cmsdk, fix metrics logging.Adnan Begovic2015-10-261-4/+0
| | | | | | | | Change-Id: Ic1f3a349c8aa54836128cc91e57e9d31eaca81d3
* | Settings: enable/disable doze through Profiles (2/2)Altaf-Mahdi2015-10-261-12/+9
|/ | | | | | * moved isDozeAvailable boolean to Utils so we can check for it in profiles Change-Id: I5a768098b4ed00b28931bee58a58efa8280262a1
* Hide tap to wake on devices that don't support itJason Monk2015-06-101-0/+3
| | | | | Bug: 21650579 Change-Id: I3fbcccc80b5773c74d8398f1d23b4762a5bf54ed
* annoint new constantsChris Wren2015-06-091-1/+1
| | | | | Bug: 21114836 Change-Id: I63fb1da67a6f6d8dfad076e7e1c2cef0783c17f9
* instrument display rotation settingsChris Wren2015-06-091-1/+4
| | | | | Bug: 21530764 Change-Id: Iee36addb7cf3cb6abbbf1ac90727e0fce22121cb
* Banish Theme setting to developer optionsJason Monk2015-05-211-5/+7
| | | | | Bug: 21320576 Change-Id: I7e3fd7437409ac2dd061a36803e082eada5b30b1
* Add tap to wake settingJason Monk2015-04-281-0/+24
| | | | | | Depends on Ic1ad910dd38acbc68ef040b2acdf3696ec2c2e4e Bug: 16875464 Change-Id: Iae929099256e9077f8a4747a41fb965b8f9a72fb
* Allow help to be defined to intent uriJason Monk2015-04-141-0/+5
| | | | | | | | | Allow help uris to be either an intent uri or as uri (as they were before). Also add a default help uri, and specific helps for several screens. Bug: 15475009 Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
* log visibility of viewsChris Wren2015-03-271-0/+6
| | | | | Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
* Start implementation of new app info storage pageJason Monk2015-03-191-2/+1
| | | | | | | | Things are mostly in the right places, may need some minor location adjustment on everything and styling for the buttons. Bug: 19511439 Change-Id: If7730285d6ddc36e32cc8bc119885a8e215c0eb5
* Add support for user-selectable dark/light themeAlan Viverette2015-02-271-0/+20
| | | | | | | | | | Updates Settings to use the DayNight theme (real name TBD) and fixes several colors that were pinned to non-theme values. Adds a setting for switching theme between light/dark/auto. Bug: 19368658 Bug: 19369392 Change-Id: I7cd23b7ad38bdb25a01b92e67ff1ee1cdd8a3958
* Bring back auto-rotate to settingsJason Monk2014-09-021-3/+52
| | | | | | | | Add a dropdown preference to the display settings screen that controls whether auto-rotate is on. Bug: 16636008 Change-Id: I71099a23793aa82b514bd0eebae183695415a92c