Home
last modified time | relevance | path

Searched refs:colorMode (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DColorModePreferenceFragment.java120 for (int colorMode : availableColorModes) { in getCandidates()
121 if (colorMode == ColorDisplayManager.COLOR_MODE_NATURAL) { in getCandidates()
125 } else if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in getCandidates()
129 } else if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in getCandidates()
133 } else if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in getCandidates()
145 final int colorMode = mColorDisplayManager.getColorMode(); in getDefaultKey() local
146 if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in getDefaultKey()
148 } else if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in getDefaultKey()
150 } else if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in getDefaultKey()
DColorModePreferenceController.java42 final int colorMode = getColorDisplayManager().getColorMode(); in getSummary() local
43 if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in getSummary()
46 if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in getSummary()
49 if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DColorModePreferenceFragment.java120 for (int colorMode : availableColorModes) { in getCandidates()
121 if (colorMode == ColorDisplayManager.COLOR_MODE_NATURAL) { in getCandidates()
125 } else if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in getCandidates()
129 } else if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in getCandidates()
133 } else if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in getCandidates()
145 final int colorMode = mColorDisplayManager.getColorMode(); in getDefaultKey() local
146 if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in getDefaultKey()
148 } else if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in getDefaultKey()
150 } else if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in getDefaultKey()
DColorModePreferenceController.java42 final int colorMode = getColorDisplayManager().getColorMode(); in getSummary() local
43 if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in getSummary()
46 if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in getSummary()
49 if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in getSummary()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java89 desc.colorMode = colorModes[i]; in updateCurrentAndSupported()
99 if (mDescriptions.get(i).colorMode == currentColorMode) { in updateCurrentAndSupported()
113 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
121 private int colorMode; field in ColorModePreference.ColorModeDescription
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DColorModePreference.java53 desc.colorMode = colorModes[i]; in getColorModeDescriptions()
106 if (mDescriptions.get(i).colorMode == currentColorMode) { in updateCurrentAndSupported()
120 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
128 private int colorMode; field in ColorModePreference.ColorModeDescription
/packages/apps/Settings/src/com/android/settings/development/
DColorModePreference.java53 desc.colorMode = colorModes[i]; in getColorModeDescriptions()
106 if (mDescriptions.get(i).colorMode == currentColorMode) { in updateCurrentAndSupported()
120 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
128 private int colorMode; field in ColorModePreference.ColorModeDescription