am 80243449: am 7bd69e75: Merge "Making wallpaper width 2x the screen width" into ics-factoryrom

* commit '80243449543e034d99da14f068dac609d1a8aa3e':
  Making wallpaper width 2x the screen width
This commit is contained in:
Michael Jurka authored and Android Git Automerger committed 2011-09-26 20:44:49 -07:00
commit dc294231bd
1 file changed
+2 -2
+2 -2
View File
@@ -111,7 +111,7 @@ public class Workspace extends SmoothPagedView
private final WallpaperManager mWallpaperManager;
private IBinder mWindowToken;
private static final float WALLPAPER_SCREENS_SPAN = 1.5f;
private static final float WALLPAPER_SCREENS_SPAN = 2f;
private int mDefaultPage;
@@ -730,7 +730,7 @@ public class Workspace extends SmoothPagedView
mWallpaperWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim));
mWallpaperHeight = (int)(maxDim * wallpaperTravelToScreenHeightRatio(maxDim, minDim));
} else {
mWallpaperWidth = (int) (minDim * WALLPAPER_SCREENS_SPAN);
mWallpaperWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim);
mWallpaperHeight = maxDim;
}
new Thread("setWallpaperDimension") {