summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Remove ic_menu_add.png drawablesd34d2016-01-053-0/+0
| | | | | | | | | | | ic_menu_add is defined in XML and provides tinting of the icon within settings, but the system picks up the png images which causes a white on icon on a white background since no tint is applied. Thses icons were re-introduced when profiles were ported over to CM13 see commit d40cd5728a415efd72ee192fa6f67727411ed959 Change-Id: I24448b753ce43b6229f68f2b13043b1412db6069
* Move more CAF strings and cleanupMichael Bestas2016-01-052-33/+23
| | | | | | | | | * Move all CAF strings to cm_strings * Remove duplicate strings * Reuse sim_calls_ask_first_prefs_title for sms * Improve CAF SIM enabler strings Change-Id: I6cf0fb0fe23800301b1fc8c37022ee9b79b5818b
* regulatory: Make the image fill the whole parentDiogo Ferreira2016-01-051-1/+1
| | | | | | | | Since the scale type is centerCrop, the container must fill the parent so that the image is properly centered in the screen in both landscape and portrait. Change-Id: Ieb664271eb37903ee0e043c6bfdf8f65c95025b9
* Themes: Add main dashboard background back from lollipopBryan Owens2016-01-032-0/+2
| | | | | | | | | | -This will make themes look the same as lollipop wihtout changing styles -Also needed for subsettings to have it's own bg color from main settings -All other work arounds have caused fc so this was the best solution to other issues -Make note if using Day/Night mode option this commit needs to be reverted Change-Id: I509258806ac92c699693672ee172776035c6866d Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* [1/2] Settings AppOps: show/hide app type and allow/deny countersSam Mortimer2016-01-034-4/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | Squash of: Author: Sam Mortimer <sam@mortimer.me.uk> Date: Thu Oct 3 13:51:31 2013 -0700 AppOps: menu options to show/hide user and system apps Change-Id: Ia55364c361db949a891e4b53a757ee4dff519eb6 Author: Sam Mortimer <sam@mortimer.me.uk> Author: Danny Baumann <dannybaumann@web.de> Date: Wed Oct 2 22:24:14 2013 -0700 [1/2] AppOps: Show allowed/ignored counts Change-Id: Ia27737155c33e934df9a2a1fcff88379240fd096 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Sun Dec 1 21:39:07 2013 -0800 AppOps: only apply app type filters to summary screen *) If buildState() is called for a single package, do not apply hide user/system app filters. *) Fixes show detail display when called via long press in privacyguard and an AppOp hide filter is ticked. Change-Id: If31d094fb989836ab6829daeefe820695032c0ed Change-Id: I4d6f37b3923eb9bc98d67101d6f0ef481a427682
* Update privacy guard reset iconMichael Bestas2016-01-031-1/+1
| | | | Change-Id: Ia636b08fea0d21c0185d053ecf601d1ddcf5a828
* Settings: Convert AppOps array items to string referencesMichael Bestas2016-01-033-21/+344
| | | | | | | * Avoid future breakage This will need conversion of all AOSP translated arrays to strings Change-Id: I2e52e4013d1232d529ce5b9e3aae3502c42e938a
* AppOps: Use switch widget for non-strict ops.Shashank Mittal2016-01-031-0/+13
| | | | | | | There are few Ops for which 'Always Ask' mode is not allwoed. So use switch widget to control such Ops. Change-Id: Ic7464a207c00e4cb9efff57c1f060e04379c1ee7
* AppOps: Add more operations in app ops settings.Shashank Mittal2016-01-031-1/+2
| | | | | | | | | | | | | | | | | | | | | Add following operations in app ops settings. -- Wifi enable/disable -- Bluetooth enable/disable Change-Id: I32183d77b88c326168557444a445765b5a69de6f AppOps: Add support for nfc operation Add support for nfc operation Change-Id: I0ca617b11d3f65f80cc49c3f629312e2fee1ba91 AppOps: Add mobile data-on permission control. Add mobile data-on permission control. Change-Id: I0956fb1575addb5f4e522e664a80442120190b86
* AppOps: Add 'Always ask' option under appOps setting.Shashank Mittal2016-01-032-5/+5
| | | | | | Add always ask option for each operation. Change-Id: Ia4f331a5b7d0b1c8ae6946c55a4f78818fe0454f
* Settings: Respect legacy quick pulldown row.Adnan Begovic2016-01-021-1/+1
| | | | Change-Id: I5d4096160956e02c90edf75a3dfdee93e6632bbe
* Settings: Expose backgroundTint from Single Button PanelNicholas Chum2015-12-292-1/+21
| | | | | | | | | | This exposes the hardcoded backgroundTint call to ?android:attr/colorAccent, and allow the themer to completely replace the color. Credits go to @Morningstar for locating the file! Change-Id: I7d76177fad123173131aecf0d19554825af303a0
* Settings: Expose Fingerprint Enrollment Checkmark Tint to an XMLNicholas Chum2015-12-292-2/+22
| | | | | | | | | | | This patch is a different approach to getting the tint changed. Changed from being a value into colors.xml to an XML file in res/colors instead to combat XML inflation issues. Tested on latest nightly, decompiled and recompiled. Stock theme and Dark Material runs fine with the new values themed. Change-Id: I1373d3d36555b44ad63515b4385d5f935a5a882f
* settings: Animation scale seekbarsSteve Kondik2015-12-282-12/+57
| | | | | | * Use a seekbar preference to allow setting arbitrary animation scale values Change-Id: I4ceaf0dc74e6e044e36cf3652bfc1efb33890380
* Profiles: Cleanup the codeMichael Bestas2015-12-283-79/+8
| | | | | | | | * Fix code style * Fix a couple mismerges * Align strings with cm-12.1 Change-Id: I0795c114014e53101c7d6697bb9a229c003973ab
* Settings: improve empty Profile trigger iconsRoman Birg2015-12-2811-5/+147
| | | | | | | | | The icons that were used were being scaled up and looked choppy and ugly. Use some vector drawables instead. Signed-off-by: Roman Birg <roman@cyngn.com> Change-Id: Ia66d79f706f5de5b835fdcc503f1e92944e8b7dd
* Settings: make empty profile views fit on hdpiRoman Birg2015-12-282-0/+68
| | | | | Change-Id: I2a03fc0fa4775ffddeca4713a0bbeff36ab552dd Signed-off-by: Roman Birg <roman@cyngn.com>
* Improve profile setting layouts.Danny Baumann2015-12-285-41/+34
| | | | | | Make their look consistent to the stock preferences look. Change-Id: I4fca6ab57eb549c0d8f28e5d4f1462fcead47bef
* profiles: Make the actions wizard buttons show upDiogo Ferreira2015-12-281-4/+3
| | | | | | | The "back" and "finish" buttons weren't being shown at all in this layout, which made it impossible to add profiles. Change-Id: Ib6b52430c25ed7445ca8e3c1249b7fccd21c3c69
* Settings: make empty profile trigger screens more usefulRoman Birg2015-12-273-2/+71
| | | | | Change-Id: I7e4061615f2bb1c1fabd37c8f5b792b04a99a2c8 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: merge ProfilesList into ProfilesSettingsRoman Birg2015-12-271-22/+3
| | | | | | | | | | | | | | | | ProfilesSettings previously had a viewpager with the profiles list, and an app group list. Then we removed app groups, but the viewpager was left over. The main reason for getting rid of it now is to make sure that refreshList() always works. Previously there was a small chance that because it was in a viewpager, the preference may not have been attached (at the time of the resetAll() dialog being shown and user pressing yes), which caused the refresh method call to fail, since it needs access to the preference screen, which is null at that time. Change-Id: Ib9c3a27e3062660bd8a91998c20c15b4ffb4390b Signed-off-by: Roman Birg <roman@cyngn.com>
* Automatic translation importMichael Bestas2015-12-25112-0/+37608
| | | | Change-Id: Ib491ce3d4325bd3b562355e6f896149d2df2ddaa
* Settings: Fix the failing stringsMichael Bestas2015-12-251-7/+7
| | | | Change-Id: I93865d793eef711f8738e00e843e9d4670724c66
* Settings: Fix some settingslion07382015-12-235-7/+7
| | | | | | these settings are moved to CMSettings. Change-Id: I88d78a708b11a02a4987c522dfca41f9aaab1396
* Add missing blacklist xxhdpi drawables.Danny Baumann2015-12-224-0/+0
| | | | Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2
* Settings: respect telephony config for profiles overrideRoman Birg2015-12-211-6/+20
| | | | | | | | Some networks specifically disallow 2G to be selected as the preferred setting. We should respect that. Change-Id: Ic4414ed78c9f38b5c11969300dc858725ee3b2c6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Move NFC payment under NFC categoryMichael Bestas2015-12-191-6/+6
| | | | Change-Id: I906315a63a05dd152d8f8910c13959cf0091ab50
* Settings: update About screen device model fieldsRoman Birg2015-12-193-3/+16
| | | | | | | | | - Changed "Model name" to "Device model", this queries ro.product.model - Added an optional "Device name" field which queries ro.product.name - The new "Device name" field is disabled by default Change-Id: If837674091b4612124e1eff00e884823be767f47 Signed-off-by: Roman Birg <roman@cyngn.com>
* Power Menu: remove power as an optionDave Kessler2015-12-192-6/+0
| | | | | | | | | This is the only way to power the device off. Also, if the user toggles all the options off an empty dialog will open. Lets make this feature a little more user-friendly and remove power as an optional entry. Change-Id: I10b2d7c844fa40ae9583d3114ec99b0825c21cd9
* Settings: Add some more entries into 'SMS message limit' menukuci2015-12-192-3/+10
| | | | | | | | | * Add None, 5 and 10 entries into 'SMS message limit' menu. * Properly write limit value to Settings.Global * The default SMS limit for Android 4.2.2 upwards is 30 per minute. Update string to reflect the correct time interval Change-Id: I8b206ae6c9f73378da65b09e68898de31439cc59
* Settings: Cleanup ALL the stringsMichael Bestas2015-12-192-61/+24
| | | | | | * Match cm-12.1 Change-Id: I7928655125f360de62c25313d01a228e7cd886b5
* settings: LiveDisplay color profilesSteve Kondik2015-12-183-16/+38
| | | | | | | | | * Add support for using the new DisplayMode HAL, which configures the display for a preset mode. * Clean up the settings a bit, and move advanced stuff under an advanced category. Change-Id: If386c93da99346fbee156b057274b60fd064b49d
* Settings : Cleanup control media volume toggleDanesh M2015-12-181-1/+1
| | | | Change-Id: I1e887e6a109aa75fcb1d1e74216fceb1cc91ab59
* Settings : Add warning for lcd densityDanesh M2015-12-181-0/+1
| | | | | | BACON-4492 Change-Id: I5f5f9d71b29bef61e39029334f62aa1df2ed48dc
* Settings : Add volume link notificationDanesh M2015-12-182-0/+6
| | | | | | | | | | | | Change-Id: I06027bc4f13c8a60b19a2b7ded73ce76da4e4f02 Tablets don't need to link volumes they don't have This feature broke the notification volume slider in settings for devices without telephony service (tablets) and isn't applicable anyways since they don't have ringtone volume streams. Change-Id: Ifff10ecd35b53f5fc08a36332814fb00d20b4350
* setings: Fix livedisplay settingsSteve Kondik2015-12-172-6/+6
| | | | | | | | | | | | | | | | | | | | | * Since moving this to internal settings vs. kernel settings, the parameters were wrong and changes set via settings weren't being applied. Fixit. Change-Id: I0676f6069729878b644914abe0ad0bca8a053c9e livedisplay: Add an "off" state * Don't force "day" to be the default state. * Change minimum value for color calibration to 20% so blackout doesn't happen when all sliders are at minimum. * Also improve a few strings to describe what day and night means. Change-Id: Ib2a617488fffb128c8e3e9e52d64fac6b261e53d livedisplay: Fix for multiuser Change-Id: If0ef1da91cf5310308abf08806f7902e25080d2c
* Settings: adapt lock screen visualizer toggleAdrianDC2015-12-172-5/+6
| | | | | | | | | * Do not show the Visualizer toggle for Screen lock : None * Show the Visualizer toggle for Screen lock : Swipe * Add a missing key field (Screen lock : Swipe) Change-Id: I460693201142f0d7d5eb34dea91f4f5db33a00d4 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Settings: add lock screen visualizer toggleRoman Birg2015-12-165-0/+23
| | | | | Change-Id: I7aaa972ba521bebbef7f47bbe502fb6e4f0c3a6a Signed-off-by: Roman Birg <roman@cyngn.com>
* Allow disabling the privacy guard notification - port from cm-12.1 (1/3)Chirayu Desai2015-12-162-1/+7
| | | | Change-Id: Iebf4545c1a65b10036a4865bae29d14e86b12d07
* Settings: add dashboard switch view for sw600dpRoman Birg2015-12-161-0/+8
| | | | | Change-Id: I19797bc2b05539700ab4f3e8bf960fc37047d448 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: move double press power for camera to button settingsAltaf-Mahdi2015-12-162-6/+6
| | | | Change-Id: Ie59e499c2df2129bf1942bfe95e5724579832336
* Settings: add switches for dashboard itemsRoman Birg2015-12-154-4/+34
| | | | | Change-Id: Ibff81510270745807a4b133457d60d47dd629df6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Remove status bar weather entryDanesh M2015-12-152-10/+0
| | | | | | This has moved to quick settings config panel Change-Id: I23a83abb88d813aa1631480841d386831abeaa6c
* Settings: Fix up management for wifi priority.Adnan Begovic2015-12-142-0/+20
| | | | Change-Id: I3a173caf6eb2cf7f602071851afe9828cda01ca2
* Settings: make (more) dashboard icon color consistent.gabriele2015-12-123-6/+6
| | | | | | Changed new icons such as Sounds icon and those I didn't see before. Change-Id: Ibaf0002c60c02bb77d04d754c0e4e97e6c3222bd
* development: Add setting for updating recoveryBrint E. Kriebel2015-12-122-0/+11
| | | | | | | When enabled, the recovery of the device will be updated with the version of the installed system. Change-Id: I519905341b9cba9c2ab09f5d9c6e88f4025a73a7
* Settings: Add back keywords to display settingsMichael Bestas2015-12-121-3/+5
| | | | Change-Id: I6f77a92bec09bfd472089dd82fd466bdc2db7597
* Settings: Remove duplicate stringsMichael Bestas2015-12-122-3/+1
| | | | Change-Id: I83c2772170167f0d22919f545aed1d6bd2307a46
* Settings: Add back oclick settingsMichael Bestas2015-12-122-2/+65
| | | | Change-Id: I94482a3ff6f7a88ce271f65ad167e2cfd57d3195
* Settings: Fix more derps after reorganization from 12.1AragaoAnderson2015-12-121-9/+11
| | | | | | | | | * Move Wallpaper fragment to Interface category * Use CMSystemSettingSwitchPreference for: Prevent accidental wake-up Search in Recents Change-Id: I49b184e4c838bce916271aae9409bb65f7338788