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.java1208 .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.java131 final DisplayWhiteBalanceTintController mDisplayWhiteBalanceTintController = field in ColorDisplayService
386 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in setUp()
388 mDisplayWhiteBalanceTintController.setUp(getContext(), true /* needsLinear */); in setUp()
409 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in tearDown()
410 mDisplayWhiteBalanceTintController.endAnimator(); in tearDown()
459 mDisplayWhiteBalanceTintController.cancelAnimator(); in onDisplayColorModeChanged()
468 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in onDisplayColorModeChanged()
613 boolean oldActivated = mDisplayWhiteBalanceTintController.isActivated(); in updateDisplayWhiteBalanceStatus()
614 mDisplayWhiteBalanceTintController.setActivated(isDisplayWhiteBalanceSettingEnabled() in updateDisplayWhiteBalanceStatus()
618 boolean activated = mDisplayWhiteBalanceTintController.isActivated(); in updateDisplayWhiteBalanceStatus()
[all …]