summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Settings: add package name to app infoRoman Birg2015-11-032-3/+9
| | | | | Change-Id: I8ce737ec5150f37e61240d8053403046ca9317fb Signed-off-by: Roman Birg <roman@cyngn.com>
* Development: Add choices to 'Stay Awake' preferenceBrandon McAnsh2015-11-034-13/+53
| | | | | | | | | * Per a request on Google+ for Google Engineers to add to M, the stay awake values can now be never, while usb debugging, and always. * Keep them pixels awake. Change-Id: I7f43200bab0f000dc7547cc3142c4cacda2f4732 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* Remove CMHW tap to wakeMichael Bestas2015-11-024-68/+25
| | | | | | * M supports it natively Change-Id: I01f124f2b68de771c6b7dc3f513a11cc1a628bd6
* Settings: Add preference for EdgeGesture service.Kiril Mikos2015-11-022-0/+11
| | | | Change-Id: I0325b0a9aa6eb943b48483aebe151726a2c64ac4
* Use 100K steps for color temperature sliders.Danny Baumann2015-11-011-5/+6
| | | | Change-Id: I63f72eac68dd1a7bafd7ab462b09db7f0c07f2a3
* HighTouchSensitivity [2/2]: Add Settings preferenceAdrianDC2015-10-301-2/+7
| | | | | | | | | | | | | | | * Allows the HighTouchSensitivity (Glove mode) value to be saved in the CMSettings provider * Can be used in a device specific service to handle the Glove mode in a way closer to the device's vendor * Changes include : android_packages_apps_Settings cm_platform_sdk Change-Id: If57bbfddbed1324fcb8488ef5a03ff242a128ba3 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Settings: Fix AOSP WiFi AP translationsMichael Bestas2015-10-303-3/+3
| | | | | | * Add missing spaces between SSID and AP security Change-Id: Idcd284a16cbd10a0e73db8bfda988f2ad3e6e6f1
* settings: Enable missing 3dot menu for LocationGeorge G2015-10-301-0/+1
| | | | | | | * The code exists: https://github.com/android/platform_packages_apps_settings/commit/cb193d55e17fc7cfdb195eea9b6c4b4c7af66b4b * Stock Nexus image has it, so we have it, too. I don't how this got left out. Change-Id: I98d6c666b183f2ab488bff3d03b995b0ecda858d
* Revert "Revert "Settings : Port forward statusbar settings""Danesh M2015-10-297-1/+383
| | | | | | This reverts commit 4c7e67e680997c15195b1ae96452f8baf3895779. Change-Id: Iaecfc7a36281422a58d469361cef3c6a5659c7d7
* Settings: Map to CM Settings.Adnan Begovic2015-10-296-41/+47
| | | | Change-Id: I2236b8b6b7cf1ad5e5db4ca1ec32d84351d2a08b
* Settings: Clean up power menu options.Adnan Begovic2015-10-292-19/+37
| | | | Change-Id: I4a8a0edf776415d123ae26e8c3c6aabec0221e28
* Settings: Reintroduce SecureSettingSwitchPreference.Adnan Begovic2015-10-291-0/+65
| | | | Change-Id: Ib5f8dd0813989d77701d13f3c7f120048170851f
* Settings: Refactor for M changes.Adnan Begovic2015-10-2911-40/+43
| | | | Change-Id: I64da201ca8ac1785c4b5c417ca640dadb7ae2d2b
* [2/2] Forward port power connect/disconnect notification supportSam Mortimer2015-10-293-0/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit info: [2/2] Power connect/disconnect notification support part 1/2: frameworks/base PowerUI and Settings http://review.cyanogenmod.org/#/c/35241/ part 2/2: packages/apps/Settings Sound settings http://review.cyanogenmod.org/#/c/35242/ Change-Id: I7ddd8a47ae4f9a62c586023d151ac42bbe8424c7 Power sound notifications: fix ringtone picker title Change-Id: Ied0a08ec1607b778324e69a7b40bac056235bebf Settings: Rename 'Power sounds' to 'Charging sounds' and add summary VOld_Change-Id: I1cb872917e2d03f0a1c77c25c27f2a0496f9bc05 Old_Change-Id: Ibde52fcd6fd0fabc9eeefc7e6f5a3971527285d7 Change-Id: If247c184c5ea2a1e13dd22ef121cbc9d5d542fd5 Signed-off-by: STELIX <ssspinni@gmail.com>
* Feature : Volume adjust sound preference 2/2Michael Bestas2015-10-293-0/+22
| | | | | | This patch allows the users to choose if they want the audible tone when adjusting the volume Change-Id: I6d43cba83bf4cf10f2d50502e7cee5408a73c520
* settings: Move CMHW to CMSDKSteve Kondik2015-10-2910-128/+126
| | | | | | * Update all references and API usage. Change-Id: If6bda2547bdd251ccf9a04ad0deac7f2fd51fa29
* Settings: Livedisplay: Respect default values passed from CMHWDave Daynard2015-10-291-6/+35
| | | | | | | Not all CMHW color calibration uses a default value of 100%, nor does it use a minimum of 20% Change-Id: I5ca925e77e41ebf050f2a7c5a81c4e10d9406f91
* Setting: LiveDisplay: fix percentage not showing when the dialog shows up.Shareef Ali2015-10-291-0/+2
| | | | Change-Id: Ifee1b49eb9c39e6110a7bff19a34b4734f962afd
* [2/2] Camera button supportHazouPH2015-10-293-0/+57
| | | | | | | | | | | | | | | | Add support for camera button Based on commit http://review.cyanogenmod.org/#/c/52046/ This patch adds: - Use camera button as wake key - Use focus button as peek and wake key - Use camera button to launch (secure) camera Depends on [1/2] Camera button support in frameworks/base Change-Id: Idb959f24fec880d360afebf194a0bc573e011438
* Settings: persist backlight brightness settingRoman Birg2015-10-292-11/+13
| | | | | | | | Save the user value locally every time it is modified so we can retreive it reliably. Change-Id: I0d4489c17809a7a53864ab553d97aed60a8f8e88 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: fix button back light restore logicRoman Birg2015-10-291-14/+13
| | | | | | | | | | | Only persist backlight data if it's modified by the user, otherwise we can just restore the default framework value when enabling. Always restore a backlight value setting, either the framework default, or user saved value. Change-Id: I2d6e95a48bc4ac4dbe6d639d87dc93ec1799c290 Signed-off-by: Roman Birg <roman@cyngn.com>
* Revert "Settings: use correct default value for backlight brightness"Nir Bruderman2015-10-291-4/+6
| | | | | | | | | This causes to lose the ability to turn off the backlight brightness at all! On every boot the values resets back to default now. This reverts commit a3a044f17d6a11508507e5ed083dac157dd3bd6d. Change-Id: I55c0e31a9e2182896bccae5206679d99ea9a15f9
* Settings: use correct default value for backlight brightnessRoman Birg2015-10-291-6/+4
| | | | | | | | | | When the user has enabled the nav bar through the setupwizard and returns back to the buttons settings and toggles the nav bar off, the backlight brightness would not be restored because there was no previous value to read from, so use the default framework value if none exists. Change-Id: If4ce90bcde3c9a59f26e49be2c585df844ead6bd Signed-off-by: Roman Birg <roman@cyngn.com>
* Option to use volume keys to control media volume anytime (1/2)Pawit Pornkitprasan2015-10-293-2/+24
| | | | | | | | | | Some users don't adjust ringtone volume often (e.g. only use toggle to switch between silent and non-silent) mode. Having an option to use the volume keys to control media volume anytime allows media volume to be controllled/muted before entering a game or other apps with sound in an undesirable location. Change-Id: I6dbd25d1a14bcf5b1bf0b0468b96f4b4f8efdb14
* Settings: Long Term Orbits (LTO)Jorge Ruesga2015-10-296-1/+452
| | | | | Change-Id: I1fbdba644fc05d55fc096b47bfac3f9903383370 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Revert "Remove non-functional hardware keyboard options."Michael Gernoth2015-10-292-0/+82
| | | | | | | | | | | | | The removed options are actually functional on QWERTY-phones and allow users to disable auto-correction, auto-capitalization and auto- punctuation when the hw-keyboard is used. So get these settings back and change the CheckBox to a Switch while doing that. Also add back the search-indexes for the options. This reverts commits 572f90bdf8183e42c522fdf041b20b064ffc8549 and bf55863b41efc3ad29c752f133f8739aac35d103. Change-Id: I4cc37d1c0cde638b50a2ed532c37d031b5ed73d2
* Settings: Change to CmHardwareServiceScott Mertz2015-10-299-238/+223
| | | | Change-Id: Iab392aefa9476a2e956a697210f3f7e6426ff815
* Remove lights settings unless intrusive LED bools are trueSam Mortimer2015-10-291-19/+10
| | | | | | | com.android.internal.R.bool.config_intrusiveNotificationLed com.android.internal.R.bool.config_intrusiveBatteryLed Change-Id: I8883d68bc7e82d295a1d47b3ca3777525350d854
* Add back increasing ring feature (2/3).Danny Baumann2015-10-298-2/+414
| | | | Change-Id: Iafc79a57651db327a100e0f1723b62f442b638be
* Settings: Add touchscreen hovering supportFranco2015-10-293-1/+36
| | | | Change-Id: I5e8d607cb7530e4e1addaf545f520f672cdc5c10
* settings: Add option to toggle the pointer icon when using stylus(1/3)Steve Kondik2015-10-293-1/+24
| | | | | | Forward port from CM-11.0 Change-Id: I43ce881b91f2a7d58acaa3225818997c4e4e364f
* Stylus gestures features (2/2)masiullah2015-10-296-6/+337
| | | | | | *Forward-port to CM-12.0 Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295
* settings: check if ime switcher pref was remove previouslyJorge Ruesga2015-10-291-2/+4
| | | | | | | | | | This could happend in tablet devices JIRA: BUGDUMP-20712 https://jira.cyanogenmod.org/browse/BUGDUMP-20712 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Change-Id: I85c1d6e56f85e3220311aabc68d6532d6ffdf59f
* Fix NPE in HighTouchSensivityMichael Bestas2015-10-291-5/+12
| | | | Change-Id: I7c33decbd34da8e57a22b66980a51be8e422a2b4
* Settings: Add HighTouchSensitivity supportXiao-Long Chen2015-10-293-1/+37
| | | | | | refactored for CM12 Change-Id: I4e55ec992ed7b0241211e0fb36ebc877879b8e89
* settings: port IME selector notification toggle (1/2)Takazumi Matsumoto2015-10-293-0/+18
| | | | Change-Id: Idb29f94aa4be51166b24b59930428401ddd7416b
* livedisplay: Add LiveDisplay settingsSteve Kondik2015-10-2916-306/+1009
| | | | | | | | | | | * 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-294-2/+58
| | | | | | | 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-2952-1/+1954
| | | | | | | | | | | | | | | | | | | 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-295-64/+9
| | | | Change-Id: Ib2a00bd7f7932ca6a75834e3cd5b4953d5b050de
* Settings: Forward port Display Rotation settingsDvTonder2015-10-295-2/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2918-4/+1331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-298-174/+327
| | | | | | | | | | | | 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-293-0/+28
| | | | Change-Id: I22ee2a05040561cca796814573adc5226f1f03d4
* Settings: Add proximity wake optionDanesh M2015-10-293-0/+18
| | | | | | | | | | | | | | | 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-292-3/+4
| | | | | | | | | 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 double-tap to sleep in Advanced Settingsblack2015-10-292-0/+10
| | | | | | Adapted for cm-12.0 Change-Id: I910eb6624536b437d0bf14f64c1eeacafaa59cfa
* Settings: add "advanced" menu to Display/TapToWakeRicardo Cerqueira2015-10-296-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Settings: Update setting constants.Adnan2015-10-291-6/+6
| | | | Change-Id: Ie8ceba9adf0fb1a570e7f3287e136f12ac1328dd