summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/ApplicationInfo.java
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-08-17 11:03:03 -0400
committerJoe Onorato <joeo@android.com>2009-08-24 14:58:44 -0400
commit9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d (patch)
treebb6f3ea57e53ccf695bd7cf2e3db33786506be5c /src/com/android/launcher2/ApplicationInfo.java
parent02e638e6bf6dac903396a67029d4d48e3cfa87d9 (diff)
downloadandroid_packages_apps_Trebuchet-9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d.tar.gz
android_packages_apps_Trebuchet-9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d.tar.bz2
android_packages_apps_Trebuchet-9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d.zip
Redo the launcher loading code and put the real app icons into rollo.
Diffstat (limited to 'src/com/android/launcher2/ApplicationInfo.java')
-rw-r--r--src/com/android/launcher2/ApplicationInfo.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/com/android/launcher2/ApplicationInfo.java b/src/com/android/launcher2/ApplicationInfo.java
index 912f04edc..db802c757 100644
--- a/src/com/android/launcher2/ApplicationInfo.java
+++ b/src/com/android/launcher2/ApplicationInfo.java
@@ -34,6 +34,11 @@ class ApplicationInfo extends ItemInfo {
CharSequence title;
/**
+ * A bitmap of the application's text in the bubble.
+ */
+ Bitmap titleBitmap;
+
+ /**
* The intent used to start the application.
*/
Intent intent;
@@ -44,6 +49,11 @@ class ApplicationInfo extends ItemInfo {
Drawable icon;
/**
+ * A bitmap version of the application icon.
+ */
+ Bitmap iconBitmap;
+
+ /**
* When set to true, indicates that the icon has been resized.
*/
boolean filtered;
@@ -124,4 +134,10 @@ class ApplicationInfo extends ItemInfo {
public String toString() {
return title.toString();
}
+
+ @Override
+ void unbind() {
+ super.unbind();
+ icon.setCallback(null);
+ }
}