/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/ |
D | ScreenBrightnessDisplayManagerRepositoryTest.kt | 95 val brightness by collectLastValue(underTest.linearBrightness) in startingBrightnessInfo() constant 114 val brightness by collectLastValue(underTest.linearBrightness) in followsChangingBrightnessInfo() constant 154 val brightness by collectLastValue(underTest.linearBrightness) in minMaxWhenCollecting() constant 180 val brightness = 0.3f in setTemporaryBrightness_insideBounds() constant 193 val brightness = 1.3f in setTemporaryBrightness_outsideBounds() constant 207 val brightness = 0.3f in setBrightness_insideBounds() constant 220 val brightness = 1.3f in setBrightness_outsideBounds() constant
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessSynchronizerTest.java | 238 private void putIntSetting(int brightness) { in putIntSetting() 245 private void putFloatSetting(float brightness) { in putFloatSetting() 252 private void verifyIntWasSetTo(int brightness) throws Exception { in verifyIntWasSetTo() 256 private void verifyFloatWasSetTo(float brightness) { in verifyFloatWasSetTo() 260 private int fToI(float brightness) { in fToI() 268 private float iToF(int brightness) { in iToF()
|
D | DisplayBrightnessStateTest.java | 46 float brightness = 0.3f; in validateAllDisplayBrightnessStateFieldsAreSetAsExpected() local 64 assertEquals(displayBrightnessState.getBrightness(), brightness, FLOAT_DELTA); in validateAllDisplayBrightnessStateFieldsAreSetAsExpected() local
|
D | DisplayPowerControllerTest.java | 385 float brightness = 0.6f; in testDisplayBrightnessFollowers_BothDpcsSupportNits() local 418 float brightness = 0.3f; in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits() local 450 float brightness = 0.3f; in testDisplayBrightnessFollowers_LeadDpcDoesNotSupportNits() local 480 float brightness = 0.3f; in testDisplayBrightnessFollowers_NeitherDpcSupportsNits() local 604 float brightness = 0.6f; in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower() local 709 float brightness = 0.6f; in testDisplayBrightnessFollowersRemoval_RemoveAllFollowers() local 855 float brightness = 0.14f; in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff() local 893 float brightness = 0.14f; in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze() local 1184 float brightness = 0.3f; in testBrightnessNitsPersistWhenDisplayDeviceChanges() local 1326 float brightness = 0.6f; in testRampRatesIdle() local [all …]
|
D | BrightnessTrackerTest.java | 296 final float brightness = 0.5f; in testBrightnessEvent() local 383 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()
|
/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 137 public void setBrightnessNoNotify(float brightness) { in setBrightnessNoNotify() 145 brightness, mUserSerial in setBrightnessNoNotify() local 169 private void notifyListeners(float brightness) { in notifyListeners() 183 void onBrightnessChanged(float brightness); in onBrightnessChanged()
|
D | BrightnessMappingStrategy.java | 314 public abstract float convertToNits(float brightness); in convertToNits() 322 public abstract float convertToAdjustedNits(float brightness); in convertToAdjustedNits() 342 public abstract void addUserDataPoint(float lux, float brightness); in addUserDataPoint() 430 float[] luxLevels, float[] brightnessLevels, float lux, float brightness) { in insertControlPoint() 471 private void smoothCurve(float[] lux, float[] brightness, int idx) { in smoothCurve() 549 protected Pair<float[], float[]> getAdjustedCurve(float[] lux, float[] brightness, in getAdjustedCurve() 608 private SimpleMappingStrategy(float[] lux, float[] brightness, float maxGamma, in SimpleMappingStrategy() 681 public float convertToNits(float brightness) { in convertToNits() 686 public float convertToAdjustedNits(float brightness) { in convertToAdjustedNits() 696 public void addUserDataPoint(float lux, float brightness) { in addUserDataPoint() [all …]
|
D | DisplayPowerControllerInterface.java | 103 void setBrightness(float brightness); in setBrightness() 110 void setBrightness(float brightness, int userSerial); in setBrightness() 163 void setBrightnessFromOffload(float brightness); in setBrightnessFromOffload() 178 void setTemporaryBrightness(float brightness); in setTemporaryBrightness()
|
D | DisplayBlanker.java | 26 void requestDisplayState(int displayId, int state, float brightness, float sdrBrightness); in requestDisplayState()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/domain/interactor/ |
D | ScreenBrightnessInteractorTest.kt | 62 val brightness = 0.3f in gammaBrightness() constant 83 val brightness = 0.3f in gammaBrightness_constrained() constant 104 val brightness by collectLastValue(underTest.gammaBrightness) in setTemporaryBrightness() constant 128 val brightness by collectLastValue(fakeScreenBrightnessRepository.linearBrightness) in setBrightness() constant
|
/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 | 192 public boolean setBrightnessFromOffload(float brightness) { in setBrightnessFromOffload() 304 float brightness = mBrightnessSetting.getBrightness(); in getScreenBrightnessSetting() local 385 public float convertToNits(float brightness) { in convertToNits() 401 public float convertToAdjustedNits(float brightness) { in convertToAdjustedNits()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModelTest.kt | 74 var brightness = 0.6f in brightnessChangeInRepository_changeInFlow() variable 118 val brightness by collectLastValue(underTest.currentBrightness) in dragging_temporaryBrightnessSet_currentBrightnessDoesntChange() constant 142 val brightness by collectLastValue(underTest.currentBrightness) in draggingStopped_currentBrightnessChanges() constant
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
D | DisplayBrightnessControllerTest.java | 294 final float brightness = 0.5f; in testConvertToNits() local 327 float brightness = 0.5f; in testGetBrightnessFromNits() local 364 float brightness = 0.3f; in testLoadNitBasedBrightnessSetting() local 497 float brightness = 0.4f; in setBrightnessFromOffload() local 509 float brightness = 0.4f; in setBrightnessFromOffload_OffloadStrategyNull() local 518 float brightness = 0.4f; in setBrightnessFromOffload_BrightnessUnchanged() local
|
/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/core/java/android/hardware/display/ |
D | BrightnessInfo.java | 89 public final float brightness; field in BrightnessInfo 115 public BrightnessInfo(float brightness, float brightnessMinimum, float brightnessMaximum, in BrightnessInfo() 122 public BrightnessInfo(float brightness, float adjustedBrightness, float brightnessMinimum, in BrightnessInfo()
|
/frameworks/base/core/java/com/android/internal/display/ |
D | BrightnessSynchronizer.java | 194 private void handleBrightnessChangeFloat(float brightness) { in handleBrightnessChangeFloat() 204 private void handleBrightnessChangeInt(int brightness) { in handleBrightnessChangeInt() 215 private void handleBrightnessChange(int type, float brightness) { in handleBrightnessChange() 393 BrightnessUpdate(int sourceType, float brightness) { in BrightnessUpdate() 473 boolean swallowUpdate(int type, float brightness) { in swallowUpdate() 529 private String toStringLabel(int type, float brightness) { in toStringLabel()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | DisplayPerfTest.java | 59 float brightness = 0.3f; in testBrightnessChanges() local 74 private void setAndWaitToChangeBrightness(float brightness) throws Exception { in setAndWaitToChangeBrightness()
|
/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; member 78 const float brightness = params->brightness; in brightness_process() local
|
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | EvenDimmerBrightnessData.java | 77 float[] backlight, float[] brightness, Spline backlightToNits, in EvenDimmerBrightnessData() 134 float[] brightness = new float[brightnessPoints.size()]; in loadConfig() 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() 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 196 int brightness = computeBrightness(sensorValue); in updateBrightnessAndReady() local 263 private int clampToUserSetting(int brightness) { in clampToUserSetting() 283 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/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategyTest.java | 490 float brightness = 0.4f; in updateBrightness_constructsDisplayBrightnessState_withAdjustmentAutoAdjustmentFlag() local 532 float brightness = 0.4f; in updateBrightness_constructsDisplayBrightnessState_withAdjustmentTempAdjustmentFlag() local 581 float brightness = 0.4f; in updateBrightness_constructsDisplayBrightnessState_withNoAdjustmentFlag_isSlowChange() local 621 float brightness = 0.4f; in updateBrightness_autoBrightnessNotApplied_noAdjustments_isNotSlowChange() local
|