summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Shvadskiy <ashvadskiy@cyngn.com>2016-05-02 20:13:28 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-03 20:41:45 (GMT)
commitf271d1a1ec8ce65799db1de9adada504557af577 (patch)
tree2725e5593fd261ac722d781528b5371011365f55
parent7657eae25cac0aef261c436a102a18913f16f46a (diff)
downloadandroid_packages_apps_Trebuchet-f271d1a1ec8ce65799db1de9adada504557af577.zip
android_packages_apps_Trebuchet-f271d1a1ec8ce65799db1de9adada504557af577.tar.gz
android_packages_apps_Trebuchet-f271d1a1ec8ce65799db1de9adada504557af577.tar.bz2
Use bitmap filtering for shrinking app icons
Change-Id: I54d1bff08c947f54ec0d35ec08b557ddd8e31e23 issue-id: CRACKLING-1051 (cherry picked from commit 1daec9c7f02dad48039ea6999f3b50983f3b4617)
-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);
}