Searched refs:mAmbientBrightnessThresholds (Results 1 – 3 of 3) sorted by relevance
60 @Mock HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessControllerTest86 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()
1079 private int[] mAmbientBrightnessThresholds; field in DisplayModeDirector.BrightnessObserver1107 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 …]
128 private final HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessController256 mAmbientBrightnessThresholds = ambientBrightnessThresholds; in AutomaticBrightnessController()464 mAmbientBrightnessThresholds.dump(pw); in dump()543 mAmbientBrighteningThreshold = mAmbientBrightnessThresholds.getBrighteningThreshold(lux); in setAmbientLux()544 mAmbientDarkeningThreshold = mAmbientBrightnessThresholds.getDarkeningThreshold(lux); in setAmbientLux()