Searched refs:mediaSizes (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintAttributesTest.java | 139 final Margins minMargins, final MediaSize mediaSizes[], in createMockPrinterDiscoverySessionCallbacks() argument 158 int mediaSizesLength = mediaSizes.length; in createMockPrinterDiscoverySessionCallbacks() 160 if (mediaSizes[i].equals(defaultMediaSize)) { in createMockPrinterDiscoverySessionCallbacks() 161 builder.addMediaSize(mediaSizes[i], true); in createMockPrinterDiscoverySessionCallbacks() 163 builder.addMediaSize(mediaSizes[i], false); in createMockPrinterDiscoverySessionCallbacks() 287 private PrintDocumentAdapter setUpPrinter(Margins minMargins, MediaSize mediaSizes[], 291 createMockPrinterDiscoverySessionCallbacks(minMargins, mediaSizes, 366 private void baseTest(Margins minMargins, MediaSize mediaSizes[], 377 setUpPrinter(minMargins, mediaSizes, defaultMediaSize, colorModes, defaultColorMode, 405 if (suggestedMediaSize != null && Arrays.asList(mediaSizes).contains(suggestedMediaSize)) {
|
D | PrinterCapabilitiesTest.java | 503 MediaSize[] mediaSizes = {MediaSize.ISO_A0, MediaSize.ISO_A0, in testSanePrinterCapabilityInfos() 514 for (int mediaSizeIndex = 1; mediaSizeIndex < mediaSizes.length; in testSanePrinterCapabilityInfos() 516 for (int resolutionIndex = 1; resolutionIndex < mediaSizes.length; in testSanePrinterCapabilityInfos() 530 b.addMediaSize(mediaSizes[i], i == mediaSizeIndex - 1); in testSanePrinterCapabilityInfos()
|