Searched refs:colorMode (Results 1 – 9 of 9) sorted by relevance
97 public void setColorMode(int colorMode); in setColorMode() argument129 public void setColorMode(int colorMode) { in setColorMode() argument130 mColorMode = colorMode; in setColorMode()174 public void setColorMode(int colorMode) { in setColorMode() argument175 mPrintHelper.setColorMode(colorMode); in setColorMode()269 public void setColorMode(int colorMode) { in setColorMode() argument270 mImpl.setColorMode(colorMode); in setColorMode()
163 public void setColorMode(int colorMode) { in setColorMode() argument164 enforceValidColorMode(colorMode); in setColorMode()165 mColorMode = colorMode; in setColorMode()1265 static String colorModeToString(int colorMode) { in colorModeToString() argument1266 switch (colorMode) { in colorModeToString()1278 static void enforceValidColorMode(int colorMode) { in enforceValidColorMode() argument1279 if ((colorMode & VALID_COLOR_MODES) == 0 && Integer.bitCount(colorMode) == 1) { in enforceValidColorMode()1280 throw new IllegalArgumentException("invalid color mode: " + colorMode); in enforceValidColorMode()1333 public Builder setColorMode(int colorMode) { in setColorMode() argument1334 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()
153 SkXfermode::Mode colorMode; member198 colorMode = SkXfermode::kClear_Mode; in reset()259 key |= (colorMode & PROGRAM_MAX_XFERMODE) << PROGRAM_XFERMODE_COLOR_OP_SHIFT; in key()
690 generateBlend(shader, "blendColors", description.colorMode); in generateFragmentShader()
1703 mDescription.colorMode = mode;
943 final int colorMode = attributes.getColorMode(); in updatePrintAttributesFromCapabilities() local944 if ((capabilities.getColorModes() & colorMode) == 0) { in updatePrintAttributesFromCapabilities()1257 final int colorMode = 1 << colorBitOffset; in updateOptionsUi() local1258 remainingColorModes &= ~colorMode; in updateOptionsUi()1259 if (colorMode != mColorModeSpinnerAdapter.getItem(adapterIndex).value) { in updateOptionsUi()1277 final int colorMode = 1 << colorBitOffset; in updateOptionsUi() local1278 if (colorMode == oldColorMode) { in updateOptionsUi()1282 remainingColorModes &= ~colorMode; in updateOptionsUi()1283 mColorModeSpinnerAdapter.add(new SpinnerItem<>(colorMode, in updateOptionsUi()1547 final int colorMode = attributes.getColorMode(); in canUpdateDocument() local[all …]
127 public void setColorMode(int colorMode) { in setColorMode() argument128 mColorMode = colorMode; in setColorMode()
822 final int colorMode = attributes.getColorMode(); in doWriteStateLocked() local824 String.valueOf(colorMode)); in doWriteStateLocked()1057 String colorMode = parser.getAttributeValue(null, ATTR_COLOR_MODE); in parsePrintJob() local1058 builder.setColorMode(Integer.parseInt(colorMode)); in parsePrintJob()