Searched refs:lux (Results 1 – 5 of 5) sorted by relevance
54 if (lastNode.lux <= scalar && scalar < curNode.lux) { in CalculateAutoBrightness()55 brightness = static_cast<uint32_t>(lastNode.brightness + (scalar - lastNode.lux) * in CalculateAutoBrightness()56 ((curNode.brightness - lastNode.brightness) / (curNode.lux - lastNode.lux))); in CalculateAutoBrightness()
31 virtual void SetAmbientLight(float lux) = 0;
37 float lux; member
40 void SetAmbientLight(float lux) override;
263 void ScreenBrightnessTask::SetAmbientLight(float lux) in SetAmbientLight() argument265 IAM_LOGI("receive ambient light %{public}f", lux); in SetAmbientLight()268 currentAmbientLightLux_ = lux; in SetAmbientLight()