Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DSimSelectorAvatarRequest.java102 final Rect textBound = new Rect(); in renderSimAvatarInternal() local
103 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()
DAvatarRequest.java170 final Rect textBound = new Rect(); in renderLetterTile() local
171 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()