• Home
  • Raw
  • Download

Lines Matching refs:cols

76     inline ScrollbackLine(dimen_t _cols) : cols(_cols) {  in ScrollbackLine()
77 mCells = new VTermScreenCell[cols]; in ScrollbackLine()
83 inline dimen_t copyFrom(dimen_t cols, const VTermScreenCell* cells) { in copyFrom() argument
84 dimen_t n = this->cols > cols ? cols : this->cols; in copyFrom()
89 inline dimen_t copyTo(dimen_t cols, VTermScreenCell* cells) { in copyTo() argument
90 dimen_t n = cols > this->cols ? this->cols : cols; in copyTo()
99 const dimen_t cols; member in android::ScrollbackLine
121 status_t resize(dimen_t rows, dimen_t cols, dimen_t scrollRows);
123 status_t onPushline(dimen_t cols, const VTermScreenCell* cells);
124 status_t onPopline(dimen_t cols, VTermScreenCell* cells);
228 static int term_sb_pushline(int cols, const VTermScreenCell *cells, void *user) { in term_sb_pushline() argument
234 return term->onPushline(cols, cells); in term_sb_pushline()
237 static int term_sb_popline(int cols, VTermScreenCell *cells, void *user) { in term_sb_popline() argument
243 return term->onPopline(cols, cells); in term_sb_popline()
409 status_t Terminal::resize(dimen_t rows, dimen_t cols, dimen_t scrollRows) { in resize() argument
412 ALOGD("resize(%d, %d, %d)", rows, cols, scrollRows); in resize()
415 mCols = cols; in resize()
418 struct winsize size = { rows, cols, 0, 0 }; in resize()
421 vterm_set_size(mVt, rows, cols); in resize()
427 status_t Terminal::onPushline(dimen_t cols, const VTermScreenCell* cells) { in onPushline() argument
431 if (mScroll[mScrollCur - 1]->cols == cols) { in onPushline()
443 line = new ScrollbackLine(cols); in onPushline()
452 line->copyFrom(cols, cells); in onPushline()
456 status_t Terminal::onPopline(dimen_t cols, VTermScreenCell* cells) { in onPopline() argument
465 dimen_t n = line->copyTo(cols, cells); in onPopline()
466 for (dimen_t col = n; col < cols; col++) { in onPopline()
491 if ((size_t) pos.col < line->cols) { in getCellLocked()
501 line->getCell(line->cols - 1, cell); in getCellLocked()
560 jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) { in com_android_terminal_Terminal_nativeResize() argument
562 return term->resize(rows, cols, scrollRows); in com_android_terminal_Terminal_nativeResize()