From 4b825dcd5f64a5ebb60271844fbc5257374422bc Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Sun, 19 Jun 2011 12:41:22 -0700 Subject: Tweaking launcher grid and spacing. Change-Id: I369a87f473d1e870b2f819221f6383aab340b067 --- src/com/android/launcher2/Utilities.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/launcher2/Utilities.java') diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java index 04abd77aa..775833391 100644 --- a/src/com/android/launcher2/Utilities.java +++ b/src/com/android/launcher2/Utilities.java @@ -114,7 +114,7 @@ final class Utilities { width = (int) (height * ratio); } } else if (sourceWidth < width && sourceHeight < height) { - // It's small, use the size they gave us. + // Don't scale up the icon width = sourceWidth; height = sourceHeight; } @@ -224,7 +224,7 @@ final class Utilities { if (LauncherApplication.isScreenLarge()) { sIconContentSize = (int) resources.getDimension(R.dimen.app_icon_content_size); } - sIconTextureWidth = sIconTextureHeight = sIconWidth + 2; + sIconTextureWidth = sIconTextureHeight = sIconWidth; sBlurPaint.setMaskFilter(new BlurMaskFilter(5 * density, BlurMaskFilter.Blur.NORMAL)); sGlowColorPressedPaint.setColor(0xffffc300); -- cgit v1.2.3