summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DreamSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Settings: RTL layout fixesOr Harambam2013-01-191-1/+1
| | | | | | | | | | Replaced Left with Start, and Right with End to fit Google's new RTL API. Replaced setPadding with setPaddingRelative (which uses Start and End instead of Left and Right) around switches to make them look right in RTL UIs Added RTL Support to LinearColorBar in order to make App Management's storageBar compatible with the RTL UI. Reversed App Management's ViewPager in RTL langs Fastscroll aligned to the left Change-Id: I495f4794a9861fa01692d766ef86f4fdd8e4b38d
* More descriptive summary for "Sleep Mode" pref.Daniel Sandler2012-10-181-2/+12
| | | | | | | | | | 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 the dream enable switch in all conditions.Chris Wren2012-09-261-14/+17
| | | | | Bug: 7229905 Change-Id: I3fc3b2e8ce1e8bb08c72daed9c5d33ce5ff343c6
* Dream Settings: Disable settings icon if not selected.John Spurlock2012-09-101-0/+2
| | | | | Bug:7129176 Change-Id: I6ceb6b7bd37032197ab3777901156c9424cbc301
* Dream settings: list items back to constant heightJohn Spurlock2012-09-051-24/+29
| | | | | | | | | | | Expanding/collapsing items removed, settings icon shown on right with divider if applicable. New "Start" action on the action bar to start dreaming. This is no longer in preview/test mode, but a call to .dream(). Bug: 7010260 Change-Id: Ia1d8b9a70218dcc598bf62befbf545f572bbc6b1
* More traditional list item style for dreams settings.John Spurlock2012-08-301-40/+78
| | | | | | | | | | | | | Other improvements: - remove "Start dreaming now", promote "When to dream" to action bar - added logging - hide dream settings button if n/a - new flat style for settings/preview + dividers - refresh dreams list when packages are installed/uninstalled - added placeholder for help url Bug:7010260 Change-Id: Ia443b4f76678eaf1a52b907d50aefb0d8f7e4748
* New dream settings - first cutJohn Spurlock2012-08-291-91/+250
| | | | | | | | | | | | | | | 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
* Settings: Minimal refactor to support new dreams api.John Spurlock2012-08-231-3/+11
| | | | | | | | | Fix breaking changes to the dreams api. Master toggle and multiple dreams support in Settings will be done in a subsequent change. Bug:7028665 Change-Id: Ia56dd00ec50323fbba06473b1747e5015a3f1898
* Re-enable dreams: SettingsJohn Spurlock2012-08-021-79/+63
| | | | | | | | | | | | 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
* Make Settings app aware of layout directionFabrice Di Meglio2012-07-241-1/+1
| | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
* Show screen saver toggle on tablets.Daniel Sandler2011-11-291-12/+13
| | | | | Bug: 5669263 Change-Id: I16ca00ff96b17cc367c4f6fa4260da5a08480ac0
* Settings changes for Android Dreams (now Screen Candy).Daniel Sandler2011-11-171-62/+92
| | | | | | | | | | | - new preference design - remove candy-specific timeout - use new settings keys Requires Change I31f31b3 Bug: 5591015 Change-Id: I45cb6ea5c68f9932c6d4e65e2b219331d48a62d6
* Dream (screensaver) settings.Daniel Sandler2011-05-261-0/+128
Depends on change Ied691856 for Settings.Secure.DREAM_TIMEOUT and Settings.Secure.DREAM_COMPONENT. Change-Id: Ib6f74b74036e12637efb891b97e459a4e33444e7