History log of /packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eda43176e3f1fd7dcdd481e4e759c62450f96c88 09-Sep-2012 Jeff Brown <jeffbrown@google.com> Enable auto-brightness adjustment feature with system prop.

This feature is experimental and disabled by default.

Change-Id: I9c3c77d6d207ceec65e0babc7915db8d439d5da2
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
9674b32324fb9135e5c43f3f2fd8df2c2b919ede 22-Aug-2012 Jeff Brown <jeffbrown@google.com> Add a flag to control auto-brightness adjustment.

The feature is still disabled, it's just disabled using
a flag now.

Change-Id: I43ceaa5ab9b7252e3882c8b2d48c9844afb806c3
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
748ba16a046a6ac4727f2e39db9a933d81d02465 11-Aug-2012 Jeff Brown <jeffbrown@google.com> Use new power manager API.

Change-Id: If0c58a9bee05ec0de434879e78cd95299e54e3fe
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
883329ca1376054228ff67a923252121b5531265 05-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6603152: User-adjustable autobrightness broken?

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
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
defcb0060d6f816fafc27b80cdeba731954af5d0 12-May-2012 Jeff Brown <jeffbrown@google.com> Update references to PowerManager constants that have moved.

Bug: 6435382
Change-Id: Ieea857644dc0cf758e0ff4fd595c6a0115457df0
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
622fc7aa5f1cf1a3840fb3777e731c6dc5f28d62 10-May-2012 Dianne Hackborn <hackbod@google.com> Remove auto-brightness adjustment setting.

Not yet ready for release.

Change-Id: I4668e890080d63a29aeeeab4daad6a6466ae36af
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
829c79961c71f5bc96673afbbe1a91ad1a5dda25 01-May-2012 Jeff Brown <jeffbrown@google.com> Fix manual brightness adjustment.

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
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
704cc2f600c8d754efe25d3672dcd773cc16c49f 24-Apr-2012 Dianne Hackborn <hackbod@google.com> Deal correctly with an unset brightness adjustment.

Change-Id: I191051989bad68f31210bbc717fbabd59d4585a1
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
9907f6b274eec93a193852564c67731ea1dcd88f 21-Jan-2012 Dianne Hackborn <hackbod@google.com> When auto-brightness is on, you can now adjust its brightness.

Change-Id: Ie152def12cf7befd9c15a19f9975c207cbb5c541
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
a94320e332f3c14b6ebb2359cc3fe363b8dfe688 26-Oct-2011 Todd Poynor <toddpoynor@google.com> Settings use minimum manual brightness from config

Remove use of deprecated android.os.Power.BRIGHTNESS_DIM (20) + 10.

Change-Id: I24aff7d7fc93b4b67dedb1047bbbd4dbe3fae382
Signed-off-by: Todd Poynor <toddpoynor@google.com>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
c2ad2e4ce56317ad0335c8065b2ae0c276d0c880 16-Jun-2011 John Reck <jreck@google.com> SeekBarPreference -> SeekBarDialogPreference

Change-Id: Ie1fba2633806a50b5282728dce447be2162ad67f
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
26a1f898e04ca68dc8d1a58d15e9f901b09c90e2 01-Mar-2011 Amith Yamasani <yamasani@google.com> Track changes to brightness and orientation lock in Settings.

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
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
a80cf2cbf549be3d6f788a7bf391e3c7522e24ce 04-Jan-2011 Amith Yamasani <yamasani@google.com> Save and restore brightness on orientation changes.

Bug: 2524213
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
1d5c898a3df11e922a98098de905a8ea311b4333 26-Feb-2010 Amith Yamasani <yamasani@google.com> Fix for 2284833 : Remove big brightness icon and make it a small one on the title bar.
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
9878e86c452aff27e6d2d4a3673882eb1f5b6210 30-Oct-2009 Mike Lockwood <lockwood@android.com> Avoid setting screen brightness when initializing brightness dialog in automatic mode.

Fixes bug b/2226257 (Brightness wonky)

Change-Id: Ibe1d06fc907960dcb6a70faa92e6c3a562016865
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
53dcdeeb85e523e0b752d802d3413f5d4001d575 28-Oct-2009 Mike Lockwood <lockwood@android.com> Don't restore old brightness when cancelling brightness dialog in automatic 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>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
cdf42466bf3471337f1355b872eb2d529ba9409c 15-Oct-2009 Mike Lockwood <lockwood@android.com> Remove PowerManager.setAutoBrightness()

We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.

Change-Id: I1850549f513e3541b5761aae28ebc615410377de
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
65f49474d69ab867d048fc2d6c53d456e585101f 16-Sep-2009 Mike Lockwood <lockwood@android.com> Restore backlight brightness after restoring auto ALS mode.

Fixes b/2121632

Change-Id: I14228a4fd1d599de1e5fdbb3c8b4b3c02a1460ac
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
cd03f5320d42290b1619933954a344b59dc55f4f 15-Sep-2009 Mike Lockwood <lockwood@android.com> Move backlight brightness from HardwareService to PowerManager

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>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
a096888f3c7e14723168c323f0ffdb2473adf5d3 27-Aug-2009 Dan Murphy <D.Murphy@motorola.com> apps/settings: Add auto/manual brightness control to Brightness settings

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>
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
e6dd1fa1851302710ac7845d25d8ad8a5b6ee438 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java