From 1bfd0f463e279e3ac3f133c5e0ad11ccfd73eed5 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 22 Aug 2014 01:59:06 -0700 Subject: Improve adaptive brightness in very dark rooms. Added config_screenBrightnessDark to configure the minimum value that will be used for auto-brightness adjustment. This value is expected to be less than unadjusted minimum auto-brightness level to provide some range for the user to make the screen dimmer in dark rooms. This configuration value is set to the lowest possible level by default (1). Individual devices may need to override this value in their framework resource overlay depending on their backlight characteristics. Change-Id: I9bd3a2355c65f894dff89aeaf7661cdf38f4a6ee --- core/res/res/values/config.xml | 53 +++++++++++++--------- core/res/res/values/symbols.xml | 1 + .../server/display/DisplayPowerController.java | 37 +++++++++++++-- 3 files changed, 64 insertions(+), 27 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index df7268f..c539982 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -673,6 +673,37 @@ --> 0 + + 10 + + + 255 + + + 102 + + + 1 + + + 10 + + + 1 + - 10 - - - 255 - - - 102 - - - 1 - - - 10 -