diff options
author | Winson Chung <winsonc@google.com> | 2011-06-23 13:04:10 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-06-23 16:08:54 -0700 |
commit | 4e076545e4ccdbd3c045a3fa33869a2b7519a0cc (patch) | |
tree | d3b4cead2ddfb3cf594bda719e2ed5115ddfb41f /src/com/android/launcher2/PagedViewWidget.java | |
parent | 845149a05acbe2ca629d9e4f8ef7e84128de1162 (diff) | |
download | packages_apps_trebuchet-4e076545e4ccdbd3c045a3fa33869a2b7519a0cc.zip packages_apps_trebuchet-4e076545e4ccdbd3c045a3fa33869a2b7519a0cc.tar.gz packages_apps_trebuchet-4e076545e4ccdbd3c045a3fa33869a2b7519a0cc.tar.bz2 |
Cleaning up dead code.
Change-Id: I922e20b41d19ca9936c75277ba7c58a291d297fa
Diffstat (limited to 'src/com/android/launcher2/PagedViewWidget.java')
-rw-r--r-- | src/com/android/launcher2/PagedViewWidget.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/com/android/launcher2/PagedViewWidget.java b/src/com/android/launcher2/PagedViewWidget.java index 433a785..d6f6656 100644 --- a/src/com/android/launcher2/PagedViewWidget.java +++ b/src/com/android/launcher2/PagedViewWidget.java @@ -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(); |