Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/
DALSProbeTest.java181 AtomicInteger lux = new AtomicInteger(-9); in testWatchDogCompletesAwait() local
217 AtomicInteger lux = new AtomicInteger(-1); in testNextLuxWhenAlreadyEnabled() local
254 AtomicInteger lux = new AtomicInteger(-1); in testNextLuxWhenNotEnabled() local
278 AtomicInteger lux = new AtomicInteger(-1); in testNextLuxIsNotCanceledByDisableOrDestroy() local
308 AtomicInteger lux = new AtomicInteger(-1); in testMultipleNextConsumers() local
327 AtomicInteger lux = new AtomicInteger(10); in testDestroyAllowsAwaitLuxExactlyOnce() local
352 AtomicInteger lux = new AtomicInteger(-5); in testAwaitLuxWhenNoLightSensor() local
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java152 private static float[] getLuxLevels(int[] lux) { in getLuxLevels()
272 public abstract float getBrightness(float lux, String packageName, in getBrightness()
285 public float getBrightness(float lux) { in getBrightness()
342 public abstract void addUserDataPoint(float lux, float brightness); in addUserDataPoint()
430 float[] luxLevels, float[] brightnessLevels, float lux, float brightness) { in insertControlPoint()
471 private void smoothCurve(float[] lux, float[] brightness, int idx) { in smoothCurve()
549 protected Pair<float[], float[]> getAdjustedCurve(float[] lux, float[] brightness, in getAdjustedCurve()
608 private SimpleMappingStrategy(float[] lux, float[] brightness, float maxGamma, in SimpleMappingStrategy()
654 public float getBrightness(float lux, String packageName, in getBrightness()
696 public void addUserDataPoint(float lux, float brightness) { in addUserDataPoint()
[all …]
DAutomaticBrightnessController.java547 private boolean setScreenBrightnessByUser(float lux, float brightness) { in setScreenBrightnessByUser()
708 private void handleLightSensorEvent(long time, float lux) { in handleLightSensorEvent()
720 private void applyLightSensorMeasurement(long time, float lux) { in applyLightSensorMeasurement()
748 private void setAmbientLux(float lux) { in setAmbientLux()
811 float lux = mAmbientLightRingBuffer.getLux(i); in calculateAmbientLux() local
1492 public void push(long time, float lux) { in push()
DScreenOffBrightnessSensorController.java113 int lux = mSensorValueToLux[mLastSensorValue]; in getAutomaticScreenBrightness() local
DDisplayDeviceConfig.java1136 public float getMinNitsFromLux(float lux) { in getMinNitsFromLux()
2593 float lux = point.getFirst().floatValue(); in loadLuxThrottling() local
2861 public static float[] getLuxLevels(int[] lux) { in getLuxLevels()
DDisplayManagerService.java622 float[] lux = getFloatArray(resources.obtainTypedArray( in DisplayManagerService() local
2689 float[] lux = curve.first; in isBrightnessConfigurationTooDark() local
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java190 final float lux = (LUX_LEVELS[i - 1] + LUX_LEVELS[i]) / 2; in testSimpleStrategyMappingBetweenControlPoints() local
204 final float[] lux = { 0f, 1f }; in testSimpleStrategyIgnoresNewConfiguration() local
257 final float lux = (LUX_LEVELS[i - 1] + LUX_LEVELS[i]) / 2.0f; in testPhysicalStrategyMappingBetweenControlPoints() local
273 final float[] lux = {0f, 1f}; in testPhysicalStrategyUsesNewConfigurations() local
350 final float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testNonStrictlyIncreasingLuxLevelsFails() local
374 final float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length + 1); in testDifferentNumberOfControlPointValuesFails() local
DPersistentDataStoreTest.java275 final float[] lux = { 0f, 10f }; in testStoreAndReloadOfDisplayBrightnessConfigurations() local
322 final float[] lux = { 0f, 10f }; in testSetBrightnessConfigurationFailsWithUnstableId() local
350 final float[] lux = { 0f, 10f }; in testStoreAndReloadOfBrightnessConfigurations() local
380 final float[] lux = { 0f, 10f }; in testNullBrightnessConfiguration() local
DBrightnessTrackerTest.java915 private SensorEvent createSensorEvent(float lux) { in createSensorEvent()
DDisplayPowerControllerTest.java1212 float lux = 2000; in testShortTermModelPersistsWhenDisplayDeviceChanges() local
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java71 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurveMustHaveZeroLuxPoint() local
202 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testEquals() local
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessStateModifier.java57 void setAmbientLux(float lux); in setAmbientLux()
DBrightnessLowPowerModeModifier.java61 public void setAmbientLux(float lux) { in setAmbientLux()
DDisplayDimModifier.java86 public void setAmbientLux(float lux) { in setAmbientLux()
DBrightnessLowLuxModifier.java129 public void setAmbientLux(float lux) { in setAmbientLux()
/frameworks/base/core/java/android/hardware/display/
DBrightnessConfiguration.java79 private BrightnessConfiguration(float[] lux, float[] nits, in BrightnessConfiguration()
430 final float lux = loadFloatFromXml(parser, ATTR_LUX); in loadFromXml() local
462 float[] lux = new float[n]; in loadFromXml() local
528 public Builder(float[] lux, float[] nits) { in Builder()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessEvent.java270 public void setLux(float lux) { in setLux()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java2260 private boolean isInsideLowZone(float brightness, float lux) { in isInsideLowZone()
2291 private boolean isInsideHighZone(float brightness, float lux) { in isInsideHighZone()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java3769 getIdleScreenRefreshRateTimeoutLuxThresholdPoint(int lux, int timeout) { in getIdleScreenRefreshRateTimeoutLuxThresholdPoint()
/frameworks/proto_logging/stats/
Datoms.proto23301 optional float lux = 3; field
23914 repeated float lux = 1; field