Searched refs:displayColorSetting (Results 1 – 2 of 2) sorted by relevance
975 final int displayColorSetting = SystemProperties.getInt("persist.sys.sf.native_mode", 0); in getCurrentColorModeFromSystemProperties() local976 if (displayColorSetting == 0) { in getCurrentColorModeFromSystemProperties()979 } else if (displayColorSetting == 1) { in getCurrentColorModeFromSystemProperties()981 } else if (displayColorSetting == 2) { in getCurrentColorModeFromSystemProperties()983 } else if (displayColorSetting >= VENDOR_COLOR_MODE_RANGE_MIN in getCurrentColorModeFromSystemProperties()984 && displayColorSetting <= VENDOR_COLOR_MODE_RANGE_MAX) { in getCurrentColorModeFromSystemProperties()985 return displayColorSetting; in getCurrentColorModeFromSystemProperties()
316 std::string decodeDisplayColorSetting(DisplayColorSetting displayColorSetting) { in decodeDisplayColorSetting() argument317 switch(displayColorSetting) { in decodeDisplayColorSetting()326 std::to_string(static_cast<int>(displayColorSetting)); in decodeDisplayColorSetting()