Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java1483 int childCenter = getChildOffset(i) + halfChildWidth; in getPageNearestToCenterOfScreen() local
1484 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1787 int childCenter = getViewportOffsetX() + getChildOffset(i) + halfChildWidth; in getPageNearestToCenterOfScreen() local
1788 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen()