HomeSort by relevance Sort by last modified time
    Searched defs:totalWidth (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 184 float totalWidth = 0f;
188 totalWidth += f;
190 return (int) totalWidth;
  /external/cldr/tools/java/org/unicode/cldr/tool/
GenerateApproximateWidths.java 183 double totalWidth = 0.0d;
193 totalWidth += width;
195 int result = (int) (totalWidth / metrics.length / 10.0d + 0.499999d);
196 // if (result == 0 && totalWidth != 0.0d) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 141 float totalWidth = 0.0f;
143 totalWidth += widths[i];
147 verifyBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]);
151 verifyBreakText(text, textChars, textSpan, 0, 0, true, totalWidth, 0, 0);
154 verifyBreakText(text, textChars, textSpan, 0, 3, true, totalWidth,
158 verifyBreakText(text, textChars, textSpan, 0, 3, false, totalWidth,
162 verifyBreakText(text, textChars, textSpan, 5, 7, true, totalWidth,
166 verifyBreakText(text, textChars, textSpan, 5, 7, false, totalWidth,
170 verifyBreakText(text, textChars, textSpan, 2, 5, true, totalWidth,
174 verifyBreakText(text, textChars, textSpan, 2, 5, false, totalWidth,
    [all...]

Completed in 781 milliseconds