Home
last modified time | relevance | path

Searched refs:dimmingRatio (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp351 state.dimmingRatio = 1.f; in updateCompositionState()
360 state.dimmingRatio = in updateCompositionState()
547 const auto dimmingRatio = outputDependentState.overrideInfo.buffer in writeOutputDependentPerFrameStateToHWC() local
553 : outputDependentState.dimmingRatio; in writeOutputDependentPerFrameStateToHWC()
555 if (auto error = hwcLayer->setBrightness(dimmingRatio); error != hal::Error::NONE) { in writeOutputDependentPerFrameStateToHWC()
557 dimmingRatio, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC()
DOutputLayerCompositionState.cpp74 dumpVal(out, "dimmingRatio", dimmingRatio); in dump()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h170 float dimmingRatio = kDefaultDimmingRatio; member
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp697 mOutputLayer.getState().dimmingRatio); in TEST_F()
702 EXPECT_EQ(1.f, mOutputLayer.getState().dimmingRatio); in TEST_F()
711 EXPECT_EQ(1.f, mOutputLayer.getState().dimmingRatio); in TEST_F()
826 outputLayerState.dimmingRatio = kLayerBrightness; in OutputLayerWriteStateToHWCTest()