Home
last modified time | relevance | path

Searched refs:displayColorSetting (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java1083 final int displayColorSetting = SystemProperties.getInt("persist.sys.sf.native_mode", 0); in getCurrentColorModeFromSystemProperties() local
1084 if (displayColorSetting == 0) { in getCurrentColorModeFromSystemProperties()
1087 } else if (displayColorSetting == 1) { in getCurrentColorModeFromSystemProperties()
1089 } else if (displayColorSetting == 2) { in getCurrentColorModeFromSystemProperties()
1091 } else if (displayColorSetting >= VENDOR_COLOR_MODE_RANGE_MIN in getCurrentColorModeFromSystemProperties()
1092 && displayColorSetting <= VENDOR_COLOR_MODE_RANGE_MAX) { in getCurrentColorModeFromSystemProperties()
1093 return displayColorSetting; in getCurrentColorModeFromSystemProperties()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp393 std::string decodeDisplayColorSetting(DisplayColorSetting displayColorSetting) { in decodeDisplayColorSetting() argument
394 switch(displayColorSetting) { in decodeDisplayColorSetting()
403 std::to_string(static_cast<int>(displayColorSetting)); in decodeDisplayColorSetting()