summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/PagedViewWidget.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2012-02-22 13:51:36 -0800
committerWinson Chung <winsonc@google.com>2012-02-23 12:21:12 -0800
commit72d598400da7cef9c7fc4f99bb1fcd7ff0710011 (patch)
tree34cad86b848aac96fceb3e1feb5e5e0c0874c9a1 /src/com/android/launcher2/PagedViewWidget.java
parent867ca62c0e4b811d46734ff940d59c7a787525c8 (diff)
downloadandroid_packages_apps_Trebuchet-72d598400da7cef9c7fc4f99bb1fcd7ff0710011.tar.gz
android_packages_apps_Trebuchet-72d598400da7cef9c7fc4f99bb1fcd7ff0710011.tar.bz2
android_packages_apps_Trebuchet-72d598400da7cef9c7fc4f99bb1fcd7ff0710011.zip
Animating the widget previews on drag from AppsCustomize.
Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
Diffstat (limited to 'src/com/android/launcher2/PagedViewWidget.java')
-rw-r--r--src/com/android/launcher2/PagedViewWidget.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/launcher2/PagedViewWidget.java b/src/com/android/launcher2/PagedViewWidget.java
index 5ba869118..670717e49 100644
--- a/src/com/android/launcher2/PagedViewWidget.java
+++ b/src/com/android/launcher2/PagedViewWidget.java
@@ -38,8 +38,6 @@ public class PagedViewWidget extends LinearLayout {
private static boolean sDeletePreviewsWhenDetachedFromWindow = true;
- private ImageView mPreviewImageView;
-
private String mDimensionsFormatString;
CheckForShortPress mPendingCheckForShortPress = null;
ShortPressListener mShortPressListener = null;
@@ -90,7 +88,6 @@ public class PagedViewWidget extends LinearLayout {
image.setMaxWidth(maxWidth);
}
image.setContentDescription(info.label);
- mPreviewImageView = image;
final TextView name = (TextView) findViewById(R.id.widget_name);
name.setText(info.label);
final TextView dims = (TextView) findViewById(R.id.widget_dims);
@@ -103,7 +100,6 @@ public class PagedViewWidget extends LinearLayout {
CharSequence label = info.loadLabel(pm);
final ImageView image = (ImageView) findViewById(R.id.widget_preview);
image.setContentDescription(label);
- mPreviewImageView = image;
final TextView name = (TextView) findViewById(R.id.widget_name);
name.setText(label);
final TextView dims = (TextView) findViewById(R.id.widget_dims);