Home
last modified time | relevance | path

Searched defs:lux (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java95 private static float[] getLuxLevels(int[] lux) { in getLuxLevels()
203 public abstract float getBrightness(float lux, String packageName, in getBrightness()
216 public float getBrightness(float lux) { in getBrightness()
257 public abstract void addUserDataPoint(float lux, float brightness); in addUserDataPoint()
286 float[] luxLevels, float[] brightnessLevels, float lux, float brightness) { in insertControlPoint()
327 private void smoothCurve(float[] lux, float[] brightness, int idx) { in smoothCurve()
404 protected Pair<float[], float[]> getAdjustedCurve(float[] lux, float[] brightness, in getAdjustedCurve()
459 public SimpleMappingStrategy(float[] lux, int[] brightness, float maxGamma) { in SimpleMappingStrategy()
492 public float getBrightness(float lux, String packageName, in getBrightness()
524 public void addUserDataPoint(float lux, float brightness) { in addUserDataPoint()
[all …]
DAutomaticBrightnessController.java500 private void handleLightSensorEvent(long time, float lux) { in handleLightSensorEvent()
512 private void applyLightSensorMeasurement(long time, float lux) { in applyLightSensorMeasurement()
541 private void setAmbientLux(float lux) { in setAmbientLux()
610 float lux = mAmbientLightRingBuffer.getLux(i); in calculateAmbientLux() local
1005 public void push(long time, float lux) { in push()
DDisplayManagerService.java326 float[] lux = getFloatArray(resources.obtainTypedArray( in DisplayManagerService() local
1133 float[] lux = curve.first; in isBrightnessConfigurationTooDark() local
DDisplayModeDirector.java1009 private boolean isInsideZone(int brightness, float lux) { in isInsideZone()
DBrightnessTracker.java839 public float lux; field in BrightnessTracker.LightData
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java138 final float lux = (LUX_LEVELS[i - 1] + LUX_LEVELS[i]) / 2; in testSimpleStrategyMappingBetweenControlPoints() local
152 final float[] lux = { 0f, 1f }; in testSimpleStrategyIgnoresNewConfiguration() local
196 final float lux = (LUX_LEVELS[i - 1] + LUX_LEVELS[i]) / 2; in testPhysicalStrategyMappingBetweenControlPoints() local
210 final float[] lux = { 0f, 1f }; in testPhysicalStrategyUsesNewConfigurations() local
239 final int[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testNonStrictlyIncreasingLuxLevelsFails() local
259 final int[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length+1); in testDifferentNumberOfControlPointValuesFails() local
DPersistentDataStoreTest.java148 final float[] lux = { 0f, 10f }; in testStoreAndReloadOfBrightnessConfigurations() local
174 final float[] lux = { 0f, 10f }; in testNullBrightnessConfiguration() local
DTestUtils.java29 public static SensorEvent createSensorEvent(Sensor sensor, int lux) throws Exception { in createSensorEvent()
DDisplayManagerServiceTest.java324 float[] lux = minimumBrightnessCurve.getX(); in testTooDarkBrightnessConfigurationThrowException() local
359 float[] lux = minimumBrightnessCurve.getX(); in testBrightEnoughBrightnessConfigurationDoesNotThrowException() local
DBrightnessTrackerTest.java749 private SensorEvent createSensorEvent(float lux) { in createSensorEvent()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java62 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurveMustHaveZeroLuxPoint() local
133 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testEquals() local
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java64 private BrightnessConfiguration(float[] lux, float[] nits, in BrightnessConfiguration()
305 final float lux = loadFloatFromXml(parser, ATTR_LUX); in loadFromXml() local
334 float[] lux = new float[n]; in loadFromXml() local
389 public Builder(float[] lux, float[] nits) { in Builder()