Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp259 std::string decodeDisplayColorSetting(DisplayColorSetting displayColorSetting) { in decodeDisplayColorSetting()
261 case DisplayColorSetting::MANAGED: in decodeDisplayColorSetting()
263 case DisplayColorSetting::UNMANAGED: in decodeDisplayColorSetting()
265 case DisplayColorSetting::ENHANCED: in decodeDisplayColorSetting()
736 mDisplayColorSetting = static_cast<DisplayColorSetting>(atoi(value)); in readPersistentProperties()
2316 if (mDisplayColorSetting == DisplayColorSetting::UNMANAGED) { in pickColorMode()
2349 case DisplayColorSetting::MANAGED: in pickColorMode()
2350 case DisplayColorSetting::UNMANAGED: in pickColorMode()
2353 case DisplayColorSetting::ENHANCED: in pickColorMode()
5353 mDisplayColorSetting = static_cast<DisplayColorSetting>(data.readInt32()); in onTransact()
[all …]
DSurfaceFlinger.h117 enum class DisplayColorSetting : int32_t { enum
1093 DisplayColorSetting mDisplayColorSetting = DisplayColorSetting::ENHANCED;
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp153 mFlinger.mutableDisplayColorSetting() = DisplayColorSetting::UNMANAGED; in DisplayTransactionTest()
601 test->mFlinger.mutableDisplayColorSetting() = DisplayColorSetting::UNMANAGED; in injectConfigChange()
621 test->mFlinger.mutableDisplayColorSetting() = DisplayColorSetting::UNMANAGED; in injectConfigChange()