Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java143 private float mScrollCenter; field in ScrollController.Axis
317 return (int) mScrollCenter; in getScrollCenter()
335 if (mScrollCenter < mScrollMin) { in updateScrollMin()
336 mScrollCenter = mScrollMin; in updateScrollMin()
356 if (mScrollCenter > mScrollMax) { in updateScrollMax()
357 mScrollCenter = mScrollMax; in updateScrollMax()
376 if (mScrollCenter >= mScrollMax) { in canScroll()
380 if (mScrollCenter <= mScrollMin) { in canScroll()
393 scrollTarget = mScrollCenter; in updateScrollCenter()
403 mScrollCenter = mLerper.getValue(mScrollCenter, scrollTarget); in updateScrollCenter()
[all …]
DScrollAdapterView.java279 int mScrollCenter; // cached scroll center field in ScrollAdapterView.ChildViewHolder
1322 h.mScrollCenter = computeScrollCenter(viewIndex + i);
2384 h.mScrollCenter = computeScrollCenter(k);
2547 return ((ChildViewHolder) view.getTag(R.id.ScrollAdapterViewChild)).mScrollCenter;