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:
1 parent
3e244cf9d2
commit
0589f0f66c
25 files changed
+633
-610
No files matched your search
@@ -67,6 +67,10 @@ class FastBitmapDrawable extends Drawable {
|
||||
return mBitmap.getHeight();
|
||||
}
|
||||
|
||||
public void setBitmap(Bitmap b) {
|
||||
mBitmap = b;
|
||||
}
|
||||
|
||||
public Bitmap getBitmap() {
|
||||
return mBitmap;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user