Home
last modified time | relevance | path

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

/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp541 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()
553 const int strWidth = font.char_width * len; in drawText()
566 int cropRect[4] = { 0, 0, font.char_width, -font.char_height }; in drawText()
579 cropRect[0] = col * font.char_width; // Left of column in drawText()
585 glDrawTexiOES(*x, *y, 0, font.char_width, font.char_height); in drawText()
587 *x += font.char_width; in drawText()
DBootAnimation.h51 int char_width; member