Redo the launcher loading code and put the real app icons into rollo.

This commit is contained in:
Joe Onorato
2009-08-17 11:03:03 -04:00
parent 02e638e6bf
commit 9c1289cb3b
22 changed files with 2071 additions and 1977 deletions

View File

@@ -33,6 +33,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.
*/
@@ -43,6 +48,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.
*/
@@ -124,4 +134,10 @@ class ApplicationInfo extends ItemInfo {
public String toString() {
return title.toString();
}
@Override
void unbind() {
super.unbind();
icon.setCallback(null);
}
}