From a6a276ea5683135c14f842b32ce9c30e899f4465 Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Wed, 7 Dec 2011 19:44:22 -0800 Subject: tuna: autobrightness: overhaul brightness table Bump minimum from 16->19 since Prime ALS sensor reads minimum for a wide range of low light levels. Set second brightness bin just above minimum reading, to minimize the range of light levels that use the lowest brightness. Recalculate ALS/brightness curve so can add more points reasoably linearly (from Arve). Add many more brightness bins, avoiding steep cliffs of previous table. Change-Id: I35be4e273d3379dc7db41657b6a968f32aa73a1f Signed-off-by: Todd Poynor --- .../frameworks/base/core/res/res/values/config.xml | 48 +++++++++++++++++----- 1 file changed, 38 insertions(+), 10 deletions(-) (limited to 'overlay') diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index e32862c..e6cfdae 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -65,11 +65,25 @@ Must be overridden in platform specific overlays --> - 7 - 107 - 244 - 440 - 4080 + 6 + 9 + 14 + 20 + 30 + 46 + 68 + 103 + 154 + 231 + 346 + 519 + 778 + 1168 + 1752 + 2627 + 3941 + 5912 + 8867 - 16 - 40 - 60 - 70 - 70 + 19 + 23 + 26 + 30 + 34 + 39 + 45 + 51 + 59 + 67 + 77 + 88 + 101 + 116 + 133 + 152 + 174 + 199 + 228 250 -- cgit v1.1