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 | 63 dumpVal(out, "displayBrightness", displayBrightness); in dump()
|
D | Display.cpp | 209 displayId && getState().displayBrightness) { in applyDisplayBrightness() 212 hwc.setDisplayBrightness(*displayId, *getState().displayBrightness, in applyDisplayBrightness() 221 editState().displayBrightness.reset(); in applyDisplayBrightness()
|
D | Output.cpp | 215 editState().displayBrightness = brightness; in setNextBrightness()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputCompositionState.h | 150 std::optional<float> displayBrightness = std::nullopt; member
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 248 float sdrBrightness, float sdrBrightnessNits, float displayBrightness, in nativeSetDisplayBrightness() argument 2543 float sdrBrightnessNits, float displayBrightness, float displayBrightnessNits) { in setDisplayBrightness() argument 2545 if (Float.isNaN(displayBrightness) || displayBrightness > 1.0f in setDisplayBrightness() 2546 || (displayBrightness < 0.0f && displayBrightness != -1.0f)) { in setDisplayBrightness() 2548 + " and 1.0f, or -1 to turn the backlight off: " + displayBrightness); in setDisplayBrightness() 2556 displayBrightness, displayBrightnessNits); in setDisplayBrightness()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1841 jfloat displayBrightness, jfloat displayBrightnessNits) { in nativeSetDisplayBrightness() argument 1849 brightness.displayBrightness = displayBrightness; in nativeSetDisplayBrightness()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayTest.cpp | 646 EXPECT_FALSE(state.displayBrightness.has_value()); in TEST_F()
|
D | OutputTest.cpp | 594 ASSERT_TRUE(mOutput->getState().displayBrightness.has_value()); in TEST_F() 595 EXPECT_EQ(kDisplayBrightness, mOutput->getState().displayBrightness); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2052 display->stageBrightness(brightness.displayBrightness)); in setDisplayBrightness() 2069 brightness.displayBrightness, in setDisplayBrightness()
|