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.java109 private static float[] getLuxLevels(int[] lux) { in getLuxLevels()
229 public abstract float getBrightness(float lux, String packageName, in getBrightness()
242 public float getBrightness(float lux) { in getBrightness()
283 public abstract void addUserDataPoint(float lux, float brightness); in addUserDataPoint()
358 float[] luxLevels, float[] brightnessLevels, float lux, float brightness) { in insertControlPoint()
399 private void smoothCurve(float[] lux, float[] brightness, int idx) { in smoothCurve()
478 protected Pair<float[], float[]> getAdjustedCurve(float[] lux, float[] brightness, in getAdjustedCurve()
534 private SimpleMappingStrategy(float[] lux, int[] brightness, float maxGamma, in SimpleMappingStrategy()
579 public float getBrightness(float lux, String packageName, in getBrightness()
611 public void addUserDataPoint(float lux, float brightness) { in addUserDataPoint()
[all …]
DAutomaticBrightnessController.java493 private void handleLightSensorEvent(long time, float lux) { in handleLightSensorEvent()
505 private void applyLightSensorMeasurement(long time, float lux) { in applyLightSensorMeasurement()
534 private void setAmbientLux(float lux) { in setAmbientLux()
593 float lux = mAmbientLightRingBuffer.getLux(i); in calculateAmbientLux() local
987 public void push(long time, float lux) { in push()
DDisplayManagerService.java342 float[] lux = getFloatArray(resources.obtainTypedArray( in DisplayManagerService() local
1210 float[] lux = curve.first; in isBrightnessConfigurationTooDark() local
DBrightnessTracker.java849 public float lux; field in BrightnessTracker.LightData
DDisplayModeDirector.java1280 private boolean isInsideZone(int brightness, float lux) { in isInsideZone()
/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.java338 float[] lux = minimumBrightnessCurve.getX(); in testTooDarkBrightnessConfigurationThrowException() local
373 float[] lux = minimumBrightnessCurve.getX(); in testBrightEnoughBrightnessConfigurationDoesNotThrowException() local
DBrightnessTrackerTest.java772 private SensorEvent createSensorEvent(float lux) { in createSensorEvent()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java72 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurveMustHaveZeroLuxPoint() local
203 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testEquals() local
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java81 private BrightnessConfiguration(float[] lux, float[] nits, in BrightnessConfiguration()
433 final float lux = loadFloatFromXml(parser, ATTR_LUX); in loadFromXml() local
470 float[] lux = new float[n]; in loadFromXml() local
543 public Builder(float[] lux, float[] nits) { in Builder()