summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtem Shvadskiy <ashvadskiy@cyngn.com>2016-05-02 13:13:28 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-02 13:16:08 -0700
commit1daec9c7f02dad48039ea6999f3b50983f3b4617 (patch)
treeb15b4d636f2fad5a9b2196364b224d9d147bbb0c /src
parenta56a75dbeb84341ba1450fa58bad63301201aae9 (diff)
downloadandroid_packages_apps_Trebuchet-1daec9c7f02dad48039ea6999f3b50983f3b4617.zip
android_packages_apps_Trebuchet-1daec9c7f02dad48039ea6999f3b50983f3b4617.tar.gz
android_packages_apps_Trebuchet-1daec9c7f02dad48039ea6999f3b50983f3b4617.tar.bz2
Use bitmap filtering for shrinking app icons
Change-Id: I54d1bff08c947f54ec0d35ec08b557ddd8e31e23 issue-id: CRACKLING-1051
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/BubbleTextView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java
index facafd3..1fc0473 100644
--- a/src/com/android/launcher3/BubbleTextView.java
+++ b/src/com/android/launcher3/BubbleTextView.java
@@ -166,7 +166,7 @@ public class BubbleTextView extends TextView
Bitmap b = info.getIcon(iconCache);
if (b.getWidth() > mIconSize || b.getHeight() > mIconSize) {
- b = Bitmap.createScaledBitmap(b, mIconSize, mIconSize, false);
+ b = Bitmap.createScaledBitmap(b, mIconSize, mIconSize, true);
info.setIcon(b);
info.updateIcon(iconCache);
}