| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
BUG: 15512088
Change-Id: Ibe38525b78d06e97cdf7e6369ca8179ab63e59d7
|
|
|
|
|
| |
Bug: 7304957
Change-Id: I3894f6fc9ae1aef92bff328006601af518111983
|
|
|
|
|
|
|
|
|
| |
The check box for "Automatic brightness" should not be visible in
Brightness screen if the product configuration
config_automatic_brightness_available in config.xml is set to false.
Change-Id: I0d81137723d0eacd97aa88bf08b69e12dd4d73fa
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>
|
|
|
|
|
|
| |
This feature is experimental and disabled by default.
Change-Id: I9c3c77d6d207ceec65e0babc7915db8d439d5da2
|
|
|
|
|
|
|
| |
The feature is still disabled, it's just disabled using
a flag now.
Change-Id: I43ceaa5ab9b7252e3882c8b2d48c9844afb806c3
|
|
|
|
| |
Change-Id: If0c58a9bee05ec0de434879e78cd95299e54e3fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two issues:
- The new brightness was not being applied when switching out
of auto-brightness mode.
- We were resetting to the last brightness level when switching
modes. This is because at that point we read the current
brightness setting, but that isn't changed as the user adjusts
only when the final value is committed. To fix this, we have
a new local variable keeping track of the last brightness value
we have shown and use that when we haven't committed the
brightness to settings.
Change-Id: I7cc02c9f90128eacec427587a3f6b8f25ede4bd3
|
|
|
|
|
| |
Bug: 6435382
Change-Id: Ieea857644dc0cf758e0ff4fd595c6a0115457df0
|
|
|
|
|
|
| |
Not yet ready for release.
Change-Id: I4668e890080d63a29aeeeab4daad6a6466ae36af
|
|
|
|
|
|
|
|
|
| |
getBrightness() was calculating the brightness ratio the wrong
way, resulting in brightness fractions always greater than 1.0
being produced (maximum brightness).
Bug: 6377115
Change-Id: Ia2fbae505ffdc382005722d25301bfb689b585fb
|
|
|
|
| |
Change-Id: I191051989bad68f31210bbc717fbabd59d4585a1
|
|
|
|
| |
Change-Id: Ie152def12cf7befd9c15a19f9975c207cbb5c541
|
|
|
|
|
|
|
| |
Remove use of deprecated android.os.Power.BRIGHTNESS_DIM (20) + 10.
Change-Id: I24aff7d7fc93b4b67dedb1047bbbd4dbe3fae382
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|
|
|
| |
Change-Id: Ie1fba2633806a50b5282728dce447be2162ad67f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Bug: 2524213
|
|
|
|
| |
title bar.
|
|
|
|
|
|
|
|
|
| |
automatic mode.
Fixes bug b/2226257 (Brightness wonky)
Change-Id: Ibe1d06fc907960dcb6a70faa92e6c3a562016865
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
mode.
Fixes a problem that could result in the backlight getting set to a bogus brightness
level if you open the dialog and cancel when in automatic mode.
Bug b/2015734
Change-Id: I302697e4ebd37afcdbfdd74ba0b1cc9be27ee40b
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
| |
We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Change-Id: I1850549f513e3541b5761aae28ebc615410377de
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
| |
Fixes b/2121632
Change-Id: I14228a4fd1d599de1e5fdbb3c8b4b3c02a1460ac
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
|
| |
to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming
Change-Id: Ic4faa008357fd3d74225ba90f05801c5127fd8c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add changes to have the ability to turn on and off the
automatic light sensing for the device. This is fully configurable
and is by default not present. Vendors should override the ALS setting
to enable the automatic lighting controls.
These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.
If the user selects auto then the slide bar will become invisible. Manual mode
will present the slide bar to the user.
Change-Id: I512c9d5dd72ddd831b33eb8fcd4680e2fc7f786e
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
|
| |
|
| |
|
|
|