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.java1080 private float mLastSensorData; field in DisplayModeDirector.BrightnessObserver.LightSensorEventListener
1084 mLastSensorData = event.values[0]; in onSensorChanged()
1086 Slog.d(TAG, "On sensor changed: " + mLastSensorData); in onSensorChanged()
1089 boolean zoneChanged = isDifferentZone(mLastSensorData, mAmbientLux); in onSensorChanged()
1090 if (zoneChanged && mLastSensorData < mAmbientLux) { in onSensorChanged()
1097 mAmbientFilter.addValue(now, mLastSensorData); in onSensorChanged()
1102 if (zoneChanged && mLastSensorData > mAmbientLux) { in onSensorChanged()
1150 if (isDifferentZone(mLastSensorData, mAmbientLux)) {