Home
last modified time | relevance | path

Searched refs:colorModes (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrintAttributesTest.java148 final MediaSize defaultMediaSize, final int colorModes[], final int defaultColorMode, in createMockPrinterDiscoverySessionCallbacks() argument
174 int colorModesLength = colorModes.length; in createMockPrinterDiscoverySessionCallbacks()
176 colorModesMask |= colorModes[i]; in createMockPrinterDiscoverySessionCallbacks()
276 MediaSize defaultMediaSize, int colorModes[], int defaultColorMode, int duplexModes[],
280 defaultMediaSize, colorModes, defaultColorMode, duplexModes,
367 MediaSize defaultMediaSize, MediaSize suggestedMediaSize, int colorModes[],
372 setUpPrinter(minMargins, mediaSizes, defaultMediaSize, colorModes, defaultColorMode,
403 if (suggestedColorMode != 0 && isInArray(colorModes, suggestedColorMode)) {
DPrinterCapabilitiesTest.java197 int[] colorModes = {PrintAttributes.COLOR_MODE_MONOCHROME, in sanePrinterCapabilityInfos()
208 for (int colorIndex = 1; colorIndex < colorModes.length; in sanePrinterCapabilityInfos()
231 allColors |= colorModes[i]; in sanePrinterCapabilityInfos()
233 b.setColorModes(allColors, colorModes[colorIndex - 1]); in sanePrinterCapabilityInfos()
268 assertEquals(colorModes[colorIndex - 1], in sanePrinterCapabilityInfos()