Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1043 protected void screenScrolled(int screenCenter) { in screenScrolled() argument
1050 float scrollProgress = getScrollProgress(screenCenter, child, i); in screenScrolled()
1204 int screenCenter = mOverScrollX + halfScreenSize; in dispatchDraw() local
1206 if (screenCenter != mLastScreenCenter || mForceScreenScrolled) { in dispatchDraw()
1210 screenScrolled(screenCenter); in dispatchDraw()
1211 mLastScreenCenter = screenCenter; in dispatchDraw()
1548 protected float getBoundedScrollProgress(int screenCenter, View v, int page) { in getBoundedScrollProgress() argument
1551 screenCenter = Math.min(getScrollX() + halfScreenSize, screenCenter); in getBoundedScrollProgress()
1552 screenCenter = Math.max(halfScreenSize, screenCenter); in getBoundedScrollProgress()
1554 return getScrollProgress(screenCenter, v, page); in getBoundedScrollProgress()
[all …]
DWorkspace.java1650 private void updatePageAlphaValues(int screenCenter) { in updatePageAlphaValues() argument
1659 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues()
1687 private void updateStateForCustomContent(int screenCenter) { in updateStateForCustomContent() argument
1748 protected void screenScrolled(int screenCenter) { in screenScrolled() argument
1750 super.screenScrolled(screenCenter); in screenScrolled()
1752 updatePageAlphaValues(screenCenter); in screenScrolled()
1753 updateStateForCustomContent(screenCenter); in screenScrolled()
DAppsCustomizePagedView.java1326 protected void screenScrolled(int screenCenter) { in screenScrolled() argument
1327 super.screenScrolled(screenCenter); in screenScrolled()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java684 protected void screenScrolled(int screenCenter) { in screenScrolled() argument
694 float scrollProgress = getScrollProgress(screenCenter, child, i); in screenScrolled()
824 int screenCenter = mOverScrollX + halfScreenSize; in dispatchDraw() local
826 if (screenCenter != mLastScreenCenter || mForceScreenScrolled) { in dispatchDraw()
830 screenScrolled(screenCenter); in dispatchDraw()
831 mLastScreenCenter = screenCenter; in dispatchDraw()
1141 protected float getScrollProgress(int screenCenter, View v, int page) { in getScrollProgress() argument
1145 int delta = screenCenter - (getChildOffset(page) - in getScrollProgress()
1477 int screenCenter = getScrollX() + (getMeasuredWidth() / 2); in getPageNearestToCenterOfScreen() local
1484 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen()
DWorkspace.java1187 private void updatePageAlphaValues(int screenCenter) {
1196 float scrollProgress = getScrollProgress(screenCenter, child, i);
1218 protected void screenScrolled(int screenCenter) {
1220 super.screenScrolled(screenCenter);
1222 updatePageAlphaValues(screenCenter);
1241 float scrollProgress = getScrollProgress(screenCenter, cl, index);
DAppsCustomizePagedView.java1373 protected void screenScrolled(int screenCenter) { in screenScrolled() argument
1375 super.screenScrolled(screenCenter); in screenScrolled()
1380 float scrollProgress = getScrollProgress(screenCenter, v, i); in screenScrolled()