Searched refs:textBound (Results 1 – 1 of 1) sorted by relevance
224 final Rect textBound = new Rect(); in createIconBitmap() local225 paint.getTextBounds(index, 0, 1, textBound); in createIconBitmap()226 final float xOffset = (width / 2.f) - textBound.centerX(); in createIconBitmap()227 final float yOffset = (height / 2.f) - textBound.centerY(); in createIconBitmap()