Home
last modified time | relevance | path

Searched refs:adjustedNits (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessControllerTest.java296 final float adjustedNits = 200; in testConvertToNits() local
314 adjustedNits); in testConvertToNits()
321 assertEquals(adjustedNits, mDisplayBrightnessController.convertToAdjustedNits(brightness), in testConvertToNits()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java174 final float adjustedNits = controller.calculateAdjustedBrightnessNits(500f); in testCalculateAdjustedBrightnessNits() local
175 assertEquals(/* expected= */ 550f, adjustedNits, /* delta= */ 0.001); in testCalculateAdjustedBrightnessNits()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java1030 public void recalculateSplines(boolean applyAdjustment, float[] adjustedNits) { in recalculateSplines() argument
1033 mAdjustedNitsToBrightnessSpline = Spline.createSpline(adjustedNits, mBrightness); in recalculateSplines()
1034 mBrightnessToAdjustedNitsSpline = Spline.createSpline(mBrightness, adjustedNits); in recalculateSplines()
DDisplayPowerController.java666 float[] adjustedNits = new float[mNitsRange.length]; in handleRbcChanged() local
668 adjustedNits[i] = mCdsi.getReduceBrightColorsAdjustedBrightnessNits(mNitsRange[i]); in handleRbcChanged()
671 mAutomaticBrightnessController.recalculateSplines(mIsRbcActive, adjustedNits); in handleRbcChanged()