Searched refs:BRIGHTNESS_MAX (Results 1 – 8 of 8) sorted by relevance
25 const uint32_t DisplayAutoBrightness::BRIGHTNESS_MAX = DisplayParamHelper::GetMaxBrightness(); member in OHOS::DisplayPowerMgr::DisplayAutoBrightness34 TRANSFORM_NODE_BRIGHTNESS_FIRST_PER * (BRIGHTNESS_MAX - BRIGHTNESS_MIN));36 TRANSFORM_NODE_BRIGHTNESS_SECOND_PER * (BRIGHTNESS_MAX - BRIGHTNESS_MIN));42 {LUX_MAX, BRIGHTNESS_MAX},47 uint32_t brightness = BRIGHTNESS_MAX; in CalculateAutoBrightness()
31 int32_t value = SysParam::GetIntValue(KEY_MAX_BRIGHTNESS, BRIGHTNESS_MAX); in GetMaxBrightness()
46 const uint32_t DisplayPowerMgrService::BRIGHTNESS_MAX = DisplayParamHelper::GetMaxBrightness(); member in OHOS::DisplayPowerMgr::DisplayPowerMgrService318 return BRIGHTNESS_MAX; in GetMaxBrightness()645 if (brightnessValue > BRIGHTNESS_MAX) { in GetSafeBrightness()647 brightnessValue = BRIGHTNESS_MAX; in GetSafeBrightness()667 if (static_cast<uint32_t>(BRIGHTNESS_MIN / safeDiscount) > BRIGHTNESS_MAX) { in GetSafeDiscount()701 if (brightness > BRIGHTNESS_MAX) { in GetBrightnessFromLightScalar()702 brightness = BRIGHTNESS_MAX; in GetBrightnessFromLightScalar()
41 static constexpr uint32_t BRIGHTNESS_MAX = 255; variable
44 static const uint32_t BRIGHTNESS_MAX; variable
93 static const uint32_t BRIGHTNESS_MAX; variable
79 static constexpr uint32_t BRIGHTNESS_MAX {255};
171 RETURN_IF_WITH_RET(proxy == nullptr, BRIGHTNESS_MAX); in GetMaxBrightness()