Searched refs:createRenderer (Results 1 – 2 of 2) sorted by relevance
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 23 import static android.graphics.pdf.cts.Utils.createRenderer; 89 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in useRendererAfterClose() 100 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in usePageAfterClose() 121 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in closeWithOpenPage() 132 try (PdfRenderer renderer = createRenderer(TWO_PAGES, mContext)) { in openTwoPages() 143 try (PdfRenderer renderer = createRenderer(TWO_PAGES, mContext)) { in testPageCount() 150 try (PdfRenderer renderer = createRenderer(TWO_PAGES, mContext)) { in testOpenPage() 162 try (PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in testPageSize() 171 try (PdfRenderer renderer = createRenderer(A5_PORTRAIT, mContext)) { in testPrintScaleDefault() 178 try (PdfRenderer renderer = createRenderer(A5_PORTRAIT_PRINTSCALING_DEFAULT, mContext)) { in testPrintScalePDF16Default() [all …]
|
D | Utils.java | 69 static @NonNull PdfRenderer createRenderer(@RawRes int docRes, @NonNull Context context) in createRenderer() method in Utils 121 try (PdfRenderer renderer = createRenderer(docRes, context)) { in renderWithTransform() 155 try (PdfRenderer renderer = Utils.createRenderer(docRes, context)) { in renderAndThenTransform()
|