Home
last modified time | relevance | path

Searched refs:maxBrightness (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp75 int rawMaxBrightness = rawInfoOpt->maxBrightness.value_or(MAX_BRIGHTNESS); in getRawLightBrightness()
94 int rawMaxBrightness = rawInfo->maxBrightness.value_or(MAX_BRIGHTNESS); in setRawLightBrightness()
307 dump += StringPrintf(INDENT4 "%d", rawInfo->maxBrightness.value_or(MAX_BRIGHTNESS)); in dump()
415 rawInfo->maxBrightness.value_or(MAX_BRIGHTNESS), rawInfo->flags.string().c_str()); in configureLights()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java165 int maxBrightness = 3; in testAod_usesLightSensorRespectingUserSetting() local
167 eq(UserHandle.USER_CURRENT))).thenReturn(maxBrightness); in testAod_usesLightSensorRespectingUserSetting()
170 assertEquals(maxBrightness, mServiceFake.screenBrightness); in testAod_usesLightSensorRespectingUserSetting()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java481 float maxBrightness = MathUtils.max( in smoothCurve() local
485 currBrightness, prevBrightness, maxBrightness); in smoothCurve()
DAutomaticBrightnessController.java975 final float maxBrightness = Math.min(mHbmController.getCurrentBrightnessMax(),
977 return MathUtils.constrain(value, minBrightness, maxBrightness);
DDisplayPowerController.java1942 final float maxBrightness = Math.min(mHbmController.getCurrentBrightnessMax(), in saveBrightnessInfo() local
1957 maxBrightness); in saveBrightnessInfo()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h190 std::optional<int32_t> maxBrightness; member
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2250 .maxBrightness = 255, in TEST_F()
9970 .maxBrightness = 255, in TEST_F()
9989 .maxBrightness = 255, in TEST_F()
9994 .maxBrightness = 255, in TEST_F()
9999 .maxBrightness = 255, in TEST_F()
10020 .maxBrightness = 255, in TEST_F()
10042 .maxBrightness = 255, in TEST_F()
10047 .maxBrightness = 255, in TEST_F()
10052 .maxBrightness = 255, in TEST_F()
10057 .maxBrightness = 255, in TEST_F()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp597 info.maxBrightness = std::nullopt; in configureLightsLocked()
619 info.maxBrightness = std::stoi(str); in configureLightsLocked()