Searched refs:widths (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 138 float[] widths = new float[text.length()]; in testBreakText() local 139 assertEquals(text.length(), p.getTextWidths(text, widths)); in testBreakText() 143 totalWidth += widths[i]; in testBreakText() 147 verifyBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]); in testBreakText() 155 3, widths[0] + widths[1] + widths[2]); in testBreakText() 159 3, widths[0] + widths[1] + widths[2]); in testBreakText() 163 2, widths[5] + widths[6]); in testBreakText() 167 2, widths[5] + widths[6]); in testBreakText() 171 3, widths[2] + widths[3] + widths[4]); in testBreakText() 175 3, widths[2] + widths[3] + widths[4]); in testBreakText() [all …]
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTransformTest.java | 68 int[] widths = new int[] { A4_WIDTH_PTS * 3 / 4, A4_WIDTH_PTS, A4_WIDTH_PTS * 4 / 3 in getParameters() local 100 for (int width : widths) { in getParameters()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 185 float[] widths = new float[str.length()]; in getTextWidth() local 186 paint.getTextWidths(str, widths); in getTextWidth() 187 for (float f : widths) { in getTextWidth()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 415 int[] widths = new int[] { 0, 4, 10 }; in testNarrowWidth() local 423 for (int width: widths) { in testNarrowWidth() 431 int[] widths = new int[] { 1, 4 }; in testNarrowWidthZeroWidth() local 432 for (int width: widths) { in testNarrowWidthZeroWidth()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecPerformanceTestBase.java | 312 Range<Integer> widths = vc.getSupportedWidthsFor(heights.getUpper()); in getMaxFrameSize() local 313 int maxFrameSize = heights.getUpper() * widths.getUpper(); in getMaxFrameSize()
|
/cts/apps/CameraITS/utils/ |
D | its_session_utils.py | 754 widths = None 770 widths = [out['width'] for out in outputs] 800 obj['width'] = widths[j] 812 buf_size = (widths[j] * heights[j] * 3) // 2
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoEncoderTest.java | 1072 public boolean testArbitrary(boolean flexYUV, boolean widths) { in testArbitrary() argument 1074 for (Size s : (widths ? mArbitraryW : mArbitraryH)) { in testArbitrary() 1998 private void arbitrary(Encoder[] encoders, boolean flexYUV, boolean widths) { in arbitrary() argument 2005 if (encoder.testArbitrary(flexYUV, widths)) { in arbitrary()
|