Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java289 final float[] newBrightnessLevels; in insertControlPoint() local
292 newBrightnessLevels = Arrays.copyOf(brightnessLevels, brightnessLevels.length + 1); in insertControlPoint()
294 newBrightnessLevels[idx] = brightness; in insertControlPoint()
297 newBrightnessLevels = Arrays.copyOf(brightnessLevels, brightnessLevels.length); in insertControlPoint()
298 newBrightnessLevels[idx] = brightness; in insertControlPoint()
303 newBrightnessLevels = Arrays.copyOf(brightnessLevels, brightnessLevels.length + 1); in insertControlPoint()
304 System.arraycopy(newBrightnessLevels, idx, newBrightnessLevels, idx+1, in insertControlPoint()
306 newBrightnessLevels[idx] = brightness; in insertControlPoint()
308 smoothCurve(newLuxLevels, newBrightnessLevels, idx); in insertControlPoint()
309 return Pair.create(newLuxLevels, newBrightnessLevels); in insertControlPoint()