Searched refs:mAmbientBrightnessThresholds (Results 1 – 3 of 3) sorted by relevance
63 @Mock HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessControllerTest88 RESET_AMBIENT_LUX_AFTER_WARMUP_CONFIG, mAmbientBrightnessThresholds, in setupController()115 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()117 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()135 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMinBrightness()137 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMinBrightness()161 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()163 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()181 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()183 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()
811 private int[] mAmbientBrightnessThresholds; field in DisplayModeDirector.BrightnessObserver839 mAmbientBrightnessThresholds = context.getResources().getIntArray( in BrightnessObserver()842 if (mDisplayBrightnessThresholds.length != mAmbientBrightnessThresholds.length) { in BrightnessObserver()858 mAmbientBrightnessThresholds = ambientThresholds; in observe()890 mAmbientBrightnessThresholds = ambientThresholds; in onDeviceConfigThresholdsChanged()895 mAmbientBrightnessThresholds = mContext.getResources().getIntArray( in onDeviceConfigThresholdsChanged()916 for (int d: mAmbientBrightnessThresholds) { in dumpLocked()936 mShouldObserveAmbientChange = checkShouldObserve(mAmbientBrightnessThresholds); in restartObserver()1012 int ambi = mAmbientBrightnessThresholds[i]; in isInsideZone()1128 for (int z = 0; z < mAmbientBrightnessThresholds.length; z++) { in isDifferentZone()[all …]
129 private final HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessController262 mAmbientBrightnessThresholds = ambientBrightnessThresholds; in AutomaticBrightnessController()471 mAmbientBrightnessThresholds.dump(pw); in dump()550 mAmbientBrighteningThreshold = mAmbientBrightnessThresholds.getBrighteningThreshold(lux); in setAmbientLux()551 mAmbientDarkeningThreshold = mAmbientBrightnessThresholds.getDarkeningThreshold(lux); in setAmbientLux()