Home
last modified time | relevance | path

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

/cts/tests/pdf/src/android/graphics/pdf/cts/
DUtils.java69 static @NonNull PdfRenderer createRenderer(@RawRes int docRes, @NonNull Context context) in createRenderer() argument
71 File pdfFile = sFiles.get(docRes); in createRenderer()
79 context.getResources().openRawResource(docRes))) { in createRenderer()
96 sFiles.put(docRes, pdfFile); in createRenderer()
117 static @NonNull Bitmap renderWithTransform(int bmWidth, int bmHeight, @RawRes int docRes, in renderWithTransform() argument
121 try (PdfRenderer renderer = createRenderer(docRes, context)) { in renderWithTransform()
148 @RawRes int docRes, @Nullable Rect clipping, @Nullable Matrix transformation, in renderAndThenTransform() argument
152 renderedBm = sRenderedBitmaps.get(docRes); in renderAndThenTransform()
155 try (PdfRenderer renderer = Utils.createRenderer(docRes, context)) { in renderAndThenTransform()
162 sRenderedBitmaps.put(docRes, renderedBm); in renderAndThenTransform()
[all …]
DPdfRendererTransformTest.java56 public PdfRendererTransformTest(int width, int height, @RawRes int docRes, in PdfRendererTransformTest() argument
60 mDocRes = docRes; in PdfRendererTransformTest()