Searched refs:mColorSamplingEnabled (Results 1 – 2 of 2) sorted by relevance
123 assertEquals(BrightnessTracker.ENABLE_COLOR_SAMPLING, mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()127 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()133 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()139 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()144 assertEquals(BrightnessTracker.ENABLE_COLOR_SAMPLING, mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()150 assertFalse(mInjector.mColorSamplingEnabled); in testStartStopTrackerScreenOnOff()161 assertFalse(mInjector.mColorSamplingEnabled); in testNoColorSampling_WrongPixelFormat()173 assertFalse(mInjector.mColorSamplingEnabled); in testNoColorSampling_MissingComponent()181 assertFalse(mInjector.mColorSamplingEnabled); in testNoColorSampling_NoSupport()191 assertTrue(mInjector.mColorSamplingEnabled); in testColorSampling_FrameRateChange()[all …]
160 private boolean mColorSamplingEnabled; field in BrightnessTracker390 if (mColorSamplingEnabled) { in handleBrightnessChanged()756 pw.println(" mColorSamplingEnabled=" + mColorSamplingEnabled); in dumpLocal()765 || mColorSamplingEnabled) { in enableColorSampling()787 mColorSamplingEnabled = mInjector.enableColorSampling(/* enable= */true, in enableColorSampling()791 + mNoFramesToSample + " frames, success=" + mColorSamplingEnabled); in enableColorSampling()794 if (mColorSamplingEnabled && mDisplayListener == null) { in enableColorSampling()801 if (!mColorSamplingEnabled) { in disableColorSampling()805 mColorSamplingEnabled = false; in disableColorSampling()816 if (!mColorSamplingEnabled) { in updateColorSampling()