Searched refs:displayBrightness (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_SetDisplayBrightnessTest.cpp | 52 EXPECT_EQ(std::nullopt, displayDevice->getCompositionDisplay()->getState().displayBrightness); in TEST_F() 70 displayDevice->getCompositionDisplay()->getState().displayBrightness); in TEST_F() 88 displayDevice->getCompositionDisplay()->getState().displayBrightness); in TEST_F() 89 displayDevice->getCompositionDisplay()->editState().displayBrightness = std::nullopt; in TEST_F() 96 EXPECT_EQ(std::nullopt, displayDevice->getCompositionDisplay()->getState().displayBrightness); in TEST_F() 114 displayDevice->getCompositionDisplay()->getState().displayBrightness); in TEST_F()
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayBrightness.aidl | 28 float displayBrightness = 0f;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputCompositionState.cpp | 64 dumpVal(out, "displayBrightness", displayBrightness); in dump()
|
D | Display.cpp | 210 physicalDisplayId && getState().displayBrightness) { in applyDisplayBrightness() 212 hwc.setDisplayBrightness(*physicalDisplayId, *getState().displayBrightness, in applyDisplayBrightness() 221 editState().displayBrightness.reset(); in applyDisplayBrightness()
|
D | Output.cpp | 205 editState().displayBrightness = brightness; in setNextBrightness()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputCompositionState.h | 149 std::optional<float> displayBrightness = std::nullopt; member
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 239 float sdrBrightness, float sdrBrightnessNits, float displayBrightness, in nativeSetDisplayBrightness() argument 2645 float sdrBrightnessNits, float displayBrightness, float displayBrightnessNits) { in setDisplayBrightness() argument 2647 if (Float.isNaN(displayBrightness) || displayBrightness > 1.0f in setDisplayBrightness() 2648 || (displayBrightness < 0.0f && displayBrightness != -1.0f)) { in setDisplayBrightness() 2650 + " and 1.0f, or -1 to turn the backlight off: " + displayBrightness); in setDisplayBrightness() 2658 displayBrightness, displayBrightnessNits); in setDisplayBrightness()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1817 jfloat displayBrightness, jfloat displayBrightnessNits) { in nativeSetDisplayBrightness() argument 1825 brightness.displayBrightness = displayBrightness; in nativeSetDisplayBrightness()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayTest.cpp | 659 EXPECT_FALSE(state.displayBrightness.has_value()); in TEST_F()
|
D | OutputTest.cpp | 604 ASSERT_TRUE(mOutput->getState().displayBrightness.has_value()); in TEST_F() 605 EXPECT_EQ(kDisplayBrightness, mOutput->getState().displayBrightness); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1716 display->stageBrightness(brightness.displayBrightness)); in setDisplayBrightness() 1728 brightness.displayBrightness, in setDisplayBrightness()
|