Home
last modified time | relevance | path

Searched refs:mDisplayWhiteBalanceTintController (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java65 DisplayWhiteBalanceTintController mDisplayWhiteBalanceTintController; field in DisplayWhiteBalanceTintControllerTest
77 mDisplayWhiteBalanceTintController = in setUp()
80 mDisplayWhiteBalanceTintController.setUp(InstrumentationRegistry.getContext(), true); in setUp()
81 mDisplayWhiteBalanceTintController.setActivated(true); in setUp()
122 final int max = mDisplayWhiteBalanceTintController.mTemperatureMax; in displayWhiteBalance_setTemperatureOverMax()
123 mDisplayWhiteBalanceTintController.setMatrix(max + 1); in displayWhiteBalance_setTemperatureOverMax()
125 .that(mDisplayWhiteBalanceTintController.mCurrentColorTemperature) in displayWhiteBalance_setTemperatureOverMax()
131 final int min = mDisplayWhiteBalanceTintController.mTemperatureMin; in displayWhiteBalance_setTemperatureBelowMin()
132 mDisplayWhiteBalanceTintController.setMatrix(min - 1); in displayWhiteBalance_setTemperatureBelowMin()
134 .that(mDisplayWhiteBalanceTintController.mCurrentColorTemperature) in displayWhiteBalance_setTemperatureBelowMin()
[all …]
DColorDisplayServiceTest.java1319 .that(mCds.mDisplayWhiteBalanceTintController.isActivated()) in assertDwbActive()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java156 final DisplayWhiteBalanceTintController mDisplayWhiteBalanceTintController = field in ColorDisplayService
443 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in setUp()
445 mDisplayWhiteBalanceTintController.setUp(getContext(), true /* needsLinear */); in setUp()
476 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in tearDown()
477 mDisplayWhiteBalanceTintController.endAnimator(); in tearDown()
495 mDisplayWhiteBalanceTintController.cancelAnimator(); in cancelAllAnimators()
564 mDisplayWhiteBalanceTintController.cancelAnimator(); in onDisplayColorModeChanged()
581 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in onDisplayColorModeChanged()
846 boolean oldActivated = mDisplayWhiteBalanceTintController.isActivated(); in updateDisplayWhiteBalanceStatus()
848 mDisplayWhiteBalanceTintController.setActivated(isDisplayWhiteBalanceSettingEnabled() in updateDisplayWhiteBalanceStatus()
[all …]