Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1351 private float mLastSensorData; field in DisplayModeDirector.BrightnessObserver.LightSensorEventListener
1354 pw.println(" mLastSensorData: " + mLastSensorData); in dumpLocked()
1359 mLastSensorData = event.values[0]; in onSensorChanged()
1361 Slog.d(TAG, "On sensor changed: " + mLastSensorData); in onSensorChanged()
1364 boolean zoneChanged = isDifferentZone(mLastSensorData, mAmbientLux); in onSensorChanged()
1365 if (zoneChanged && mLastSensorData < mAmbientLux) { in onSensorChanged()
1372 mAmbientFilter.addValue(now, mLastSensorData); in onSensorChanged()
1377 if (zoneChanged && mLastSensorData > mAmbientLux) { in onSensorChanged()
1425 if (isDifferentZone(mLastSensorData, mAmbientLux)) {