/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
D | ALSProbeTest.java | 181 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/ |
D | BrightnessMappingStrategy.java | 152 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 …]
|
D | AutomaticBrightnessController.java | 547 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()
|
D | ScreenOffBrightnessSensorController.java | 113 int lux = mSensorValueToLux[mLastSensorValue]; in getAutomaticScreenBrightness() local
|
D | DisplayDeviceConfig.java | 1136 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()
|
D | DisplayManagerService.java | 622 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/ |
D | BrightnessMappingStrategyTest.java | 190 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
|
D | PersistentDataStoreTest.java | 275 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
|
D | BrightnessTrackerTest.java | 915 private SensorEvent createSensorEvent(float lux) { in createSensorEvent()
|
D | DisplayPowerControllerTest.java | 1212 float lux = 2000; in testShortTermModelPersistsWhenDisplayDeviceChanges() local
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | BrightnessConfigurationTest.java | 71 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/ |
D | BrightnessStateModifier.java | 57 void setAmbientLux(float lux); in setAmbientLux()
|
D | BrightnessLowPowerModeModifier.java | 61 public void setAmbientLux(float lux) { in setAmbientLux()
|
D | DisplayDimModifier.java | 86 public void setAmbientLux(float lux) { in setAmbientLux()
|
D | BrightnessLowLuxModifier.java | 129 public void setAmbientLux(float lux) { in setAmbientLux()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessConfiguration.java | 79 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/ |
D | BrightnessEvent.java | 270 public void setLux(float lux) { in setLux()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 2260 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/ |
D | DisplayModeDirectorTest.java | 3769 getIdleScreenRefreshRateTimeoutLuxThresholdPoint(int lux, int timeout) { in getIdleScreenRefreshRateTimeoutLuxThresholdPoint()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 23301 optional float lux = 3; field 23914 repeated float lux = 1; field
|