Home
last modified time | relevance | path

Searched defs:brightness (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessSetting.java99 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()
DBrightnessMappingStrategy.java264 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()
351 float[] luxLevels, float[] brightnessLevels, float lux, float brightness) { in insertControlPoint()
392 private void smoothCurve(float[] lux, float[] brightness, int idx) { in smoothCurve()
470 protected Pair<float[], float[]> getAdjustedCurve(float[] lux, float[] brightness, in getAdjustedCurve()
526 private SimpleMappingStrategy(float[] lux, int[] brightness, float maxGamma, in SimpleMappingStrategy()
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()
[all …]
DDisplayBlanker.java26 void requestDisplayState(int displayId, int state, float brightness, float sdrBrightness); in requestDisplayState()
DDisplayManagerShellCommand.java101 float brightness = -1.0f; in setBrightness() local
DDisplayPowerController.java823 final float brightness = convertToNits(mPowerState.getScreenBrightness()); in initialize() local
1496 public void setTemporaryBrightness(float brightness) { in setTemporaryBrightness()
1518 private void saveBrightnessInfo(float brightness) { in saveBrightnessInfo()
1695 private boolean isValidBrightnessValue(float brightness) { in isValidBrightnessValue()
2008 float brightness = mBrightnessSetting.getBrightness(); in getScreenBrightnessSetting() local
2088 private void notifyBrightnessChanged(float brightness, boolean userInitiated, in notifyBrightnessChanged()
2105 private float convertToNits(float brightness) { in convertToNits()
2339 private void noteScreenBrightness(float brightness) { in noteScreenBrightness()
2608 public float brightness; field in CachedBrightnessInfo
DDisplayPowerState.java170 public void setSdrScreenBrightness(float brightness) { in setSdrScreenBrightness()
197 public void setScreenBrightness(float brightness) { in setScreenBrightness()
DPersistentDataStore.java271 public boolean setBrightness(DisplayDevice displayDevice, float brightness) { in setBrightness()
516 public boolean setBrightness(float brightness) { in setBrightness()
540 String brightness = parser.nextText(); in loadFromXml() local
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp46 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
/frameworks/base/core/java/android/hardware/display/
DBrightnessInfo.java61 public final float brightness; field in BrightnessInfo
75 public BrightnessInfo(float brightness, float brightnessMinimum, float brightnessMaximum, in BrightnessInfo()
DBrightnessChangeEvent.java36 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()
DBrightnessCorrection.java189 float apply(float brightness); in apply()
224 public float apply(float brightness) { in apply()
DIDisplayManager.aidl133 void setTemporaryBrightness(int displayId, float brightness); in setTemporaryBrightness()
136 void setBrightness(int displayId, float brightness); in setBrightness()
/frameworks/base/services/core/java/com/android/server/lights/
DLogicalLight.java60 public abstract void setBrightness(float brightness); in setBrightness()
65 public abstract void setBrightness(float brightness, int brightnessMode); in setBrightness()
DLightsService.java279 public void setBrightness(float brightness) { in setBrightness()
284 public void setBrightness(float brightness, int brightnessMode) { in setBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeBrightnessHostForwarder.java32 public void setDozeScreenBrightness(int brightness) { in setDozeScreenBrightness()
DDozeScreenBrightness.java153 int brightness = computeBrightness(sensorValue); in updateBrightnessAndReady() local
198 private int clampToUserSetting(int brightness) { in clampToUserSetting()
210 private int clampToDimBrightnessForScreenOff(int brightness) { in clampToDimBrightnessForScreenOff()
DDozeMachine.java461 void setDozeScreenBrightness(int brightness); in setDozeScreenBrightness()
486 public void setDozeScreenBrightness(int brightness) { in setDozeScreenBrightness()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java289 final float brightness = 0.5f; in testBrightnessEvent() local
319 final int brightness = 130; in testBrightnessFullPopulatedEvent() local
420 final int brightness = 20; in testLimitedSensorEvents() local
587 final int brightness = 20; in testWriteThenRead() local
640 final int brightness = 20; in testWritePrunesOldEvents() local
768 final int brightness = 20; in testBackgroundHandlerDelay() local
876 private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness) { in notifyBrightnessChanged()
880 private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness, in notifyBrightnessChanged()
887 private void notifyBrightnessChanged(BrightnessTracker tracker, float brightness, in notifyBrightnessChanged()
DBrightnessMappingStrategyTest.java207 final float brightness = physical.getBrightness(lux); in testPhysicalStrategyMappingBetweenControlPoints() local
380 float brightness = strategy.getBrightness(LUX_LEVELS[i]); in assertStrategyAdaptsToUserDataPoints() local
401 float brightness = strategy.getBrightness(lux); in assertStrategyAdaptsToUserDataPoints() local
/frameworks/base/media/mca/filterpacks/native/imageproc/
Dbrightness.c26 float brightness; member
78 const float brightness = params->brightness; in brightness_process() local
/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp44 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/
DImageGoodnessFilter.java119 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()
DAvgBrightnessFilter.java54 float brightness; in onProcess() local
DCSVWriterFilter.java95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); in onProcess() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeServiceFake.java56 public void setDozeScreenBrightness(int brightness) { in setDozeScreenBrightness()

123