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.java311 final int initialBrightness = 230; in testBrightnessFullPopulatedEvent() local
317 startTracker(mTracker, initialBrightness, DEFAULT_COLOR_SAMPLING_ENABLED); in testBrightnessFullPopulatedEvent()
334 assertEquals(initialBrightness, event.lastBrightness, FLOAT_DELTA); in testBrightnessFullPopulatedEvent()
349 final int initialBrightness = 30; in testIgnoreAutomaticBrightnessChange() local
350 startTracker(mTracker, initialBrightness, DEFAULT_COLOR_SAMPLING_ENABLED); in testIgnoreAutomaticBrightnessChange()
792 private void startTracker(BrightnessTracker tracker, float initialBrightness, in startTracker() argument
794 tracker.start(initialBrightness); in startTracker()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java200 public void start(float initialBrightness) { in start() argument
205 mBgHandler.obtainMessage(MSG_BACKGROUND_START, (Float) initialBrightness).sendToTarget(); in start()
216 private void backgroundStart(float initialBrightness) { in backgroundStart() argument
236 mLastBrightness = initialBrightness; in backgroundStart()