mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Redo the launcher loading code and put the real app icons into rollo.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user