Searched refs:MAX_BRIGHTNESS (Results 1 – 2 of 2) sorted by relevance
64 constexpr uint32_t MAX_BRIGHTNESS = 255; variable109 if (val > MAX_BRIGHTNESS) { in GetIncreaseBrightnessMax()111 return MAX_BRIGHTNESS; in GetIncreaseBrightnessMax()
30 const uint32_t MAX_BRIGHTNESS = DisplayPowerMgrClient::GetInstance().GetMaxBrightness(); variable68 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()