Lines Matching refs:mScrollCur
150 dimen_t mScrollCur; member in android::Terminal
260 mScrollCur(0), mScrollSize(100) { in Terminal()
429 if (mScrollCur == mScrollSize) { in onPushline()
431 if (mScroll[mScrollCur - 1]->cols == cols) { in onPushline()
432 line = mScroll[mScrollCur - 1]; in onPushline()
434 delete mScroll[mScrollCur - 1]; in onPushline()
437 memmove(mScroll + 1, mScroll, sizeof(ScrollbackLine*) * (mScrollCur - 1)); in onPushline()
438 } else if (mScrollCur > 0) { in onPushline()
439 memmove(mScroll + 1, mScroll, sizeof(ScrollbackLine*) * mScrollCur); in onPushline()
448 if (mScrollCur < mScrollSize) { in onPushline()
449 mScrollCur++; in onPushline()
457 if (mScrollCur == 0) { in onPopline()
462 mScrollCur--; in onPopline()
463 memmove(mScroll, mScroll + 1, sizeof(ScrollbackLine*) * mScrollCur); in onPopline()
481 if (scrollRow > mScrollCur) { in getCellLocked()