Home
last modified time | relevance | path

Searched refs:mAmbientLux (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java153 private float mAmbientLux; field in AutomaticBrightnessController
392 mBrightnessMapper.addUserDataPoint(mAmbientLux, brightness); in setScreenBrightnessByUser()
394 mShortTermModelAnchor = mAmbientLux; in setScreenBrightnessByUser()
443 pw.println(" mAmbientLux=" + mAmbientLux); in dump()
549 mAmbientLux = lux; in setAmbientLux()
559 if (minAmbientLux < mAmbientLux && mAmbientLux < maxAmbientLux) { in setAmbientLux()
562 minAmbientLux + " < " + mAmbientLux + " < " + maxAmbientLux); in setAmbientLux()
566 Slog.d(TAG, "ShortTermModel: reset data, ambient lux is " + mAmbientLux + in setAmbientLux()
689 "mAmbientLux=" + mAmbientLux); in updateAmbientLux()
716 + ((fastAmbientLux > mAmbientLux) ? "Brightened" : "Darkened") + ": " in updateAmbientLux()
[all …]
DDisplayModeDirector.java820 private float mAmbientLux = -1.0f; field in DisplayModeDirector.BrightnessObserver
1015 if (brightness <= disp && mAmbientLux <= ambi) { in isInsideZone()
1023 if (mAmbientLux <= ambi) { in isInsideZone()
1037 boolean insideZone = isInsideZone(brightness, mAmbientLux); in onBrightnessChangedLocked()
1043 Slog.d(TAG, "Display brightness " + brightness + ", ambient lux " + mAmbientLux + in onBrightnessChangedLocked()
1089 boolean zoneChanged = isDifferentZone(mLastSensorData, mAmbientLux); in onSensorChanged()
1090 if (zoneChanged && mLastSensorData < mAmbientLux) { in onSensorChanged()
1102 if (zoneChanged && mLastSensorData > mAmbientLux) { in onSensorChanged()
1120 mAmbientLux = mAmbientFilter.getEstimate(now); in processSensorData()
1150 if (isDifferentZone(mLastSensorData, mAmbientLux)) {