Searched refs:colorMode (Results 1 – 5 of 5) sorted by relevance
216 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() local229 if (isValidColorMode(colorMode)) { in getDefaultKey()230 return getKeyForColorMode(colorMode); in getDefaultKey()237 int colorMode = Integer.parseInt(key.substring(key.lastIndexOf("_") + 1)); in setDefaultKey() local238 if (isValidColorMode(colorMode)) { in setDefaultKey()239 setColorMode(colorMode); in setDefaultKey()256 public void setColorMode(int colorMode) { in setColorMode() argument[all …]
50 final int colorMode = colorModeOptionsValues[i]; in getColorModeMapping() local51 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()
88 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
53 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
34 public void requestColorMode(int colorMode) { in requestColorMode() argument35 mDisplay.requestColorMode(colorMode); in requestColorMode()