Searched refs:sStringWidthBounds (Results 1 – 1 of 1) sorted by relevance
100 private static final Rect sStringWidthBounds = new Rect(); field in TypefaceUtils103 synchronized (sStringWidthBounds) { in getStringWidth()104 paint.getTextBounds(string, 0, string.length(), sStringWidthBounds); in getStringWidth()105 return sStringWidthBounds.width(); in getStringWidth()