mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Cleaning up dead code.
Change-Id: I922e20b41d19ca9936c75277ba7c58a291d297fa
This commit is contained in:
@@ -140,23 +140,6 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
|
||||
}
|
||||
}
|
||||
|
||||
public void applyFromWallpaperInfo(ResolveInfo info, PackageManager packageManager,
|
||||
FastBitmapDrawable preview, int maxWidth, HolographicOutlineHelper holoOutlineHelper) {
|
||||
mHolographicOutlineHelper = holoOutlineHelper;
|
||||
ImageView image = (ImageView) findViewById(R.id.wallpaper_preview);
|
||||
image.setMaxWidth(maxWidth);
|
||||
image.setImageDrawable(preview);
|
||||
mPreviewImageView = image;
|
||||
TextView name = (TextView) findViewById(R.id.wallpaper_name);
|
||||
name.setText(info.loadLabel(packageManager));
|
||||
name.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
|
||||
// Hide the divider in the Phone UI.
|
||||
if (!LauncherApplication.isScreenLarge()) {
|
||||
findViewById(R.id.divider).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
public void setHolographicOutline(Bitmap holoOutline) {
|
||||
mHolographicOutline = holoOutline;
|
||||
invalidate();
|
||||
|
||||
Reference in New Issue
Block a user