Home
last modified time | relevance | path

Searched refs:totalWidth (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java184 float totalWidth = 0f; in getTextWidth() local
188 totalWidth += f; in getTextWidth()
190 return (int) totalWidth; in getTextWidth()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java141 float totalWidth = 0.0f; in testBreakText() local
143 totalWidth += widths[i]; in testBreakText()
147 verifyBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]); in testBreakText()
151 verifyBreakText(text, textChars, textSpan, 0, 0, true, totalWidth, 0, 0); in testBreakText()
154 verifyBreakText(text, textChars, textSpan, 0, 3, true, totalWidth, in testBreakText()
158 verifyBreakText(text, textChars, textSpan, 0, 3, false, totalWidth, in testBreakText()
162 verifyBreakText(text, textChars, textSpan, 5, 7, true, totalWidth, in testBreakText()
166 verifyBreakText(text, textChars, textSpan, 5, 7, false, totalWidth, in testBreakText()
170 verifyBreakText(text, textChars, textSpan, 2, 5, true, totalWidth, in testBreakText()
174 verifyBreakText(text, textChars, textSpan, 2, 5, false, totalWidth, in testBreakText()
[all …]