like getpackedstringdimensions except adds extra space to accommodate all characters that can be drawn regardless of whether or not they exist in text . this ensures a more uniform appearance for things that have dynamic text . concode_field_sep int ZERO concode_field_sep Rect getPackedStringDimensions concode_elem_sep float getFontHeight
Rect function ( String arg0 , Paint arg1 ) { Rect loc0 = new Rect ( ) ; if ( arg0 == null || arg0 . length ( ) == ZERO ) { return null ; } arg1 . getTextBounds ( arg0 , ZERO , arg0 . length ( ) , loc0 ) ; loc0 . bottom = loc0 . top + ( int ) getFontHeight ( arg1 ) ; return loc0 ; }