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.java145 private float mAmbientLux; field in AutomaticBrightnessController
385 mBrightnessMapper.addUserDataPoint(mAmbientLux, brightness); in setScreenBrightnessByUser()
387 mShortTermModelAnchor = mAmbientLux; in setScreenBrightnessByUser()
436 pw.println(" mAmbientLux=" + mAmbientLux); in dump()
542 mAmbientLux = lux; in setAmbientLux()
548 if (mBrightnessMapper.shouldResetShortTermModel(mAmbientLux, mShortTermModelAnchor)) { in setAmbientLux()
672 "mAmbientLux=" + mAmbientLux); in updateAmbientLux()
699 + ((fastAmbientLux > mAmbientLux) ? "Brightened" : "Darkened") + ": " in updateAmbientLux()
702 + "mAmbientLux=" + mAmbientLux); in updateAmbientLux()
729 float value = mBrightnessMapper.getBrightness(mAmbientLux, mForegroundAppPackageName, in updateAutoBrightness()
[all …]
DDisplayModeDirector.java1088 private float mAmbientLux = -1.0f; field in DisplayModeDirector.BrightnessObserver
1178 pw.println(" mAmbientLux: " + mAmbientLux); in dumpLocked()
1286 if (brightness <= disp && mAmbientLux <= ambi) { in isInsideZone()
1294 if (mAmbientLux <= ambi) { in isInsideZone()
1308 boolean insideZone = isInsideZone(brightness, mAmbientLux); in onBrightnessChangedLocked()
1314 Slog.d(TAG, "Display brightness " + brightness + ", ambient lux " + mAmbientLux + in onBrightnessChangedLocked()
1364 boolean zoneChanged = isDifferentZone(mLastSensorData, mAmbientLux); in onSensorChanged()
1365 if (zoneChanged && mLastSensorData < mAmbientLux) { in onSensorChanged()
1377 if (zoneChanged && mLastSensorData > mAmbientLux) { in onSensorChanged()
1395 mAmbientLux = mAmbientFilter.getEstimate(now); in processSensorData()
[all …]