Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java583 int centerMain = getScrollCenter(view);
584 if (hasScrollPosition(centerMain, getSize(view), scrollCenter)
588 if (mScroll.isMainAxisMovingForward() && centerMain < scrollCenter) {
592 } else if (!mScroll.isMainAxisMovingForward() && centerMain > scrollCenter) {
1326 int centerMain = getScrollCenter(child);
1329 mScroll.setScrollCenter(centerMain, centerSecond);
1331 mScroll.setScrollCenter(centerSecond, centerMain);
2207 int centerMain = getScrollCenter(view);
2210 if (centerMain <= scrollCenter && (mItemsOnOffAxis == 1 || hasScrollPositionSecondAxis(
2214 center = centerMain;
DScrollController.java870 final public void setScrollCenterByMain(int centerMain, int centerSecond) { in setScrollCenterByMain() argument
872 setScrollCenter(centerMain, centerSecond); in setScrollCenterByMain()
874 setScrollCenter(centerSecond, centerMain); in setScrollCenterByMain()