Home
last modified time | relevance | path

Searched refs:colorXY (Results 1 – 1 of 1) sorted by relevance

/external/libweave/examples/daemon/light/
Dlight.cc57 "colorXY": {
160 "colorXY": {
255 const base::DictionaryValue* colorXY = nullptr; in OnColorXYSetConfig() local
256 if (params.GetDictionary("colorSetting", &colorXY)) { in OnColorXYSetConfig()
260 if (colorXY->GetDouble("colorX", &X)) { in OnColorXYSetConfig()
265 if (colorXY->GetDouble("colorY", &Y)) { in OnColorXYSetConfig()
288 std::unique_ptr<base::DictionaryValue> colorXY(new base::DictionaryValue()); in UpdateLightState() local
289 colorXY->SetDouble("colorX", color_X_); in UpdateLightState()
290 colorXY->SetDouble("colorY", color_Y_); in UpdateLightState()
291 state.Set("colorXY.colorSetting", colorXY.release()); in UpdateLightState()