History log of /frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5483cea67a60d3c5012fa7120f62e6eacc6ad3ba 02-Feb-2017 Justin Klaassen <justinklaassen@google.com> Remove experimental twilight-based automatic brightness

Bug: 31602449
Test: verified adaptive brightness no longer varies with twilight with
"brightness_use_twilight" set to "1".

Change-Id: I6b5f7310020b2128c2b292414a205b6052270a0a
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
5d7170963ac0cfa30400292841c3673b8cdea5b5 25-Oct-2016 Julius D'souza <jdsouza@google.com> Add initial ambient light sensor rate

Bug: 32153559
Test: Existing tests pass.

Change-Id: Ic54bded46f88991290ed1e4d2574f865b6f598ec
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
428aed01e1e2923968027dff57132d8d8d5c4905 08-Aug-2016 Julius D'souza <jdsouza@google.com> Add dynamic illuminance hysteresis support

Bug: 18572096

Change-Id: Ie0ff1990b8f4a3d435328834871f04a6e2bd5e97
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
908b86c796443ba4ec55c669e8a0297fc80574a6 08-Aug-2016 Justin Klaassen <justinklaassen@google.com> TwilightService v2.0

- Switched to using CalendarAstronomer for more accurate sunrise/sunset
times.
- Exposed sunrise/sunset times via TwilightState so that clients can
track the current twilight period and perform their own
interpolations.
- Adopted LocationRequest API for fused location updates:
(low power, min 1h, max 10m).
- TwilightService is now only activated when a listener is registered,
minimizing impact to system health on platforms / configurations
where twilight state is not needed.

Bug: 28588307
Bug: 30190450
Bug: 30282370
Bug: 30650316
Change-Id: Ic5c94d8608e8bb3a3d895e623676a1468d4abdcd
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
103fb78ac1b91874f8b90cc5a165e6f0502179c4 22-Apr-2016 Michael Wright <michaelwr@google.com> Add ambient light ring buffer for initial data gathering period.

We're seeing reports of the display being too dim at initial wake up.
Saving the buffer for this initial period lets determine whether this
is a calculation error or something wrong with the sensor readings.

Bug: 27951906
Change-Id: I96b5dd0772de056c3c5e54d59c13d1a3d902d343
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
5dbd4aad809e6fec51df62280bcc1bfe05cc7df5 07-Feb-2016 Jason Monk <jmonk@google.com> SysUI Tuner: Night mode v3

TwilightService:
- Add support for locking on/off twilight globally
- Change twilight state to have float amount rather than
having clients calculate it using the sunrise/set values
- State controlled through secure setting
- Override mode which locks to a state for a couple hours then
resets
- Add broadcast for SysUI to listen to

Brightness/Power:
- Updates to handle TwilightService changes
- Added secure setting to control whether or not to use
twilight when calculating brightness.

Tuner:
- UI Overhall
- NightModeController will set the values of the custom color matrix
taking into account the current twilight service state and any
custom calibration set by the user.
- Probably other stuff.

Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
6fc42f549a6a67fe48e6e8e368dc2b164030d7c3 10-Dec-2015 Zoran Jovanovic <zoran.jovanovic@sonymobile.com> Customize auto-brightness parameters

Auto-brightness parameters are device dependent so they should be
configurable.

The common issue with original values manifests as the screen being
perceived as too bright in dark rooms with minimum brightness and
also laginess on backlight change.

Change-Id: I2b040608bca73a3397c65c24d3b28a1514499ae6
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
a576b4d3be8687f0a65fc5777424955d551604e4 24-Apr-2015 Jeff Brown <jeffbrown@google.com> Add code to collect data about auto-brightness adjustments.

Write samples of the old and new state to the binary event log whenever
the user modifies the auto-brightness adjustment. We wait a few seconds
before logging to ensure that the user is satisfied with the adjustment.

Bug: 19786916
Change-Id: I41402decd1034d0839aa0f47495bc00907ab9c08
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
d81ecd12cec5e1efa8ca49036bb023746f63d90a 06-Feb-2015 Filip Gruszczynski <gruszczy@google.com> Support for faster brightness response to light changes.

Bug: 18572096

Change-Id: Ic9448db672b036779d16883f3476249cea45d97a
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
a15aa7d426972daecc0e8cd31dcf4d6bc656f1e9 28-Oct-2014 Filip Gruszczynski <gruszczy@google.com> Automatic brightness using ALS while dozing.

Bug: 16525667

Change-Id: Ib75cfebf46f2c122e7b68556591b601d22a318e1
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
970d4132ea28e748c1010be39450a98bbf7466f3 19-Jul-2014 Jeff Brown <jeffbrown@google.com> Allow dreams to control screen state and brightness.

Added setDozeScreenState() and setDozeScreenBrightness() methods to
DreamService. The values specified here only take effect once
startDozing is called and can be changed while dozing.

This required some significant rework of the display power controller
but the result seems quite nice and better represents the policy
we want to apply.

Changed the test dream a little bit to make it flash the screen
every minute using the new functions.

Bug: 15903322
Change-Id: I83bcc34503f1b87727d2b2b3c0ef08507f9f0808
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
6dee605c834fe4926cc1ae5c584563bdb2b608a1 14-May-2014 Adrian Roos <roosa@google.com> Fix adaptive auto brightness bugs

Fix update of the light sensor in AutoBrightnessController.
Register observer for Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ.

Change-Id: I5201259c4efc0afa200fea3ad9fe3af2991d8676
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
daf7d410fc97647f2b3ab4254f73c09c923018de 13-May-2014 Adrian Roos <roosa@google.com> A better auto brightness

Bug: 14927472
Change-Id: I62d0695b7da16ffa7a27c465c3b6bc4b1515f9c0
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java
131206b8a9d07400d7c98aea50cc45c38769448f 09-Apr-2014 Jeff Brown <jeffbrown@google.com> Move display power controller to display manager service.

This refactoring is in preparation for enabling the display manager
to have more control over the blanking state of individual displays.
There are no functional changes. Some bits will be cleaned up in
a subsequent patch.

Bug: 13133142
Change-Id: I159a060088344d8e6fcdf9208a1f242960f7ab90
/frameworks/base/services/core/java/com/android/server/display/AutomaticBrightnessController.java