Home
last modified time | relevance | path

Searched refs:renderMode (Results 1 – 5 of 5) sorted by relevance

/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DCommonRendererTest.java239 private void assertException(Rect destClip, Matrix transformation, int renderMode) { in assertException() argument
242 transformation, renderMode, RenderParams.FLAG_RENDER_TEXT_ANNOTATIONS, in assertException()
249 transformation, renderMode, RenderParams.FLAG_RENDER_TEXT_ANNOTATIONS, in assertException()
256 renderMode, RenderParams.FLAG_RENDER_TEXT_ANNOTATIONS, mContext)); in assertException()
278 private Bitmap getBitmap(int renderMode, boolean isPreV, boolean useNewConstructor) in getBitmap() argument
281 return renderPreV(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, null, renderMode, in getBitmap()
285 return renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, null, renderMode, in getBitmap()
289 private void assertRenderParams(int renderMode, int renderFlag, RenderParams renderParams) { in assertRenderParams() argument
291 assertThat(renderParams.getRenderMode()).isEqualTo(renderMode); in assertRenderParams()
DUtils.java188 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode, in renderWithTransform() argument
198 renderMode).setRenderFlags(renderFlag).build()); in renderWithTransform()
206 page.render(bm, clipping, transformation, renderMode); in renderWithTransform()
233 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode, in renderAndThenTransform() argument
248 renderMode).setRenderFlags(renderFlag).build()); in renderAndThenTransform()
261 page.render(renderedBm, null, null, renderMode); in renderAndThenTransform()
369 @Nullable Matrix transformation, int renderMode, int renderFlag, in renderAndCompare() argument
373 renderMode, renderFlag, useNewConstructor, context); in renderAndCompare()
375 transformation, renderMode, renderFlag, useNewConstructor, context); in renderAndCompare()
396 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode, in renderPreVAndCompare() argument
[all …]
DPdfRendererTransformTest.java64 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode) { in PdfRendererTransformTest() argument
70 mRenderMode = renderMode; in PdfRendererTransformTest()
/cts/tests/camera/src/android/hardware/cts/
DGLSurfaceViewCtsActivity.java66 public static void setRenderMode(int renderMode) { in setRenderMode() argument
68 mRenderMode = renderMode; in setRenderMode()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java496 public void setRenderMode(int renderMode) { in setRenderMode() argument
497 mGLThread.setRenderMode(renderMode); in setRenderMode()
589 int renderMode = RENDERMODE_CONTINUOUSLY; in onAttachedToWindow() local
591 renderMode = mGLThread.getRenderMode(); in onAttachedToWindow()
594 if (renderMode != RENDERMODE_CONTINUOUSLY) { in onAttachedToWindow()
595 mGLThread.setRenderMode(renderMode); in onAttachedToWindow()
1583 public void setRenderMode(int renderMode) { in setRenderMode() argument
1584 … if ( !((RENDERMODE_WHEN_DIRTY <= renderMode) && (renderMode <= RENDERMODE_CONTINUOUSLY)) ) { in setRenderMode()
1588 mRenderMode = renderMode; in setRenderMode()