vendredi 26 décembre 2014

[Q] where is light sensor code in cm/android source topic






Hi guys.
Do you know where is the code responsible for converting raw light sensor readings that it gets from sysfs into values we get through sensor manager? What I've noticed is that values in sysfs are continuous (0-65000) and those from sensor manager are not - all I get is 0, 7, 75, 1000, 10000 (Samsung s advance, Vanir rom). I'd like to improve auto brightness algorithm a bit but for this i need more values...

I've been digging in android source code for some time and I can't find this.






Aucun commentaire:

Enregistrer un commentaire