Home
last modified time | relevance | path

Searched refs:mStagedBrightness (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp173 if (mStagedBrightness && mBrightness != mStagedBrightness) { in setPowerMode()
174 getCompositionDisplay()->setNextBrightness(*mStagedBrightness); in setPowerMode()
175 mBrightness = *mStagedBrightness; in setPowerMode()
177 mStagedBrightness = std::nullopt; in setPowerMode()
274 mStagedBrightness = brightness; in stageBrightness()
278 if (mStagedBrightness && mBrightness != mStagedBrightness) { in persistBrightness()
280 getCompositionDisplay()->setNextBrightness(*mStagedBrightness); in persistBrightness()
282 mBrightness = *mStagedBrightness; in persistBrightness()
284 mStagedBrightness = std::nullopt; in persistBrightness()
288 return mStagedBrightness; in getStagedBrightness()
DDisplayDevice.h235 std::optional<float> mStagedBrightness; variable