Home
last modified time | relevance | path

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

/base/powermgr/display_manager/service/native/src/
Ddisplay_auto_brightness.cpp54 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()
/base/useriam/face_auth/services/inc/
Discreen_brightness_task.h31 virtual void SetAmbientLight(float lux) = 0;
/base/powermgr/display_manager/service/native/include/
Ddisplay_auto_brightness.h37 float lux; member
/base/useriam/face_auth/services_ex/inc/
Dscreen_brightness_task.h40 void SetAmbientLight(float lux) override;
/base/useriam/face_auth/services_ex/src/
Dscreen_brightness_task.cpp263 void ScreenBrightnessTask::SetAmbientLight(float lux) in SetAmbientLight() argument
265 IAM_LOGI("receive ambient light %{public}f", lux); in SetAmbientLight()
268 currentAmbientLightLux_ = lux; in SetAmbientLight()