Searched refs:A4_HEIGHT_PTS (Results 1 – 3 of 3) sorted by relevance
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 19 import static android.graphics.pdf.cts.Utils.A4_HEIGHT_PTS; 180 assertEquals(A4_HEIGHT_PTS, page.getHeight()); in testPageSize() 246 Bitmap bm = renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, null, in renderNoTransformationAndComparePoints() 287 () -> renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, transform, in renderPerspective() 297 transform.postTranslate(A4_WIDTH_PTS / 4, A4_HEIGHT_PTS / 4); in render45degreeRotationTranslationAndScaleAndClip() 301 Rect clip = new Rect(20, 20, A4_WIDTH_PTS - 20, A4_HEIGHT_PTS - 20); in render45degreeRotationTranslationAndScaleAndClip() 303 renderAndCompare(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, clip, transform, in render45degreeRotationTranslationAndScaleAndClip() 309 renderAndCompare(A4_WIDTH_PTS * 4 / 3, A4_HEIGHT_PTS * 3 / 4, A4_PORTRAIT, null, null, in renderStreched() 315 Rect clip = new Rect(20, 20, A4_WIDTH_PTS - 50, A4_HEIGHT_PTS - 50); in renderWithClip() 316 renderAndCompare(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, clip, null, in renderWithClip() [all …]
|
D | PdfRendererTransformTest.java | 19 import static android.graphics.pdf.cts.Utils.A4_HEIGHT_PTS; 70 int[] heights = new int[] { A4_HEIGHT_PTS * 3 / 4, A4_HEIGHT_PTS, A4_HEIGHT_PTS * 4 / 3 in getParameters() 73 int[] translations = new int[] { -A4_HEIGHT_PTS / 2, 0, A4_HEIGHT_PTS / 2 }; in getParameters()
|
D | Utils.java | 55 static final int A4_HEIGHT_PTS = 841; field in Utils
|