Home
last modified time | relevance | path

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

/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp150 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()
[all …]