Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is

used for the workspace.

Consolidate the three icon resampling functions into one.

Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
This commit is contained in:
Joe Onorato
2010-02-08 13:44:00 -08:00
parent 3e244cf9d2
commit 0589f0f66c
25 changed files with 633 additions and 610 deletions

View File

@@ -67,6 +67,10 @@ class FastBitmapDrawable extends Drawable {
return mBitmap.getHeight();
}
public void setBitmap(Bitmap b) {
mBitmap = b;
}
public Bitmap getBitmap() {
return mBitmap;
}