Home
last modified time | relevance | path

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

/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp102 static constexpr size_t FONT_NUM_COLS = 16; variable
103 static constexpr size_t FONT_NUM_ROWS = FONT_NUM_CHARS / FONT_NUM_COLS;
1077 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()
1114 const int row = charPos / FONT_NUM_COLS; in drawText()
1115 const int col = charPos % FONT_NUM_COLS; in drawText()
1118 float u0 = ((float)col) / FONT_NUM_COLS; in drawText()
1120 float u1 = u0 + 1.0f / FONT_NUM_COLS; in drawText()