Home
last modified time | relevance | path

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

/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java23 import static android.graphics.pdf.cts.Utils.createRenderer;
81 verifyException(() -> createRenderer(R.raw.testimage, mContext), IOException.class); in constructRendererFromNonPDF()
86 verifyException(() -> createRenderer(PROTECTED_PDF, mContext), SecurityException.class); in constructRendererFromProtectedPDF()
92 PdfRenderer firstRenderer = createRenderer(A4_PORTRAIT, mContext); in rendererRecoversAfterFailure()
94 verifyException(() -> createRenderer(PROTECTED_PDF, mContext), SecurityException.class); in rendererRecoversAfterFailure()
97 PdfRenderer renderer = createRenderer(TWO_PAGES, mContext); in rendererRecoversAfterFailure()
105 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in useRendererAfterClose()
116 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in usePageAfterClose()
137 PdfRenderer renderer = createRenderer(A4_PORTRAIT, mContext); in closeWithOpenPage()
148 try (PdfRenderer renderer = createRenderer(TWO_PAGES, mContext)) { in openTwoPages()
[all …]
DUtils.java69 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()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp301 jlong createRenderer(JNIEnv*, jclass) { in createRenderer() function
333 {"nCreateRenderer", "()J", (void*)createRenderer},