Searched refs:brightnessLevels (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | DisplayBrightnessMappingConfig.java | 104 float[] brightnessLevels = new float[size]; in DisplayBrightnessMappingConfig() local 108 brightnessLevels[i] = backlightToBrightnessSpline.interpolate(backlight); in DisplayBrightnessMappingConfig() 133 mBrightnessLevelsMap.put(key, brightnessLevels); in DisplayBrightnessMappingConfig() 152 int[] brightnessLevels = context.getResources().getIntArray( in DisplayBrightnessMappingConfig() local 155 brightnessArrayIntToFloat(brightnessLevels, backlightToBrightnessSpline)); in DisplayBrightnessMappingConfig()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 99 float[] brightnessLevels = null; in create() local 108 brightnessLevels = in create() 119 brightnessLevels = in create() 144 } else if (isValidMapping(luxLevels, brightnessLevels)) { in create() 145 return new SimpleMappingStrategy(luxLevels, brightnessLevels, in create() 430 float[] luxLevels, float[] brightnessLevels, float lux, float brightness) { in insertControlPoint() argument 436 newBrightnessLevels = Arrays.copyOf(brightnessLevels, brightnessLevels.length + 1); in insertControlPoint() 441 newBrightnessLevels = Arrays.copyOf(brightnessLevels, brightnessLevels.length); in insertControlPoint() 447 newBrightnessLevels = Arrays.copyOf(brightnessLevels, brightnessLevels.length + 1); in insertControlPoint() 449 brightnessLevels.length - idx); in insertControlPoint()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardBacklightController.java | 573 TreeSet<Integer> brightnessLevels = new TreeSet<>(); in setupBrightnessLevels() local 574 brightnessLevels.add(0); in setupBrightnessLevels() 577 brightnessLevels.add(level); in setupBrightnessLevels() 580 brightnessLevels.add(MAX_BRIGHTNESS); in setupBrightnessLevels() 581 int brightnessChangeSteps = brightnessLevels.size() - 1; in setupBrightnessLevels() 585 int[] result = new int[brightnessLevels.size()]; in setupBrightnessLevels() 587 for (int val : brightnessLevels) { in setupBrightnessLevels()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 757 DdcBuilder setAutoBrightnessLevels(float[] brightnessLevels) { in setAutoBrightnessLevels() argument 760 .thenReturn(brightnessLevels); in setAutoBrightnessLevels() 766 float[] brightnessLevels) { in setAutoBrightnessLevels() argument 768 .thenReturn(brightnessLevels); in setAutoBrightnessLevels()
|