Searched defs:nits (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/java/android/hardware/display/ |
H A D | BrightnessConfiguration.java | 39 private BrightnessConfiguration(float[] lux, float[] nits, String description) { argument 41 mNits = nits; 49 * points of the brightness curve and the second representing all of the nits values of the 124 float[] nits = in.createFloatArray(); 125 Builder builder = new Builder(lux, nits); 154 * monotonically increasing display brightness values in nits. In addition, the initial 161 public Builder(float[] lux, float[] nits) { argument 162 setCurve(lux, nits); 169 * monotonically increasing display brightness values in nits. In addition, the initial 179 public Builder setCurve(float[] lux, float[] nits) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessMappingStrategy.java | 40 * Note that without a mapping from the nits to a display backlight level, any 204 * Converts the provided backlight value to nits if possible. 206 * Returns -1.0f if there's no available mapping for the backlight to nits. 571 // in nits. 574 // A spline mapping from nits to the corresponding backlight value, normalized to the range 582 // a brightness in nits. 590 public PhysicalMappingStrategy(BrightnessConfiguration config, float[] nits, argument 592 Preconditions.checkArgument(nits.length != 0 && backlight.length != 0, 594 Preconditions.checkArgument(nits.length == backlight.length, 597 Preconditions.checkArrayElementsInRange(nits, [all...] |
Completed in 38 milliseconds