Home
last modified time | relevance | path

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

/aosp14/system/core/healthd/
H A Dhealthd_draw.cpp159 int str_len_px = length * field.font->char_width; in determine_xy()
185 if (!graphics_available || field.font == nullptr || field.font->char_width == 0 || in draw_clock()
218 if (field.font == nullptr || field.font->char_width == 0 || field.font->char_height == 0) { in draw_percent()
/aosp14/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h60 int char_width; member
H A DBootAnimation.cpp1040 font->char_width = font->texture.w / FONT_NUM_COLS; in initFont()
1054 const int strWidth = font.char_width * len; in drawText()
1084 drawTexturedQuad(*x, *y, font.char_width, font.char_height); in drawText()
1086 *x += font.char_width; in drawText()