Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/display/
DColorModePreferenceFragment.java216 for (int colorMode : mResources.getIntArray( in getCandidates()
219 colorModesToSummaries.get(colorMode), in getCandidates()
220 getKeyForColorMode(colorMode), in getCandidates()
228 final int colorMode = getColorMode(); in getDefaultKey() local
229 if (isValidColorMode(colorMode)) { in getDefaultKey()
230 return getKeyForColorMode(colorMode); in getDefaultKey()
237 int colorMode = Integer.parseInt(key.substring(key.lastIndexOf("_") + 1)); in setDefaultKey() local
238 if (isValidColorMode(colorMode)) { in setDefaultKey()
239 setColorMode(colorMode); in setDefaultKey()
256 public void setColorMode(int colorMode) { in setColorMode() argument
[all …]
DColorModeUtils.java50 final int colorMode = colorModeOptionsValues[i]; in getColorModeMapping() local
51 if (colorMode == COLOR_MODE_NATURAL in getColorModeMapping()
52 || colorMode == COLOR_MODE_BOOSTED in getColorModeMapping()
53 || colorMode == COLOR_MODE_SATURATED in getColorModeMapping()
54 || colorMode == COLOR_MODE_AUTOMATIC in getColorModeMapping()
55 || (colorMode >= VENDOR_COLOR_MODE_RANGE_MIN in getColorModeMapping()
56 && colorMode <= VENDOR_COLOR_MODE_RANGE_MAX)) { in getColorModeMapping()
57 colorModesToSummaries.put(colorMode, colorModeOptionsStrings[i]); in getColorModeMapping()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DColorModePreference.java88 desc.colorMode = colorModes[i]; in updateCurrentAndSupported()
98 if (mDescriptions.get(i).colorMode == currentColorMode) { in updateCurrentAndSupported()
112 mDisplay.requestColorMode(desc.colorMode); in persistBoolean()
120 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
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDisplayCompat.java34 public void requestColorMode(int colorMode) { in requestColorMode() argument
35 mDisplay.requestColorMode(colorMode); in requestColorMode()