Searched refs:backlight (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerState.java | 363 public boolean setState(int state, int backlight) { in setState() argument 366 boolean backlightChanged = backlight != mPendingBacklight; in setState() 370 + Display.stateToString(state) + ", backlight=" + backlight); in setState() 374 mPendingBacklight = backlight; in setState() 407 final int backlight; in run() local 412 backlight = mPendingBacklight; in run() 413 backlightChanged = (backlight != mActualBacklight); in run() 429 mActualBacklight = backlight; in run() 435 + Display.stateToString(state) + ", backlight=" + backlight); in run() 437 mBlanker.requestDisplayState(state, backlight); in run()
|
D | BrightnessMappingStrategy.java | 245 public abstract float convertToNits(int backlight); in convertToNits() argument 519 public float convertToNits(int backlight) { in convertToNits() argument 629 int[] backlight, float maxGamma) { in PhysicalMappingStrategy() argument 630 Preconditions.checkArgument(nits.length != 0 && backlight.length != 0, in PhysicalMappingStrategy() 632 Preconditions.checkArgument(nits.length == backlight.length, in PhysicalMappingStrategy() 636 Preconditions.checkArrayElementsInRange(backlight, in PhysicalMappingStrategy() 648 normalizedBacklight[i] = normalizeAbsoluteBrightness(backlight[i]); in PhysicalMappingStrategy() 682 float backlight = mNitsToBacklightSpline.interpolate(nits); in getBrightness() local 686 backlight = correctBrightness(backlight, packageName, category); in getBrightness() 690 return backlight; in getBrightness() [all …]
|
D | DisplayPowerController.java | 1672 private float convertToNits(int backlight) { 1674 return mBrightnessMapper.convertToNits(backlight);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 139 final float backlight = simple.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testSimpleStrategyMappingBetweenControlPoints() local 141 backlight > DISPLAY_LEVELS_BACKLIGHT[i - 1] in testSimpleStrategyMappingBetweenControlPoints() 142 && backlight < DISPLAY_LEVELS_BACKLIGHT[i]); in testSimpleStrategyMappingBetweenControlPoints() 197 final float backlight = physical.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testPhysicalStrategyMappingBetweenControlPoints() local 198 final float nits = backlightToBrightness.interpolate(backlight); in testPhysicalStrategyMappingBetweenControlPoints() 273 final int[] backlight = Arrays.copyOf( in testDifferentNumberOfControlPointValuesFails() local 275 backlight[backlight.length - 1] = backlight[backlight.length - 2] + 1; in testDifferentNumberOfControlPointValuesFails() 276 res = createResources(LUX_LEVELS, backlight); in testDifferentNumberOfControlPointValuesFails()
|
/frameworks/base/core/proto/android/os/ |
D | enums.proto | 123 // Ensures that the CPU is running; the screen and keyboard backlight 128 // backlight will be allowed to go off. If the user presses the power 134 // backlight will be allowed to go off. If the user presses the power 139 // Ensures that the screen and keyboard backlight are on at full
|