Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java239 private final ScrollController mScroll; field in ScrollAdapterView
465 mScroll = new ScrollController(getContext());
478 mScroll.setScrollItemAlign(a.getInt(R.styleable.ScrollAdapterView_scrollItemAlign,
530 mScroll.lerper().setDivisor(a.getFloat(
538 mScroll.setOrientation(orientation);
588 if (mScroll.isMainAxisMovingForward() && centerMain < scrollCenter) {
592 } else if (!mScroll.isMainAxisMovingForward() && centerMain > scrollCenter) {
599 } else if (mScroll.isSecondAxisMovingForward() &&
604 } else if (!mScroll.isSecondAxisMovingForward() &&
618 return findViewIndexContainingScrollCenter(mScroll.mainAxis().getScrollCenter(),
[all …]
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp149 ScrollbackLine **mScroll; member in android::Terminal
264 mScroll = new ScrollbackLine*[mScrollSize]; in Terminal()
265 memset(mScroll, 0, sizeof(ScrollbackLine*) * mScrollSize); in Terminal()
285 delete mScroll; in ~Terminal()
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()
439 memmove(mScroll + 1, mScroll, sizeof(ScrollbackLine*) * mScrollCur); in onPushline()
446 mScroll[0] = line; in onPushline()
[all …]