Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
FormelLMS
Old
#1  
FormelLMS's Avatar
Recognized Developer - OP
Thanks Meter 262
Posts: 2,254
Join Date: Oct 2009

 
DONATE TO ME
Default [REQUEST] Modding the LightSensor

Do you like the light Sensor on Nexus?
I didn't like it.
It's a very good feature, but it works strange.

It is slow in dimming and took already not enough light to the display.
Nexusdisplay is dark dark dark...

Does anybody know, how to tweak this sensor?

Or am I the only one who dislike it very much?
Recognized Developer "OFF-Duty" Temporarily in Retirement
Dev of FormelsMIUI Mod on Nexus One
Dev of KelLMSKing MIUI Mod on Nexus S
Themes for HTC Hero, Nexus One, Incredible S a.s.o.
 
daveid
Old
#2  
Senior Member
Thanks Meter 265
Posts: 1,732
Join Date: Jan 2009
I just set my brightness manually. Done deal.
 
FormelLMS
Old
#3  
FormelLMS's Avatar
Recognized Developer - OP
Thanks Meter 262
Posts: 2,254
Join Date: Oct 2009

 
DONATE TO ME
Perfect.
In the Night I'll put my sunglasses on or at a sunny day I take my nexus blind...

Wherefor is the sensor if it don't work proper?
There must be some settings for...
Recognized Developer "OFF-Duty" Temporarily in Retirement
Dev of FormelsMIUI Mod on Nexus One
Dev of KelLMSKing MIUI Mod on Nexus S
Themes for HTC Hero, Nexus One, Incredible S a.s.o.
 
erinata
Old
#4  
Member
Thanks Meter 0
Posts: 33
Join Date: Jun 2009
I think the light sensor works great but it would be even better if we can customize it a little bit. Something like scale up the screen brightness for each level of external light.

Or something like auto lock when it is totally dark (you put it into your pocket?).....but that would cause trouble if you want to use your phone in the theater
 
brandenk
Old
#5  
brandenk's Avatar
Senior Member
Thanks Meter 37
Posts: 1,117
Join Date: Aug 2007
Location: San Diego
I think the light sensor is terrible. I have tried everything but it still seems very finicky on when it will work properly. I regularly go from low light to sunny outdoors and having the feature would properly would be awesome, especially since it worked fine on my last 2 phones and they arent even close to being a superphone.
Samsung GS3 ← Evo 3D ← Evo 4G ← Nexus One ← MyTouch ← G1 ← HTC TyTN
 
cyanogen
Old
#6  
cyanogen's Avatar
Recognized Developer
Thanks Meter 5459
Posts: 2,486
Join Date: Jan 2009
Location: Seattle

 
DONATE TO ME
Trying to make it transition smoother is something I've been meaning to try. The settings for this are in the source tree at frameworks/base/core/res/res/values/config.xml (I override this in my passion vendor overlay). You can tweak the values and rebuild framework-res to try it out.
 
rheza02
Old
#7  
Senior Member
Thanks Meter 6
Posts: 424
Join Date: May 2006
oh cyanogen, You Are GOD!
 
FormelLMS
Old
#8  
FormelLMS's Avatar
Recognized Developer - OP
Thanks Meter 262
Posts: 2,254
Join Date: Oct 2009

 
DONATE TO ME
Where we can find it?
I've searched the whole framework.
Recognized Developer "OFF-Duty" Temporarily in Retirement
Dev of FormelsMIUI Mod on Nexus One
Dev of KelLMSKing MIUI Mod on Nexus S
Themes for HTC Hero, Nexus One, Incredible S a.s.o.
 
Hero_Over
Old
#9  
Account currently disabled
Thanks Meter 0
Posts: 747
Join Date: Oct 2009
Location: Anaheim
ha he meant the source tree for framework provided by google. not in the framework-res inside of the zip of the rom you are using.
 
scote
Old
#10  
scote's Avatar
Senior Member
Thanks Meter 29
Posts: 306
Join Date: Mar 2007
two things I noticed about it:

1 It dims and brightens too quick, it should take an average light level over a longer time period

2 Our fluorescent lights in the office at work seem to confuse it, so that could mean that the lens is too focussed and if you hit one of the lights it goes too bright, miss and it goes too dim as you move around and/or the wavelength of the lights confuse it - though this problem may be more bearable if #1 above is fixed.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more