W3C home > Mailing lists > Public > www-style@w3.org > August 2012

RE: Next step for DAP Ambient Light Events

From: Tran, Dzung D <dzung.d.tran@intel.com>
Date: Mon, 27 Aug 2012 17:59:17 +0000
To: Doug Turner <dougt@mozilla.com>
CC: "www-style@w3.org" <www-style@w3.org>, "public-device-apis@w3.org" <public-device-apis@w3.org>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Message-ID: <84BCA539DD96614691177EDA3CE4FF0546BCD34B@ORSMSX101.amr.corp.intel.com>
A quick un-scientific test:

                                    Nexus 7 tablet (JB)       Galaxy Nexus Phone (ICS)                  Xolo Phone (ICS)

Office lighting:           ~550 lux                                    ~170                                                 ~700

Flash light (1"):          ~40,000                                   ~12000                                             ~48,000


Thanks


-----Original Message-----
From: Doug Turner [mailto:dougt@mozilla.com] 
Sent: Sunday, August 26, 2012 8:46 PM
To: Tran, Dzung D
Cc: www-style@w3.org; public-device-apis@w3.org; Daniel Glazman
Subject: Re: Next step for DAP Ambient Light Events

I am not sure I follow what your worry is.  Suppose we have a sensor who's range is only inside one of the defined 'types'.  Implementation would still fire change notifications when the lux value changes.

Doug


----- Original Message -----
From: "Dzung D Tran" <dzung.d.tran@intel.com>
To: "Doug Turner" <dougt@mozilla.com>, "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: www-style@w3.org, public-device-apis@w3.org
Sent: Friday, August 24, 2012 3:10:32 PM
Subject: RE: Next step for DAP Ambient Light Events

My thoughts:

Ambient light sensors have different range in lux depending on the manufacture and type of use.  I don't know if it makes sense to map these values into "type".

Just a couple data point from googling..:

http://www.maxim-ic.com/datasheet/index.mvp/id/7175

http://www.intersil.com/en/products/optoelectronics/ambient-light-and-proximity-sensors/light-to-digital-sensors/ISL29011.html



Thanks


-----Original Message-----
From: Doug Turner [mailto:dougt@mozilla.com]
Sent: Wednesday, August 22, 2012 10:40 PM
To: Daniel Glazman
Cc: www-style@w3.org; public-device-apis@w3.org
Subject: Re: Next step for DAP Ambient Light Events

We might consider exposing a string 'type' to the light event that matches what was outlined by [1].  I think I would be okay with that as so long as it was an optional field of the event.

Thoughts?

----- Original Message -----
From: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
To: public-device-apis@w3.org
Cc: www-style@w3.org
Sent: Wednesday, August 22, 2012 11:26:12 AM
Subject: Re: Next step for DAP Ambient Light Events

Le 22/08/12 17:43, Frederick.Hirsch@nokia.com a écrit :

> Doug
>
> What is the next step for the Ambient Light Events [1]?
>
> It seems we need to incorporate some changes related to levels of 
> lighting, and it looks like the conversation on the list has reached a 
> conclusion, is the following a proposal to work from:
> http://fremycompany.com/BG/2012/Ambient-light-sensors-and-CSS-Media-Qu

> eries-971/

Maybe this is more on the CSS WG side with help from your WG.
We could start discussing that for our next level of Media Queries and have you involved to be sure it's consistent with the API.
I'm not sure we need a joint effort here. What you think? Doug?

</Daniel>
--
W3C CSS Working Group, Co-chair


Received on Monday, 27 August 2012 17:59:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT