Searched refs:screenCenter (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 684 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()
|
D | AppsCustomizePagedView.java | 1373 protected void screenScrolled(int screenCenter) { in screenScrolled() argument 1375 super.screenScrolled(screenCenter); in screenScrolled() 1380 float scrollProgress = getScrollProgress(screenCenter, v, i); in screenScrolled()
|
D | Workspace.java | 1187 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);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 1271 protected float getScrollProgress(int screenCenter, View v, int page) { in getScrollProgress() argument 1274 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress() 1779 int screenCenter = getViewportOffsetX() + scaledScrollX + (getViewportWidth() / 2); in getPageNearestToCenterOfScreen() local 1788 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen()
|
D | Workspace.java | 1644 int screenCenter = getScrollX() + getViewportWidth() / 2; in updatePageAlphaValues() local 1648 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues()
|