Searched refs:mLux (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessConfiguration.java | 71 private final float[] mLux; field in BrightnessConfiguration 88 mLux = lux; in BrightnessConfiguration() 109 return Pair.create(Arrays.copyOf(mLux, mLux.length), Arrays.copyOf(mNits, mNits.length)); in getCurve() 193 dest.writeFloatArray(mLux); in writeToParcel() 225 final int size = mLux.length; in toString() 230 sb.append("(").append(mLux[i]).append(", ").append(mNits[i]).append(")"); in toString() 260 result = result * 31 + Arrays.hashCode(mLux); in hashCode() 283 return Arrays.equals(mLux, other.mLux) && Arrays.equals(mNits, other.mNits) in equals() 353 for (int i = 0; i < mLux.length; i++) { in saveToXml() 355 serializer.attribute(null, ATTR_LUX, Float.toString(mLux[i])); in saveToXml()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 523 private final float[] mLux; field in BrightnessMappingStrategy.SimpleMappingStrategy 545 mLux = new float[N]; in SimpleMappingStrategy() 548 mLux[i] = lux[i]; in SimpleMappingStrategy() 673 Pair<float[], float[]> curve = getAdjustedCurve(mLux, mBrightness, mUserLux, in computeSpline() 679 Spline spline = Spline.createSpline(mLux, mBrightness); in getUnadjustedBrightness()
|