Searched refs:widths (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 72 float[] widths = new float[text.length()]; in testBreakText() local 73 assertEquals(text.length(), p.getTextWidths(text, widths)); in testBreakText() 77 totalWidth += widths[i]; in testBreakText() 82 assertBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]); in testBreakText() 90 3, widths[0] + widths[1] + widths[2]); in testBreakText() 94 3, widths[0] + widths[1] + widths[2]); in testBreakText() 98 2, widths[5] + widths[6]); in testBreakText() 102 2, widths[5] + widths[6]); in testBreakText() 106 3, widths[2] + widths[3] + widths[4]); in testBreakText() 110 3, widths[2] + widths[3] + widths[4]); in testBreakText() [all …]
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 190 float[] widths = new float[str.length()]; in getTextWidth() local 191 paint.getTextWidths(str, widths); in getTextWidth() 192 for (float f : widths) { in getTextWidth()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 422 int[] widths = new int[] { 0, 4, 10 }; in testNarrowWidth() local 430 for (int width: widths) { in testNarrowWidth() 437 int[] widths = new int[] { 1, 4 }; in testNarrowWidthZeroWidth() local 438 for (int width: widths) { in testNarrowWidthZeroWidth()
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 608 widths = None 620 widths = [out['width'] for out in outputs] 631 obj["width"] = widths[j]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoEncoderTest.java | 926 public boolean testArbitrary(boolean flexYUV, boolean widths) { in testArbitrary() argument 928 for (Size s : (widths ? mArbitraryW : mArbitraryH)) { in testArbitrary() 1534 private void arbitrary(Encoder[] encoders, boolean flexYUV, boolean widths) { in arbitrary() argument 1541 if (encoder.testArbitrary(flexYUV, widths)) { in arbitrary()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 2636 float[] widths = new float[LONG_TEXT.length()]; 2637 mTextView.getPaint().getTextWidths(LONG_TEXT, widths); 2639 for (float f : widths) { 2659 float[] widths = new float[text.length()]; in calculateTextWidth() local 2660 mTextView.getPaint().getTextWidths(text, widths); in calculateTextWidth() 2663 textfieldWidth += widths[i]; in calculateTextWidth()
|