Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java60 @Mock HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessControllerTest
86 mAmbientBrightnessThresholds, mScreenBrightnessThresholds, mContext, in setupController()
114 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
116 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
134 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMinBrightness()
136 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMinBrightness()
160 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
162 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
181 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()
183 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1079 private int[] mAmbientBrightnessThresholds; field in DisplayModeDirector.BrightnessObserver
1107 mAmbientBrightnessThresholds = context.getResources().getIntArray( in BrightnessObserver()
1110 if (mDisplayBrightnessThresholds.length != mAmbientBrightnessThresholds.length) { in BrightnessObserver()
1126 mAmbientBrightnessThresholds = ambientThresholds; in observe()
1158 mAmbientBrightnessThresholds = ambientThresholds; in onDeviceConfigThresholdsChanged()
1163 mAmbientBrightnessThresholds = mContext.getResources().getIntArray( in onDeviceConfigThresholdsChanged()
1185 for (int d: mAmbientBrightnessThresholds) { in dumpLocked()
1207 mShouldObserveAmbientChange = checkShouldObserve(mAmbientBrightnessThresholds); in restartObserver()
1283 int ambi = mAmbientBrightnessThresholds[i]; in isInsideZone()
1403 for (int z = 0; z < mAmbientBrightnessThresholds.length; z++) { in isDifferentZone()
[all …]
DAutomaticBrightnessController.java128 private final HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessController
256 mAmbientBrightnessThresholds = ambientBrightnessThresholds; in AutomaticBrightnessController()
464 mAmbientBrightnessThresholds.dump(pw); in dump()
543 mAmbientBrighteningThreshold = mAmbientBrightnessThresholds.getBrighteningThreshold(lux); in setAmbientLux()
544 mAmbientDarkeningThreshold = mAmbientBrightnessThresholds.getDarkeningThreshold(lux); in setAmbientLux()