Home
last modified time | relevance | path

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

/base/powermgr/display_manager/service/native/src/
Ddisplay_auto_brightness.cpp25 const uint32_t DisplayAutoBrightness::BRIGHTNESS_MAX = DisplayParamHelper::GetMaxBrightness(); member in OHOS::DisplayPowerMgr::DisplayAutoBrightness
34 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()
Ddisplay_param_helper.cpp31 int32_t value = SysParam::GetIntValue(KEY_MAX_BRIGHTNESS, BRIGHTNESS_MAX); in GetMaxBrightness()
Ddisplay_power_mgr_service.cpp46 const uint32_t DisplayPowerMgrService::BRIGHTNESS_MAX = DisplayParamHelper::GetMaxBrightness(); member in OHOS::DisplayPowerMgr::DisplayPowerMgrService
318 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()
/base/powermgr/display_manager/service/native/include/
Ddisplay_param_helper.h41 static constexpr uint32_t BRIGHTNESS_MAX = 255; variable
Ddisplay_auto_brightness.h44 static const uint32_t BRIGHTNESS_MAX; variable
Ddisplay_power_mgr_service.h93 static const uint32_t BRIGHTNESS_MAX; variable
/base/powermgr/display_manager/interfaces/inner_api/native/include/
Ddisplay_power_mgr_client.h79 static constexpr uint32_t BRIGHTNESS_MAX {255};
/base/powermgr/display_manager/frameworks/native/
Ddisplay_power_mgr_client.cpp171 RETURN_IF_WITH_RET(proxy == nullptr, BRIGHTNESS_MAX); in GetMaxBrightness()