Home
last modified time | relevance | path

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

/base/powermgr/display_manager/service/native/src/
Ddisplay_power_mgr_service.cpp608 float luxChangeMin = (lastLux_ / LUX_CHANGE_RATE_THRESHOLD) + 1; in IsChangedLux() local
609 if (abs(scalar - lastLux_) < luxChangeMin) { in IsChangedLux()
618 float luxChangeMin = (lastLux_ / LUX_CHANGE_RATE_THRESHOLD) + 1; in IsChangedLux() local
619 if (luxChangeMin < LUX_CHANGE_STABLE_MIN) { in IsChangedLux()
620 luxChangeMin = LUX_CHANGE_STABLE_MIN; in IsChangedLux()
622 if (abs(scalar - lastLux_) >= luxChangeMin) { in IsChangedLux()