Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java125 assertTrue(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()
129 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()
135 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()
141 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()
146 assertTrue(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()
152 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()
160 assertFalse(mInjector.mColorSamplingEnabled); in testModifyBrightnessConfiguration()
166 assertTrue(mInjector.mColorSamplingEnabled); in testModifyBrightnessConfiguration()
172 assertFalse(mInjector.mColorSamplingEnabled); in testModifyBrightnessConfiguration()
179 assertFalse(mInjector.mColorSamplingEnabled); in testModifyBrightnessConfiguration()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java160 private boolean mColorSamplingEnabled; field in BrightnessTracker
399 if (mColorSamplingEnabled) { in handleBrightnessChanged()
765 pw.println(" mColorSamplingEnabled=" + mColorSamplingEnabled); in dumpLocal()
773 || mColorSamplingEnabled in enableColorSampling()
797 mColorSamplingEnabled = mInjector.enableColorSampling(/* enable= */true, in enableColorSampling()
801 + mNoFramesToSample + " frames, success=" + mColorSamplingEnabled); in enableColorSampling()
804 if (mColorSamplingEnabled && mDisplayListener == null) { in enableColorSampling()
811 if (!mColorSamplingEnabled) { in disableColorSampling()
815 mColorSamplingEnabled = false; in disableColorSampling()
826 if (!mColorSamplingEnabled) { in updateColorSampling()
[all …]