/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayBrightness.aidl | 31 float displayBrightnessNits = -1f;
|
/frameworks/native/services/surfaceflinger/ |
D | ScreenCaptureOutput.h | 35 float displayBrightnessNits; member
|
D | ScreenCaptureOutput.cpp | 39 output->setDisplayBrightness(args.sdrWhitePointNits, args.displayBrightnessNits); in createScreenCaptureOutput()
|
D | SurfaceFlinger.cpp | 2035 compositionDisplay->editState().displayBrightnessNits; in setDisplayBrightness() 2038 abs(brightness.sdrWhitePointNits - brightness.displayBrightnessNits) / in setDisplayBrightness() 2045 brightness.displayBrightnessNits); in setDisplayBrightness() 2054 compositionDisplay->editState().displayBrightnessNits / in setDisplayBrightness() 2059 if (brightness.sdrWhitePointNits / brightness.displayBrightnessNits != in setDisplayBrightness() 2070 brightness.displayBrightnessNits, in setDisplayBrightness() 4218 .displayBrightnessNits, in persistDisplayBrightness() 8475 auto displayBrightnessNits = DisplayDevice::sDefaultMaxLumiance; in renderScreenImpl() local 8490 displayBrightnessNits = sdrWhitePointNits; in renderScreenImpl() 8492 displayBrightnessNits = state.displayBrightnessNits; in renderScreenImpl() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputCompositionState.cpp | 60 dumpVal(out, "displayBrightnessNits", displayBrightnessNits); in dump()
|
D | Output.cpp | 288 void Output::setDisplayBrightness(float sdrWhitePointNits, float displayBrightnessNits) { in setDisplayBrightness() argument 291 outputState.displayBrightnessNits == displayBrightnessNits) { in setDisplayBrightness() 296 outputState.displayBrightnessNits = displayBrightnessNits; in setDisplayBrightness() 1410 clientCompositionDisplay.currentLuminanceNits = outputState.displayBrightnessNits > 0.f in generateClientCompositionDisplaySettings() 1411 ? outputState.displayBrightnessNits in generateClientCompositionDisplaySettings() 1418 outputState.displayBrightnessNits * hdrSdrRatioMultiplier; in generateClientCompositionDisplaySettings() 1760 if (getState().displayBrightnessNits < 0.0f || getState().sdrWhitePointNits <= 0.0f || in getHdrSdrRatio() 1768 return getState().displayBrightnessNits / getState().sdrWhitePointNits; in getHdrSdrRatio()
|
D | OutputLayer.cpp | 349 getOutput().getState().displayBrightnessNits == getOutput().getState().sdrWhitePointNits || in updateCompositionState() 350 getOutput().getState().displayBrightnessNits == 0.f || !layerFEState->dimmingEnabled) { in updateCompositionState() 352 state.whitePointNits = getOutput().getState().displayBrightnessNits; in updateCompositionState() 361 std::clamp(layerBrightnessNits / getOutput().getState().displayBrightnessNits, 0.f, in updateCompositionState() 548 ? (getOutput().getState().displayBrightnessNits != 0.f in writeOutputDependentPerFrameStateToHWC() 550 getOutput().getState().displayBrightnessNits, in writeOutputDependentPerFrameStateToHWC()
|
D | Display.cpp | 213 getState().displayBrightnessNits, in applyDisplayBrightness()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputCompositionState.h | 136 float displayBrightnessNits{-1.f};
|
D | Output.h | 59 void setDisplayBrightness(float sdrWhitePointNits, float displayBrightnessNits) override;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | CachedSetTest.cpp | 451 mOutputState.displayBrightnessNits = 400.f; in TEST_F() 457 EXPECT_EQ(mOutputState.displayBrightnessNits, displaySettings.targetLuminanceNits); in TEST_F() 463 mOutputState.displayBrightnessNits))) in TEST_F() 467 mOutputState.displayBrightnessNits))) in TEST_F() 501 mOutputState.displayBrightnessNits = 400.f; in TEST_F() 507 EXPECT_EQ(mOutputState.displayBrightnessNits, displaySettings.targetLuminanceNits); in TEST_F() 513 mOutputState.displayBrightnessNits))) in TEST_F() 517 mOutputState.displayBrightnessNits))) in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | CachedSet.cpp | 179 .targetLuminanceNits = outputState.displayBrightnessNits, in render() 193 .whitePointNits = outputState.displayBrightnessNits, in render()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | Output.h | 201 virtual void setDisplayBrightness(float sdrWhitePointNits, float displayBrightnessNits) = 0;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 690 mOutputState.displayBrightnessNits = 800.f; in TEST_F() 696 EXPECT_EQ(mOutputState.sdrWhitePointNits / mOutputState.displayBrightnessNits, in TEST_F() 701 EXPECT_EQ(mOutputState.displayBrightnessNits, mOutputLayer.getState().whitePointNits); in TEST_F() 710 EXPECT_EQ(mOutputState.displayBrightnessNits, mOutputLayer.getState().whitePointNits); in TEST_F() 838 mOutputState.displayBrightnessNits = kDisplayBrightnessNits; in OutputLayerWriteStateToHWCTest()
|
D | DisplayTest.cpp | 642 mDisplay->editState().displayBrightnessNits = kDisplayBrightnessNits; in TEST_F()
|
D | OutputTest.cpp | 3090 mOutput.mState.displayBrightnessNits = 400.f; in TEST_F() 3982 getInstance()->mOutput.mState.displayBrightnessNits = nits; in withDisplayBrightnessNits()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 249 float displayBrightnessNits); in nativeSetDisplayBrightness() argument 2543 float sdrBrightnessNits, float displayBrightness, float displayBrightnessNits) { in setDisplayBrightness() argument 2556 displayBrightness, displayBrightnessNits); in setDisplayBrightness()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1841 jfloat displayBrightness, jfloat displayBrightnessNits) { in nativeSetDisplayBrightness() argument 1850 brightness.displayBrightnessNits = displayBrightnessNits; in nativeSetDisplayBrightness()
|