Searched refs:textBound (Results 1 – 2 of 2) sorted by relevance
102 final Rect textBound = new Rect(); in renderSimAvatarInternal() local103 paint.getTextBounds(firstCharString, 0, 1, textBound); in renderSimAvatarInternal()105 final float xOffset = halfWidth - textBound.centerX(); in renderSimAvatarInternal()106 final float yOffset = halfHeight - textBound.centerY(); in renderSimAvatarInternal()
170 final Rect textBound = new Rect(); in renderLetterTile() local171 paint.getTextBounds(firstCharString, 0, 1, textBound); in renderLetterTile()174 final float xOffset = halfWidth - textBound.centerX(); in renderLetterTile()175 final float yOffset = halfHeight - textBound.centerY(); in renderLetterTile()