Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java31 private DisplayWhiteBalanceTintController mDisplayWhiteBalanceTintController; field in DisplayWhiteBalanceTintControllerTest
35 mDisplayWhiteBalanceTintController = new DisplayWhiteBalanceTintController(); in setUp()
36 mDisplayWhiteBalanceTintController.setUp(InstrumentationRegistry.getContext(), true); in setUp()
37 mDisplayWhiteBalanceTintController.setActivated(true); in setUp()
42 final int max = mDisplayWhiteBalanceTintController.mTemperatureMax; in displayWhiteBalance_setTemperatureOverMax()
43 mDisplayWhiteBalanceTintController.setMatrix(max + 1); in displayWhiteBalance_setTemperatureOverMax()
45 .that(mDisplayWhiteBalanceTintController.mCurrentColorTemperature) in displayWhiteBalance_setTemperatureOverMax()
51 final int min = mDisplayWhiteBalanceTintController.mTemperatureMin; in displayWhiteBalance_setTemperatureBelowMin()
52 mDisplayWhiteBalanceTintController.setMatrix(min - 1); in displayWhiteBalance_setTemperatureBelowMin()
54 .that(mDisplayWhiteBalanceTintController.mCurrentColorTemperature) in displayWhiteBalance_setTemperatureBelowMin()
[all …]
DColorDisplayServiceTest.java1287 .that(mCds.mDisplayWhiteBalanceTintController.isActivated()) in assertDwbActive()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java55 DisplayWhiteBalanceTintController mDisplayWhiteBalanceTintController; field in DisplayWhiteBalanceTintControllerTest
120 .that(mDisplayWhiteBalanceTintController.mSetUp) in displayWhiteBalance_setupWithSurfaceControl()
140 .that(mDisplayWhiteBalanceTintController.mSetUp) in displayWhiteBalance_setupWithInvalidSurfaceControlData()
159 .that(mDisplayWhiteBalanceTintController.mSetUp) in displayWhiteBalance_setupWithResources()
183 .that(mDisplayWhiteBalanceTintController.mSetUp) in displayWhiteBalance_setupWithInvalidResources()
188 mDisplayWhiteBalanceTintController = new DisplayWhiteBalanceTintController(); in setUpTintController()
189 mDisplayWhiteBalanceTintController.setUp(mMockedContext, true); in setUpTintController()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java133 final DisplayWhiteBalanceTintController mDisplayWhiteBalanceTintController = field in ColorDisplayService
419 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in setUp()
421 mDisplayWhiteBalanceTintController.setUp(getContext(), true /* needsLinear */); in setUp()
442 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in tearDown()
443 mDisplayWhiteBalanceTintController.endAnimator(); in tearDown()
500 mDisplayWhiteBalanceTintController.cancelAnimator(); in onDisplayColorModeChanged()
517 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in onDisplayColorModeChanged()
669 boolean oldActivated = mDisplayWhiteBalanceTintController.isActivated(); in updateDisplayWhiteBalanceStatus()
670 mDisplayWhiteBalanceTintController.setActivated(isDisplayWhiteBalanceSettingEnabled() in updateDisplayWhiteBalanceStatus()
674 boolean activated = mDisplayWhiteBalanceTintController.isActivated(); in updateDisplayWhiteBalanceStatus()
[all …]