Animating the widget previews on drag from AppsCustomize.

Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
This commit is contained in:
Winson Chung
2012-02-22 13:51:36 -08:00
parent 867ca62c0e
commit 72d598400d
5 changed files with 44 additions and 43 deletions

View File

@@ -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);