| /frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ | 
| D | BrightnessSynchronizerTest.java | 221     private void putIntSetting(int brightness) {  in putIntSetting()228     private void putFloatSetting(float brightness) {  in putFloatSetting()
 235     private void verifyIntWasSetTo(int brightness) throws Exception {  in verifyIntWasSetTo()
 239     private void verifyFloatWasSetTo(float brightness) {  in verifyFloatWasSetTo()
 243     private int fToI(float brightness) {  in fToI()
 247     private float iToF(int brightness) {  in iToF()
 
 | 
| D | DisplayBrightnessStateTest.java | 44         float brightness = 0.3f;  in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()  local57         assertEquals(displayBrightnessState.getBrightness(), brightness, FLOAT_DELTA);  in validateAllDisplayBrightnessStateFieldsAreSetAsExpected()  local
 
 | 
| D | DisplayPowerController2Test.java | 339         float brightness = 0.6f;  in testDisplayBrightnessFollowers_BothDpcsSupportNits()  local372         float brightness = 0.3f;  in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits()  local
 404         float brightness = 0.3f;  in testDisplayBrightnessFollowers_LeadDpcDoesNotSupportNits()  local
 434         float brightness = 0.3f;  in testDisplayBrightnessFollowers_NeitherDpcSupportsNits()  local
 559         float brightness = 0.6f;  in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower()  local
 663         float brightness = 0.6f;  in testDisplayBrightnessFollowersRemoval_RemoveAllFollowers()  local
 733         float brightness = 0.14f;  in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()  local
 771         float brightness = 0.14f;  in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()  local
 1004         float brightness = 0.3f;  in testBrightnessNitsPersistWhenDisplayDeviceChanges()  local
 1033         float brightness = 0.4f;  in testShortTermModelPersistsWhenDisplayDeviceChanges()  local
 
 | 
| D | DisplayPowerControllerTest.java | 344         float brightness = 0.6f;  in testDisplayBrightnessFollowers_BothDpcsSupportNits()  local377         float brightness = 0.3f;  in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits()  local
 409         float brightness = 0.3f;  in testDisplayBrightnessFollowers_LeadDpcDoesNotSupportNits()  local
 439         float brightness = 0.3f;  in testDisplayBrightnessFollowers_NeitherDpcSupportsNits()  local
 564         float brightness = 0.6f;  in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower()  local
 668         float brightness = 0.6f;  in testDisplayBrightnessFollowersRemoval_RemoveAllFollowers()  local
 736         float brightness = 0.14f;  in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()  local
 771         float brightness = 0.14f;  in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()  local
 1005         float brightness = 0.3f;  in testBrightnessNitsPersistWhenDisplayDeviceChanges()  local
 1035         float brightness = 0.4f;  in testShortTermModelPersistsWhenDisplayDeviceChanges()  local
 
 | 
| D | BrightnessTrackerTest.java | 296         final float brightness = 0.5f;  in testBrightnessEvent()  local383         final int brightness = 130;  in testBrightnessFullPopulatedEvent()  local
 621         final int brightness = 20;  in testWriteThenRead()  local
 756         final int brightness = 20;  in testBackgroundHandlerDelay()  local
 942     private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness) {  in notifyBrightnessChanged()
 946     private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness,  in notifyBrightnessChanged()
 953     private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness,  in notifyBrightnessChanged()
 960     private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness,  in notifyBrightnessChanged()
 969     private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness,  in notifyBrightnessChanged()
 
 | 
| D | ScreenOffBrightnessSensorControllerTest.java | 103         float brightness = 0.2f;  in testBrightness()  local
 | 
| /frameworks/base/services/core/java/com/android/server/display/brightness/ | 
| D | BrightnessUtils.java | 31     public static boolean isValidBrightnessValue(float brightness) {  in isValidBrightnessValue()55             int brightnessChangeReason, float brightness, float sdrBrightness,  in constructDisplayBrightnessState()
 65             int brightnessChangeReason, float brightness, float sdrBrightness,  in constructDisplayBrightnessState()
 
 | 
| D | DisplayBrightnessController.java | 277         float brightness = mBrightnessSetting.getBrightness();  in getScreenBrightnessSetting()  local350     public float convertToNits(float brightness) {  in convertToNits()
 365     public float convertToAdjustedNits(float brightness) {  in convertToAdjustedNits()
 
 | 
| /frameworks/base/services/core/java/com/android/server/display/ | 
| D | BrightnessSetting.java | 111     public void setBrightness(float brightness) {  in setBrightness()123                         brightness, mUserSerial  in setBrightness()  local
 150     private void notifyListeners(float brightness) {  in notifyListeners()
 164         void onBrightnessChanged(float brightness);  in onBrightnessChanged()
 
 | 
| D | BrightnessMappingStrategy.java | 322     public abstract float convertToNits(float brightness);  in convertToNits()330     public abstract float convertToAdjustedNits(float brightness);  in convertToAdjustedNits()
 350     public abstract void addUserDataPoint(float lux, float brightness);  in addUserDataPoint()
 437     protected static float normalizeAbsoluteBrightness(int brightness) {  in normalizeAbsoluteBrightness()
 442             float[] luxLevels, float[] brightnessLevels, float lux, float brightness) {  in insertControlPoint()
 483     private void smoothCurve(float[] lux, float[] brightness, int idx) {  in smoothCurve()
 561     protected Pair<float[], float[]> getAdjustedCurve(float[] lux, float[] brightness,  in getAdjustedCurve()
 617         private SimpleMappingStrategy(float[] lux, int[] brightness, float maxGamma,  in SimpleMappingStrategy()
 689         public float convertToNits(float brightness) {  in convertToNits()
 694         public float convertToAdjustedNits(float brightness) {  in convertToAdjustedNits()
 [all …]
 
 | 
| D | DisplayPowerControllerInterface.java | 101     default void setBrightness(float brightness) {  in setBrightness()111     void setBrightness(float brightness, int userSerial);  in setBrightness()
 156     void setTemporaryBrightness(float brightness);  in setTemporaryBrightness()
 
 | 
| D | DisplayBlanker.java | 26     void requestDisplayState(int displayId, int state, float brightness, float sdrBrightness);  in requestDisplayState()
 | 
| /frameworks/base/core/java/com/android/internal/display/ | 
| D | BrightnessSynchronizer.java | 182     private void handleBrightnessChangeFloat(float brightness) {  in handleBrightnessChangeFloat()192     private void handleBrightnessChangeInt(int brightness) {  in handleBrightnessChangeInt()
 203     private void handleBrightnessChange(int type, float brightness) {  in handleBrightnessChange()
 308         BrightnessUpdate(int sourceType, float brightness) {  in BrightnessUpdate()
 388         boolean swallowUpdate(int type, float brightness) {  in swallowUpdate()
 434         private String toStringLabel(int type, float brightness) {  in toStringLabel()
 
 | 
| /frameworks/base/core/java/android/hardware/display/ | 
| D | BrightnessInfo.java | 78     public final float brightness;  field in BrightnessInfo104     public BrightnessInfo(float brightness, float brightnessMinimum, float brightnessMaximum,  in BrightnessInfo()
 111     public BrightnessInfo(float brightness, float adjustedBrightness, float brightnessMinimum,  in BrightnessInfo()
 
 | 
| /frameworks/base/apct-tests/perftests/core/src/android/os/ | 
| D | DisplayPerfTest.java | 59         float brightness = 0.3f;  in testBrightnessChanges()  local74     private void setAndWaitToChangeBrightness(float brightness) throws Exception {  in setAndWaitToChangeBrightness()
 
 | 
| /frameworks/native/services/inputflinger/reader/controller/ | 
| D | PeripheralController.cpp | 46 static inline int32_t toArgb(int32_t brightness, int32_t red, int32_t green, int32_t blue) {  in toArgb()76     int brightness = brightnessOpt.value();  in getRawLightBrightness()  local
 92 void PeripheralController::Light::setRawLightBrightness(int32_t rawLightId, int32_t brightness) {  in setRawLightBrightness()
 112     int32_t brightness = getAlpha(color);  in setLightColor()  local
 156     std::optional<int32_t> brightness = getRawLightBrightness(rawId);  in getLightColor()  local
 209     std::optional<int32_t> brightness = getRawLightBrightness(rawId);  in getLightColor()  local
 232         std::optional<int32_t> brightness = getRawLightBrightness(rawId);  in getLightPlayerId()  local
 
 | 
| /frameworks/base/services/core/java/com/android/server/lights/ | 
| D | LogicalLight.java | 60     public abstract void setBrightness(float brightness);  in setBrightness()65     public abstract void setBrightness(float brightness, int brightnessMode);  in setBrightness()
 
 | 
| /frameworks/base/media/mca/filterpacks/native/imageproc/ | 
| D | brightness.c | 26   float brightness;  member78   const float brightness = params->brightness;  in brightness_process()  local
 
 | 
| /frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ | 
| D | DisplayBrightnessControllerTest.java | 268         final float brightness = 0.5f;  in testConvertToNits()  local293         float brightness = 0.5f;  in testConvertToFloatScale()  local
 325         float brightness = 0.3f;  in testLoadNitBasedBrightnessSetting()  local
 
 | 
| /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ | 
| D | DozeBrightnessHostForwarder.java | 35     public void setDozeScreenBrightness(int brightness) {  in setDozeScreenBrightness()
 | 
| D | DozeScreenBrightness.java | 196             int brightness = computeBrightness(sensorValue);  in updateBrightnessAndReady()  local263     private int clampToUserSetting(int brightness) {  in clampToUserSetting()
 276     private int clampToDimBrightnessForScreenOff(int brightness) {  in clampToDimBrightnessForScreenOff()
 
 | 
| /frameworks/base/services/core/jni/ | 
| D | com_android_server_lights_LightsService.cpp | 44 static bool validate(jint light, jint flash, jint brightness) {  in validate()82     Brightness brightness = static_cast<Brightness>(brightnessMode);  in constructState()  local
 
 | 
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ | 
| D | ImageGoodnessFilter.java | 119         float brightness = ((Float)brightnessFrameValue.getValue()).floatValue();  in onProcess()  local224             float brightness) {  in computePictureScore()
 249                 float contrastRating, float colorfulness, float brightness, float score) {  in subComputeScore()
 386     private float brightnessScore(float brightness) {  in brightnessScore()
 
 | 
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ | 
| D | DozeServiceFake.java | 56     public void setDozeScreenBrightness(int brightness) {  in setDozeScreenBrightness()
 | 
| /frameworks/native/libs/gui/fuzzer/ | 
| D | libgui_fuzzer_utils.h | 50     gui::DisplayBrightness brightness;  in getBrightness()  local
 |