Searched refs:colorMode (Results 1 – 9 of 9) sorted by relevance
84 public void setColorMode(int colorMode); in setColorMode() argument116 public void setColorMode(int colorMode) { in setColorMode() argument117 mColorMode = colorMode; in setColorMode()161 public void setColorMode(int colorMode) { in setColorMode() argument162 mPrintHelper.setColorMode(colorMode); in setColorMode()236 public void setColorMode(int colorMode) { in setColorMode() argument237 mImpl.setColorMode(colorMode); in setColorMode()
149 public void setColorMode(int colorMode) { in setColorMode() argument150 enforceValidColorMode(colorMode); in setColorMode()151 mColorMode = colorMode; in setColorMode()1164 static String colorModeToString(int colorMode) { in colorModeToString() argument1165 switch (colorMode) { in colorModeToString()1177 static void enforceValidColorMode(int colorMode) { in enforceValidColorMode() argument1178 if ((colorMode & VALID_COLOR_MODES) == 0 && Integer.bitCount(colorMode) == 1) { in enforceValidColorMode()1179 throw new IllegalArgumentException("invalid color mode: " + colorMode); in enforceValidColorMode()1232 public Builder setColorMode(int colorMode) { in setColorMode() argument1233 if (Integer.bitCount(colorMode) > 1) { in setColorMode()[all …]
176 final int colorMode = mDefaults[PROPERTY_COLOR_MODE]; in getDefaults() local177 if (colorMode > 0) { in getDefaults()178 builder.setColorMode(colorMode); in getDefaults()281 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString() local282 colorModes &= ~colorMode; in colorModesToString()286 builder.append(PrintAttributes.colorModeToString(colorMode)); in colorModesToString()
151 SkXfermode::Mode colorMode; member194 colorMode = SkXfermode::kClear_Mode; in reset()256 key |= (colorMode & PROGRAM_MAX_XFERMODE) << PROGRAM_XFERMODE_COLOR_OP_SHIFT; in key()
109 description.colorMode = mMode; in describe()
651 generateBlend(shader, "blendColors", description.colorMode); in generateFragmentShader()
1096 final int colorMode = mCurrPrintAttributes.getColorMode(); in updatePrintAttributes() local1097 if ((capabilities.getColorModes() & colorMode) == 0) { in updatePrintAttributes()1098 mCurrPrintAttributes.setColorMode(colorMode); in updatePrintAttributes()1499 final int colorMode = attributes.getColorMode(); in updateFromAdvancedOptions() local1500 if (mCurrPrintAttributes.getColorMode() != colorMode) { in updateFromAdvancedOptions()1501 if (colorMode == PrintAttributes.COLOR_MODE_MONOCHROME) { in updateFromAdvancedOptions()1506 } else if (colorMode == PrintAttributes.COLOR_MODE_COLOR) { in updateFromAdvancedOptions()2157 final int colorMode = 1 << colorBitOffset; in updateUi() local2158 remainingColorModes &= ~colorMode; in updateUi()2159 if (colorMode != mColorModeSpinnerAdapter.getItem(adapterIndex).value) { in updateUi()[all …]
859 final int colorMode = attributes.getColorMode(); in doWriteStateLocked() local861 String.valueOf(colorMode)); in doWriteStateLocked()1094 String colorMode = parser.getAttributeValue(null, ATTR_COLOR_MODE); in parsePrintJob() local1095 builder.setColorMode(Integer.parseInt(colorMode)); in parsePrintJob()
123 public void setColorMode(int colorMode) { in setColorMode() argument124 mColorMode = colorMode; in setColorMode()