Home
last modified time | relevance | path

Searched refs:widths (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java147 float[] widths = new float[text.length()]; in testBreakText() local
148 assertEquals(text.length(), p.getTextWidths(text, widths)); in testBreakText()
152 totalWidth += widths[i]; in testBreakText()
156 verifyBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]); in testBreakText()
164 3, widths[0] + widths[1] + widths[2]); in testBreakText()
168 3, widths[0] + widths[1] + widths[2]); in testBreakText()
172 2, widths[5] + widths[6]); in testBreakText()
176 2, widths[5] + widths[6]); in testBreakText()
180 3, widths[2] + widths[3] + widths[4]); in testBreakText()
184 3, widths[2] + widths[3] + widths[4]); in testBreakText()
[all …]
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java225 static void prepareParamsList(List<Object[]> testParams, String mediaType, int[] widths, in prepareParamsList() argument
229 for (int i = 0; i < widths.length; i++) { in prepareParamsList()
231 MediaFormat.createVideoFormat(mediaType, widths[i], heights[i]); in prepareParamsList()
244 new Object[]{mediaType, widths[i], heights[i], encoder, maxBFrame}); in prepareParamsList()
257 int[] widths = {320, 720, 1280, 1920}; in input() local
259 prepareParamsList(testParams, mediaType, widths, heights); in input()
261 int[] widths = {176, 352, 704, 1408}; in input() local
263 prepareParamsList(testParams, mediaType, widths, heights); in input()
265 int[] widths = {320, 720, 1280, 1920, 3840}; in input() local
267 prepareParamsList(testParams, mediaType, widths, heights); in input()
[all …]
DCodecPerformanceTestBase.java336 Range<Integer> widths = vc.getSupportedWidthsFor(heights.getUpper()); in getMaxFrameSize() local
337 int maxFrameSize = heights.getUpper() * widths.getUpper(); in getMaxFrameSize()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfRendererTransformTest.java75 int[] widths = new int[]{A4_WIDTH_PTS * 3 / 4, A4_WIDTH_PTS, A4_WIDTH_PTS * 4 / 3}; in getParameters() local
104 for (int width : widths) { in getParameters()
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java197 float[] widths = new float[str.length()]; in getTextWidth() local
198 paint.getTextWidths(str, widths); in getTextWidth()
199 for (float f : widths) { in getTextWidth()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java415 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/media/src/android/mediav2/cts/
DCodecInfoTest.java325 Range<Integer> widths = vCaps.getSupportedWidths(); in testResolutionSupport() local
328 + widths + " height range " + heights, widths, heights); in testResolutionSupport()
/cts/apps/CameraITS/utils/
Dits_session_utils.py2001 widths = None
2029 widths = [out['width'] for out in outputs]
2059 obj['width'] = widths[j]
2071 buf_size = (widths[j] * heights[j] * 3) // 2
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DVideoEncoderTest.java1314 for (boolean widths : new boolean[] {false, true}) { in input()
1315 for (Size s : (widths ? encoderSize.mArbitraryW : encoderSize.mArbitraryH)) { in input()