Home
last modified time | relevance | path

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

/base/useriam/face_auth/services_ex/src/
Dscreen_brightness_task.cpp64 constexpr uint32_t MAX_BRIGHTNESS = 255; variable
109 if (val > MAX_BRIGHTNESS) { in GetIncreaseBrightnessMax()
111 return MAX_BRIGHTNESS; in GetIncreaseBrightnessMax()
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp30 const uint32_t MAX_BRIGHTNESS = DisplayPowerMgrClient::GetInstance().GetMaxBrightness(); variable
68 if (brightness < MIN_BRIGHTNESS || brightness > MAX_BRIGHTNESS) { in GetValue()
291 …value = value > static_cast<int32_t>(MAX_BRIGHTNESS) ? static_cast<int32_t>(MAX_BRIGHTNESS) : valu… in SetBrightness()