summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DisplaySettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Add lockscreen rotation as an optional rotation setting (2/2)Kelly2013-07-101-7/+17
| | | | | | | | | | | 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
* Fix up remove Wakeup preferencesfuzz2013-06-141-6/+6
| | | | | | | | | | | | Follow the bug fix addressed in http://review.cyanogenmod.org/#/c/43544/ This fix the issue both Home key wake and Volume rocker wake preferences will be displayed if either of them activated in device config. If both of them are not activated it looks fine because eventually Wakeup category itself removed,though. Change-Id: I28b7b45d209c3beb9559ed9e7b89612bf8df8bab
* [1/2] Permit home button wake to be configurableSam Mortimer2013-06-121-3/+30
| | | | | | | To activate, enable bool config_show_homeWake in device overlay/packages/apps/Settings/res/values Change-Id: I00afe89ba5bf36d74b93a40b9d15eef2e805611f
* Settings: Add support to enable/disable Electron Beam (2/2)DvTonder2013-06-021-0/+15
| | | | | | | Parts were brought over from CM9 but not all of it. This completes the port. Change-Id: I5ebfab22e68ea34e3babfaacd9c8103e25932d3d
* fix hiding volume key wakeup optionKonsta2013-03-061-1/+1
| | | | | | | | | | Volume rocker wake option can't be currently hidden without disabling all volume rocker preferences. This issue was introduced in: http://review.cyanogenmod.org/#/c/32108/ Change-Id: Icdbb2a833bad1045fb75517d9fffcd8eb92f9494
* Add ability to hide volume rocker preferencesfuzz2013-02-181-1/+3
| | | | | | | | also make the config_show_volumeRockerWake config to false see more details: http://review.cyanogenmod.org/#/c/26310/ Change-Id: Id885aa423074b3e3fb871716560837a183357cac
* Fix the spacing between displayed rotation anglesVeeti Paananen2013-01-301-11/+8
| | | | | | | | | | | | | | | | | | | | | | | Before: http://goo.gl/QJ7hE After: http://goo.gl/V0alW My suggestion: http://goo.gl/Sn4R5 Patch Set 1: * initial commit Patch Set 2: * simplify code * fix code style issues * rename/delete strings * remove 'Activated.' before the values when Auto-rotate screen is activated Patch Set 3: * remove display rotation unit string and use the degree sign after every value Patch Set 4: * code cleanup Change-Id: I0319f8e84e4b278b2f720cbc77cecc280c82d461
* Display : Enable rotation on large screensDanesh Mondegarian2012-12-211-7/+0
| | | | | | | The auto-rotate toggle in statusbar is no longer present, so the check is no longer valid. Change-Id: I0a23e251b3cb793481d14ea8ad8a9079c7c0e962
* Settings: Move Notification and Battery light settings to System settingsDvTonder2012-11-281-43/+0
| | | | | | | In an attempt to make the LED settings more discoverable, move it from Display to System settings. Change-Id: I374cdd08f330ff367405d204b5eb073efa98f04d
* Settings: Move font size back to AOSP location + System settings cleanupDvTonder2012-11-281-1/+71
| | | | Change-Id: I37e8dc686e03bdcb732785e8f077ab79bb88bb6d
* Settings: port vol rocker wakeDvTonder2012-11-271-0/+23
| | | | | | framework changes already present Change-Id: I481c62fe573834681ac212ac9d91e5b8c941c3bc
* Settings: Fix possible NPE in Display settingsDvTonder2012-11-261-6/+10
| | | | Change-Id: I186203782aa27fb4eaa77500fecb82946bfdd173
* Setings: Forward port Display Rotation settingsDvTonder2012-11-251-29/+81
| | | | | | Originaly authored by Robert Burns (burnsra) Change-Id: I4f96b3f804ee4732b277c35340790f3561d69764
* Move font size preference to CM System menuRicardo Cerqueira2012-11-211-66/+1
| | | | Change-Id: I0079a2598a423660d33d4f3534ad524e96881771
* Add LED configuration support from mr0/10.0Ricardo Cerqueira2012-11-211-18/+38
| | | | Change-Id: I36cee9cc813bd0fc62c30c6e10c61bcd9a131bf6
* Fixes an AIOOBE when device admin enforces a small timeout for screen lockAmith Yamasani2012-10-221-7/+11
| | | | | | | | Bug: 7378871 If the timeout choices are empty, set an empty summary. Change-Id: I20dbe61af56f9c41337a7c284580511322e5a45e
* Settings: Use new shared dream setting defaults.John Spurlock2012-10-191-1/+1
| | | | | Bug:7373284 Change-Id: I12d00b45d0bada5207af3a7bda906370e7a87413
* More descriptive summary for "Sleep Mode" pref.Daniel Sandler2012-10-181-5/+4
| | | | | | | | | | It will either show "Off" or the name of the selected dream. Also, move "When to sleep" out onto the visible part of the action bar if there's room, making it much easier to discover. Bug: 7320701 Change-Id: I1d4e2c17b764b8ee054dbb17c23f559d735e3450
* Show more settings and add restrictions/dialogs for secondary usersAmith Yamasani2012-09-231-3/+36
| | | | | | | | | | Bug: 7213029 crash in About>Status Bug: 7212495 hide System updates for second user Bug: 7212230 nickname editor should select the text Bug: 7160487 TTS settings Bug: 7129411 Settings needs visibility changes for secondary users Change-Id: Ia2d1229c08b392edfa6b671fce4a382410405b14
* First draft of wifi display settings UI.Jeff Brown2012-09-191-2/+62
| | | | | | | | All of the functionality is in place but the UI is not fully polished yet. Bug: 7178216 Change-Id: Id76843bff05cc71e5c02a31bc97c7070d58fff10
* New dream settings - first cutJohn Spurlock2012-08-291-7/+5
| | | | | | | | | | | | | | | First draft implementation of mocks for dream settings. Want to merge for the weekly build, so a few things remain, namely: - flat style for preview/settings buttons + dividers - animation between dream row expanded/collapsed state - wire up the help url - possibly ditch the non-standard style - add logging - refresh when packages are installed/uninstalled Bug:7010260 Change-Id: I96e3ab944170925bd76edf7b8b1127adfffc6262
* Re-enable dreams: SettingsJohn Spurlock2012-08-021-3/+6
| | | | | | | | | | | | Re-arrange settings and captions for dreams. Activation on sleep and activation on dock now independent. Sleep activation defaults to off, dock activation defaults to on (replacing dock mode). Also use dream manager service for testing dream preference, and properly disable preferences if both dream activations are disabled. Change-Id: I76f5ba115c7678826a09077dd393acc55c2bca26 Bug: 6921930
* Implement new rotation policy.Jeff Brown2012-06-051-25/+18
| | | | | | | | | | | | | Show "auto-rotate screen" option in Display only if the Rotation Lock feature is not available on the device. When the "auto-rotate screen" option is disabled in Accessibility or Display settings, hide the Rotation Lock feature. Use new RotationPolicy class to adjust rotation settings. Bug: 6523269 Change-Id: Ifa89ff055e5ad0a00888e10720dd76b0054fe290
* Revert "Settings: "Rotation lock" retains existing orientation."Jeff Brown2012-06-051-1/+2
| | | | | Bug: 6523269 This reverts commit 523d5a6e0495580206ee38e5072e5aef8063e806.
* Revert "Rename and flip meaning of auto-rotate to rotation lock."Jeff Brown2012-06-051-10/+10
| | | | | Bug: 6523269 This reverts commit b94417109279fb7d27f0b27c97e76860ed6446ba.
* Settings: "Rotation lock" retains existing orientation.John Spurlock2012-05-221-2/+1
| | | | | | | | Enabling "Rotation lock" when in landscape will stay in landscape instead of forcing to portrait. Bug: 6481542 Change-Id: Ide6171437a207f97a8fc3123ad8b2fe27323336f
* Rename and flip meaning of auto-rotate to rotation lock.Amith Yamasani2012-05-151-10/+10
| | | | | Bug: 6485348 Change-Id: I17359db3156641a69f6841d4e0c48708b5fafe4e
* Fix NPE in Display Settings.Amith Yamasani2012-05-141-0/+1
| | | | | | | Handle occasional race in delivering change notifications. Bug: 6012882 Change-Id: Ic9eff72920ff65a2c8ab85f4af59ba438cd8f99f
* Update Settings for new Dreams architecture.Daniel Sandler2012-04-101-1/+7
| | | | | | | | | Additionally, hide all Dreams settings if the feature is disabled (R.bool.config_enableDreams). (Depends on change Idfe9d430) Change-Id: Ifa05f125e411ca58605c33481de26cd29a926807
* Settings changes for Android Dreams (now Screen Candy).Daniel Sandler2011-11-171-0/+14
| | | | | | | | | | | - new preference design - remove candy-specific timeout - use new settings keys Requires Change I31f31b3 Bug: 5591015 Change-Id: I45cb6ea5c68f9932c6d4e65e2b219331d48a62d6
* Use WM APIs to change rotation preference.Jeff Brown2011-10-051-3/+14
| | | | | | | | | | Bug: 5371750 Changing the system setting directly results in inconsistent behavior among the three different places where "auto-rotate" settings appear in the UI. Use the WM APIs instead. Change-Id: I1a8239af66b1cc3aeec8310383e72fc96c878d73
* Move "Pulse notification light" to Display settings.Amith Yamasani2011-09-201-1/+23
| | | | | Bug: 5242350 Change-Id: I91cb23ca8f49c1c053710031b0316b10d55fbab4
* Part of Bug 5252423: Crash in summary text when time out is 0Gilles Debunne2011-09-021-27/+16
| | | | | | | | | Negative value will show no summary. Zero is no longer a special case. It will display the first summary, like any value below it. Change-Id: I88d49cac844fb2dc347bef94ac033df9255d748f
* Report current font size in the 'Font size' setting summaryChristopher Tate2011-07-291-3/+13
| | | | | | Bug 5022057 Change-Id: I74a266bc70fd885fd15ac09915b205b9b3e10679
* Fix issue #4976176: Font size setting does not persistDianne Hackborn2011-07-191-1/+1
| | | | Change-Id: Ie36c97680f43414b5cdc1615519527ba5e8fa902
* Bug 5003461 - Removed animation optionGilles Debunne2011-07-081-93/+12
| | | | | | Associated change in DatabaseHelper to reset this value in the database. Change-Id: I530da617c44773fad31e62f595d0c335daf64148
* Dream (screensaver) settings.Daniel Sandler2011-05-261-15/+39
| | | | | | | | Depends on change Ied691856 for Settings.Secure.DREAM_TIMEOUT and Settings.Secure.DREAM_COMPONENT. Change-Id: Ib6f74b74036e12637efb891b97e459a4e33444e7
* Fix possible NPE when Screen settings is launched quickly in succession.Amith Yamasani2011-03-111-0/+7
| | | | | Bug: 3368440 Change-Id: Icbcd0474978e20a055ec27f5960e9a4b98f4a68a
* Add font size preference.Dianne Hackborn2011-03-041-0/+44
| | | | | | Shamelessly stolen from SpareParts. Change-Id: I5bcdc5c738a0b2af7e7bd8dae303997c28298086
* Track changes to brightness and orientation lock in Settings.Amith Yamasani2011-02-281-0/+23
| | | | | | | | | | | | | | Bug: 3491814 Bug: 3482859 Bug: 3497535 Since the system bar can now change brightness and orientation lock, Settings needs to listen to changes to those settings and reflect in the UI. Also fix a problem with restoring state on cancel when the brightness dialog is invoked a second time. Change-Id: I3ada6e77df9a6b013a16061877fcb6b55c94a903
* Fix 3333434: Rename "Display" to "Screen" and make dynamicJim Miller2011-01-091-6/+25
| | | | | | | This changes the setting "Display" to "Screen" and updates the timeout summary to reflect the current setting. Change-Id: Id8209d445f65a0908ae8093a8f5f7f951f333053
* Refactor settings top level activities to use fragments.Amith Yamasani2010-08-181-8/+8
| | | | | | | | | | | | | Added a base class SettingsPreferenceFragment from which the settings activities should be derived so that they can behave like fragments. It contains some commonly called utility methods and dialog conversion to DialogFragment. Some of the top-level activities can be launched directly without the left pane. Settings.java acts as a proxy activity that contains just that settings fragment without the left pane. There are still a lot of second and third level activities that need to be fragmentized. This is just the first pass to test the 2-pane layout.
* Fix 2582241: Update selection based on user setting instead.Jim Miller2010-04-131-3/+10
| | | | | | | | | | | When the user adds a DPM, Settings removes all display timeout options with t > maxTimeout. It was incorrectly setting the preference to maxTimeout. The corrected code picks the user's preference if less than maxTimeout or nothing otherwise. Change-Id: I5a47fdce89f4cf216fd76bb585c3c0120b39db92
* Fix 2527411: Remove unusable display timeouts from Settings.Jim Miller2010-03-291-8/+30
| | | | | | | | | This fix removes unusable display timeouts from Settings when a device policy is enabled. Patch 3 catches the case where not having any active policies clears the list. Change-Id: I5b08d420c73b1c2e6fe2bb4e65656790290574cd
* Settings: Refactor for new API and remove some unused references / importsSan Mehat2010-02-081-1/+0
| | | | Signed-off-by: San Mehat <san@google.com>
* Refactor settings hierarchy and clump all volumes in one dialog.Amith Yamasani2010-01-251-0/+177
Bug:2362077 Bug:2312836 Bug:2166486 Split Sound and Display into separate top-level settings. All volume settings (including Alarm volume) now in one Volume dialog. Remove some sub-texts to reduce clutter.