Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/print/
DPrintHelper.java97 public void setColorMode(int colorMode); in setColorMode() argument
129 public void setColorMode(int colorMode) { in setColorMode() argument
130 mColorMode = colorMode; in setColorMode()
174 public void setColorMode(int colorMode) { in setColorMode() argument
175 mPrintHelper.setColorMode(colorMode); in setColorMode()
269 public void setColorMode(int colorMode) { in setColorMode() argument
270 mImpl.setColorMode(colorMode); in setColorMode()
/frameworks/base/core/java/android/print/
DPrintAttributes.java163 public void setColorMode(int colorMode) { in setColorMode() argument
164 enforceValidColorMode(colorMode); in setColorMode()
165 mColorMode = colorMode; in setColorMode()
1265 static String colorModeToString(int colorMode) { in colorModeToString() argument
1266 switch (colorMode) { in colorModeToString()
1278 static void enforceValidColorMode(int colorMode) { in enforceValidColorMode() argument
1279 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() argument
1334 if (Integer.bitCount(colorMode) > 1) { in setColorMode()
[all …]
DPrinterCapabilitiesInfo.java176 final int colorMode = mDefaults[PROPERTY_COLOR_MODE]; in getDefaults() local
177 if (colorMode > 0) { in getDefaults()
178 builder.setColorMode(colorMode); in getDefaults()
281 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString() local
282 colorModes &= ~colorMode; in colorModesToString()
286 builder.append(PrintAttributes.colorModeToString(colorMode)); in colorModesToString()
/frameworks/base/libs/hwui/
DProgram.h153 SkXfermode::Mode colorMode; member
198 colorMode = SkXfermode::kClear_Mode; in reset()
259 key |= (colorMode & PROGRAM_MAX_XFERMODE) << PROGRAM_XFERMODE_COLOR_OP_SHIFT; in key()
DProgramCache.cpp690 generateBlend(shader, "blendColors", description.colorMode); in generateFragmentShader()
DOpenGLRenderer.cpp1703 mDescription.colorMode = mode;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java943 final int colorMode = attributes.getColorMode(); in updatePrintAttributesFromCapabilities() local
944 if ((capabilities.getColorModes() & colorMode) == 0) { in updatePrintAttributesFromCapabilities()
1257 final int colorMode = 1 << colorBitOffset; in updateOptionsUi() local
1258 remainingColorModes &= ~colorMode; in updateOptionsUi()
1259 if (colorMode != mColorModeSpinnerAdapter.getItem(adapterIndex).value) { in updateOptionsUi()
1277 final int colorMode = 1 << colorBitOffset; in updateOptionsUi() local
1278 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 …]
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java127 public void setColorMode(int colorMode) { in setColorMode() argument
128 mColorMode = colorMode; in setColorMode()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java822 final int colorMode = attributes.getColorMode(); in doWriteStateLocked() local
824 String.valueOf(colorMode)); in doWriteStateLocked()
1057 String colorMode = parser.getAttributeValue(null, ATTR_COLOR_MODE); in parsePrintJob() local
1058 builder.setColorMode(Integer.parseInt(colorMode)); in parsePrintJob()