/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessSetting.java | 99 void setBrightness(float brightness) { in setBrightness() 111 brightness); in setBrightness() local 118 private void notifyListeners(float brightness) { in notifyListeners() 132 void onBrightnessChanged(float brightness); in onBrightnessChanged()
|
H A D | BrightnessMappingStrategy.java | 264 public abstract float convertToNits(float brightness); in convertToNits() 276 public abstract void addUserDataPoint(float lux, float brightness); in addUserDataPoint() 346 protected static float normalizeAbsoluteBrightness(int brightness) { in normalizeAbsoluteBrightness() 392 private void smoothCurve(float[] lux, float[] brightness, int idx) { in smoothCurve() 598 public float convertToNits(float brightness) { in convertToNits() 603 public void addUserDataPoint(float lux, float brightness) { in addUserDataPoint() 718 float[] brightness, float maxGamma) { in PhysicalMappingStrategy() 781 float brightness = mNitsToBrightnessSpline.interpolate(nits); in getBrightness() local 814 public float convertToNits(float brightness) { in convertToNits() 819 public void addUserDataPoint(float lux, float brightness) { in addUserDataPoint() [all …]
|
H A D | DisplayBlanker.java | 26 void requestDisplayState(int displayId, int state, float brightness, float sdrBrightness); in requestDisplayState()
|
H A D | DisplayPowerController.java | 846 final float brightness = convertToNits(mPowerState.getScreenBrightness()); in initialize() local 1534 public void setTemporaryBrightness(float brightness) { in setTemporaryBrightness() 1558 private void saveBrightnessInfo(float brightness) { in saveBrightnessInfo() 1562 private void saveBrightnessInfo(float brightness, float adjustedBrightness) { in saveBrightnessInfo() 1744 private boolean isValidBrightnessValue(float brightness) { in isValidBrightnessValue() 2057 float brightness = mBrightnessSetting.getBrightness(); in getScreenBrightnessSetting() local 2140 private void notifyBrightnessChanged(float brightness, boolean userInitiated, in notifyBrightnessChanged() 2157 private float convertToNits(float brightness) { in convertToNits() 2403 private void noteScreenBrightness(float brightness) { in noteScreenBrightness() 2678 public float brightness; field in CachedBrightnessInfo
|
H A D | DisplayManagerShellCommand.java | 101 float brightness = -1.0f; in setBrightness() local
|
H A D | DisplayPowerState.java | 170 public void setSdrScreenBrightness(float brightness) { in setSdrScreenBrightness() 197 public void setScreenBrightness(float brightness) { in setScreenBrightness()
|
/aosp12/frameworks/base/core/java/android/hardware/display/ |
H A D | BrightnessInfo.java | 61 public final float brightness; field in BrightnessInfo 81 public BrightnessInfo(float brightness, float brightnessMinimum, float brightnessMaximum, in BrightnessInfo() 87 public BrightnessInfo(float brightness, float adjustedBrightness, float brightnessMinimum, in BrightnessInfo()
|
H A D | BrightnessChangeEvent.java | 36 public final float brightness; field in BrightnessChangeEvent 126 private BrightnessChangeEvent(float brightness, long timeStamp, String packageName, in BrightnessChangeEvent() 259 public Builder setBrightness(float brightness) { in setBrightness()
|
H A D | BrightnessCorrection.java | 189 float apply(float brightness); in apply() 224 public float apply(float brightness) { in apply()
|
H A D | IDisplayManager.aidl | 143 void setTemporaryBrightness(int displayId, float brightness); in setTemporaryBrightness() 146 void setBrightness(int displayId, float brightness); in setBrightness()
|
/aosp12/frameworks/native/services/inputflinger/reader/controller/ |
H A D | PeripheralController.cpp | 46 static inline int32_t toArgb(int32_t brightness, int32_t red, int32_t green, int32_t blue) { in toArgb() 72 int brightness = brightnessOpt.value(); in getRawLightBrightness() local 88 void PeripheralController::Light::setRawLightBrightness(int32_t rawLightId, int32_t brightness) { in setRawLightBrightness() 108 int32_t brightness = getAlpha(color); in setLightColor() local 152 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightColor() local 206 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightColor() local 229 std::optional<int32_t> brightness = getRawLightBrightness(rawId); in getLightPlayerId() local
|
/aosp12/frameworks/base/services/core/java/com/android/server/lights/ |
H A D | LogicalLight.java | 60 public abstract void setBrightness(float brightness); in setBrightness() 65 public abstract void setBrightness(float brightness, int brightnessMode); in setBrightness()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
H A D | BrightnessTrackerTest.java | 299 final float brightness = 0.5f; in testBrightnessEvent() local 329 final int brightness = 130; in testBrightnessFullPopulatedEvent() local 430 final int brightness = 20; in testLimitedSensorEvents() local 597 final int brightness = 20; in testWriteThenRead() local 650 final int brightness = 20; in testWritePrunesOldEvents() local 778 final int brightness = 20; in testBackgroundHandlerDelay() local 927 private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness) { in notifyBrightnessChanged() 931 private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness, in notifyBrightnessChanged() 938 private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness, in notifyBrightnessChanged()
|
/aosp12/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 26 float brightness; member 78 const float brightness = params->brightness; in brightness_process() local
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeBrightnessHostForwarder.java | 32 public void setDozeScreenBrightness(int brightness) { in setDozeScreenBrightness()
|
H A D | DozeScreenBrightness.java | 188 int brightness = computeBrightness(sensorValue); in updateBrightnessAndReady() local 255 private int clampToUserSetting(int brightness) { in clampToUserSetting() 268 private int clampToDimBrightnessForScreenOff(int brightness) { in clampToDimBrightnessForScreenOff()
|
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | ImageGoodnessFilter.java | 119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); in onProcess() local 224 float brightness) { in computePictureScore() 249 float contrastRating, float colorfulness, float brightness, float score) { in subComputeScore() 386 private float brightnessScore(float brightness) { in brightnessScore()
|
H A D | AvgBrightnessFilter.java | 54 float brightness; in onProcess() local
|
/aosp12/frameworks/base/services/core/jni/ |
H A 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
|
/aosp12/packages/services/Car/service/src/com/android/car/hal/ |
H A D | PowerHalService.java | 131 void onDisplayBrightnessChange(int brightness); in onDisplayBrightnessChange() 297 public void sendDisplayBrightness(int brightness) { in sendDisplayBrightness() 454 int brightness = v.value.int32Values.get(0) * MAX_BRIGHTNESS / maxBrightness; in dispatchEvents() local
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
H A D | DozeServiceFake.java | 56 public void setDozeScreenBrightness(int brightness) { in setDozeScreenBrightness()
|
/aosp12/hardware/qcom/display/msm8960/liblight/ |
H A D | lights.c | 135 int brightness = rgb_to_brightness(state); in set_light_backlight() local 212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + in set_speaker_light_locked() local
|
/aosp12/hardware/qcom/display/msm8909w_3100/liblight/ |
H A D | lights.c | 133 int brightness = rgb_to_brightness(state); in set_light_backlight() local 178 int brightness = state->color & 0x00ffffff; in set_light_backlight_ext() local
|
/aosp12/hardware/qcom/sm7250/display/liblight/ |
H A D | lights.c | 138 int brightness = rgb_to_brightness(state); in set_light_backlight() local 176 static int set_rgb_led_brightness(enum rgb_led led, int brightness) in set_rgb_led_brightness()
|
/aosp12/hardware/qcom/sm8150/display/liblight/ |
H A D | lights.c | 134 int brightness = rgb_to_brightness(state); in set_light_backlight() local 169 static int set_rgb_led_brightness(enum rgb_led led, int brightness) in set_rgb_led_brightness()
|