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.java63 @Mock HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessControllerTest
88 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()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java811 private int[] mAmbientBrightnessThresholds; field in DisplayModeDirector.BrightnessObserver
839 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 …]
DAutomaticBrightnessController.java129 private final HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessController
262 mAmbientBrightnessThresholds = ambientBrightnessThresholds; in AutomaticBrightnessController()
471 mAmbientBrightnessThresholds.dump(pw); in dump()
550 mAmbientBrighteningThreshold = mAmbientBrightnessThresholds.getBrighteningThreshold(lux); in setAmbientLux()
551 mAmbientDarkeningThreshold = mAmbientBrightnessThresholds.getDarkeningThreshold(lux); in setAmbientLux()