diff options
| author | 2024-02-29 16:46:51 +0000 | |
|---|---|---|
| committer | 2024-03-06 16:53:15 +0000 | |
| commit | b4201fcd1accf2b2c2760f79b499e214dcf3cf30 (patch) | |
| tree | 79c6ceb42e017f168db2e196db18f2b8d8598468 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | e5ba94cf5db775cf58f51dee11be1ac12ce01973 (diff) | |
Initial doze brightness in manual brightness mode
If there's an offload session, the initial doze brightness should be the current brightness setting * doze scale factor.
Don't use the doze scale factor for auto-brightness if there's a designated doze curve - the doze curve specifies exactly what values we want, so we shouldn't scale them.
Provide methods for the offload chip to get the current brightness setting and the brightness that will be used for doze.
Bug: 327398808
Test: adb logcat | grep -i "brightnessEvent"
Test: atest AutomaticBrightnessControllerTest
Test: atest DisplayPowerControllerTest
Change-Id: Ia51f0a21bc7cf2b4991b40b52c21cb6c0ec225aa
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions