Home
last modified time | relevance | path

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

/bootable/recovery/
Dwear_ui.cpp199 text_cols_ = (gr_fb_width() - (kMarginWidth * 2)) / char_width_; in InitTextParams()
202 if (text_cols_ > kMaxCols) text_cols_ = kMaxCols; in InitTextParams()
236 if (text_rows_ > 0 && text_cols_ > 0) { in Print()
239 if (*ptr == '\n' || text_col_ >= text_cols_) { in Print()
256 if (text_rows_ > 0 && text_cols_ > 0) { in StartMenu()
265 menu_.emplace_back(std::string(items[i], strnlen(items[i], text_cols_ - 1))); in StartMenu()
354 if (ch == '\n' || text_col_ >= text_cols_) { in PutChar()
387 if (text_rows_ > 0 && text_cols_ > 0) { in PrintV()
389 if (*ptr == '\n' || text_col_ >= text_cols_) { in PrintV()
Dscreen_ui.cpp64 text_cols_(0), in ScreenRecoveryUI()
288 std::string sub = line.substr(next_start, text_cols_ + 1); in DrawWrappedTextLines()
289 if (sub.size() <= text_cols_) { in DrawWrappedTextLines()
296 sub.resize(text_cols_); in DrawWrappedTextLines()
297 next_start += text_cols_; in DrawWrappedTextLines()
494 text_cols_ = (gr_fb_width() - kMarginWidth * 2) / char_width_; in InitTextParams()
509 text_ = Alloc2d(text_rows_, text_cols_ + 1); in Init()
510 file_viewer_text_ = Alloc2d(text_rows_, text_cols_ + 1); in Init()
640 if (text_rows_ > 0 && text_cols_ > 0) { in PrintV()
642 if (*ptr == '\n' || text_col_ >= text_cols_) { in PrintV()
[all …]
Dvr_ui.cpp26 text_cols_ = (mid_divide - kMarginWidth - kStereoOffset) / char_width_; in InitTextParams()
Dscreen_ui.h122 size_t text_cols_, text_rows_; variable