Home
last modified time | relevance | path

Searched refs:initialBrightness (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java282 final int initialBrightness = 230; in testBrightnessFullPopulatedEvent() local
288 startTracker(mTracker, initialBrightness); in testBrightnessFullPopulatedEvent()
305 assertEquals(initialBrightness, event.lastBrightness, FLOAT_DELTA); in testBrightnessFullPopulatedEvent()
323 final int initialBrightness = 30; in testIgnoreAutomaticBrightnessChange() local
324 startTracker(mTracker, initialBrightness); in testIgnoreAutomaticBrightnessChange()
769 private void startTracker(BrightnessTracker tracker, float initialBrightness) { in startTracker() argument
770 tracker.start(initialBrightness); in startTracker()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java199 public void start(float initialBrightness) { in start() argument
204 mBgHandler.obtainMessage(MSG_BACKGROUND_START, (Float) initialBrightness).sendToTarget(); in start()
207 private void backgroundStart(float initialBrightness) { in backgroundStart() argument
227 mLastBrightness = initialBrightness; in backgroundStart()