Home
last modified time | relevance | path

Searched refs:mLayoutAttributes (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/print/src/android/print/cts/
DPrintAttributesTest.java87 private PrintAttributes mLayoutAttributes; field in PrintAttributesTest
230 mLayoutAttributes = (PrintAttributes) invocation.getArguments()[1]; in createMockPrintDocumentAdapter()
246 writeBlankPages(mLayoutAttributes, fd, pages[0].getStart(), in createMockPrintDocumentAdapter() argument
392 assertEquals("Min margins not as expected", minMargins, mLayoutAttributes.getMinMargins());
397 mLayoutAttributes.getMediaSize());
400 mLayoutAttributes.getMediaSize());
405 mLayoutAttributes.getColorMode());
408 mLayoutAttributes.getColorMode());
413 mLayoutAttributes.getDuplexMode());
416 mLayoutAttributes.getDuplexMode());
[all …]
DPrinterCapabilitiesChangeTest.java71 private final PrintAttributes[] mLayoutAttributes = new PrintAttributes[1]; field in PrinterCapabilitiesChangeTest
193 mLayoutAttributes[0] = (PrintAttributes) invocation.getArguments()[1]; in setUpPrinting()
206 writeBlankPages(mLayoutAttributes[0], fd, pages[0].getStart(), in setUpPrinting()
211 mWriteAttributes[0] = mLayoutAttributes[0]; in setUpPrinting()
242 waitForMediaSizeChange(mLayoutAttributes, mMsBefore); in changeCapabilities()
250 waitForMediaSizeChange(mLayoutAttributes, mMsAfter); in changeCapabilities()
258 waitForMediaSizeChange(mLayoutAttributes, MediaSize.NA_LETTER); in changeCapabilities()
DCustomPrintOptionsTest.java92 private PrintAttributes mLayoutAttributes; field in CustomPrintOptionsTest
169 mLayoutAttributes = (PrintAttributes) invocation.getArguments()[1]; in setUpServicesAndAdapter()
184 writeBlankPages(mLayoutAttributes, fd, writtenPages[0].getStart(), in setUpServicesAndAdapter()
341 while (mLayoutAttributes == null || in testCase()
342 !mLayoutAttributes.equals(newAttributes)) { in testCase()
349 + mLayoutAttributes); in testCase()