Searched refs:gradualDuration (Results 1 – 3 of 3) sorted by relevance
/base/powermgr/display_manager/service/native/src/ |
D | screen_controller.cpp | 152 bool ScreenController::SetBrightness(uint32_t value, uint32_t gradualDuration) in SetBrightness() argument 160 return UpdateBrightness(value, gradualDuration, true); in SetBrightness() 178 bool ScreenController::DiscountBrightness(double discount, uint32_t gradualDuration) in DiscountBrightness() argument 190 return UpdateBrightness(screenOnBrightness, gradualDuration); in DiscountBrightness() 193 bool ScreenController::OverrideBrightness(uint32_t value, uint32_t gradualDuration) in OverrideBrightness() argument 204 return UpdateBrightness(value, gradualDuration); in OverrideBrightness() 207 bool ScreenController::RestoreBrightness(uint32_t gradualDuration) in RestoreBrightness() argument 214 return UpdateBrightness(cachedSettingBrightness_, gradualDuration, true); in RestoreBrightness() 222 bool ScreenController::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration) in BoostBrightness() argument 233 ret = UpdateBrightness(maxBrightness, gradualDuration); in BoostBrightness() [all …]
|
D | display_power_mgr_service.cpp | 587 uint32_t gradualDuration = floor(changeBrightness / discountStride) * animationUpdateTime; in AmbientLightCallback() local 588 pms->AdjustBrightness(mainDispId, brightness, gradualDuration); in AmbientLightCallback()
|
/base/powermgr/display_manager/service/native/include/ |
D | screen_controller.h | 57 bool SetBrightness(uint32_t value, uint32_t gradualDuration = 0); 62 bool DiscountBrightness(double discount, uint32_t gradualDuration = 0); 63 bool OverrideBrightness(uint32_t value, uint32_t gradualDuration = 0); 64 bool RestoreBrightness(uint32_t gradualDuration = 0); 67 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0); 68 bool CancelBoostBrightness(uint32_t gradualDuration = 0); 85 bool UpdateBrightness(uint32_t value, uint32_t gradualDuration = 0, bool updateSetting = false);
|