summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-04-11 15:26:53 -0700
committerMichael Jurka <mikejurka@google.com>2012-04-11 15:26:53 -0700
commit64c9ab318817d5f098fa0fed7d893f630189b657 (patch)
treeb04f844bd21a26b0cce61a4ed354823c61460f4c
parent9658b1e65932f0149a596f451e0bd966e7ee4e74 (diff)
downloadandroid_packages_apps_Trebuchet-64c9ab318817d5f098fa0fed7d893f630189b657.tar.gz
android_packages_apps_Trebuchet-64c9ab318817d5f098fa0fed7d893f630189b657.tar.bz2
android_packages_apps_Trebuchet-64c9ab318817d5f098fa0fed7d893f630189b657.zip
Removing dead code
-rw-r--r--src/com/android/launcher2/DragView.java1
-rw-r--r--src/com/android/launcher2/Launcher.java4
-rw-r--r--src/com/android/launcher2/PagedView.java4
-rw-r--r--src/com/android/launcher2/StrokedTextView.java1
-rw-r--r--src/com/android/launcher2/Workspace.java1
5 files changed, 0 insertions, 11 deletions
diff --git a/src/com/android/launcher2/DragView.java b/src/com/android/launcher2/DragView.java
index 5636f995d..a6aa59530 100644
--- a/src/com/android/launcher2/DragView.java
+++ b/src/com/android/launcher2/DragView.java
@@ -22,7 +22,6 @@ import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
-import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.PorterDuff;
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index b3ce96884..3e626e874 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -2341,7 +2341,6 @@ public final class Launcher extends Activity
mStateAnimation = null;
}
final Resources res = getResources();
- final Launcher instance = this;
final int duration = res.getInteger(R.integer.config_appsCustomizeZoomInTime);
final int fadeDuration = res.getInteger(R.integer.config_appsCustomizeFadeInTime);
@@ -2521,9 +2520,6 @@ public final class Launcher extends Activity
updateWallpaperVisibility(true);
showHotseat(animated);
if (animated) {
- final float oldScaleX = fromView.getScaleX();
- final float oldScaleY = fromView.getScaleY();
-
final LauncherViewPropertyAnimator scaleAnim =
new LauncherViewPropertyAnimator(fromView);
scaleAnim.
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java
index 604e73c1d..1fc39f600 100644
--- a/src/com/android/launcher2/PagedView.java
+++ b/src/com/android/launcher2/PagedView.java
@@ -17,7 +17,6 @@
package com.android.launcher2;
import android.animation.Animator;
-import android.animation.AnimatorInflater;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
@@ -29,7 +28,6 @@ import android.os.Parcel;
import android.os.Parcelable;
import android.util.AttributeSet;
import android.util.Log;
-import android.view.ActionMode;
import android.view.InputDevice;
import android.view.KeyEvent;
import android.view.MotionEvent;
@@ -42,8 +40,6 @@ import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityManager;
import android.view.accessibility.AccessibilityNodeInfo;
import android.view.animation.Interpolator;
-import android.widget.Checkable;
-import android.widget.ImageView;
import android.widget.Scroller;
import com.android.launcher.R;
diff --git a/src/com/android/launcher2/StrokedTextView.java b/src/com/android/launcher2/StrokedTextView.java
index 20f9f48a0..4e28d17d7 100644
--- a/src/com/android/launcher2/StrokedTextView.java
+++ b/src/com/android/launcher2/StrokedTextView.java
@@ -89,7 +89,6 @@ public class StrokedTextView extends TextView {
protected void onDraw(Canvas canvas) {
if (mCache != null) {
if (mUpdateCachedBitmap) {
- final int gap = getCompoundDrawablePadding();
final int w = getMeasuredWidth();
final int h = getMeasuredHeight();
final String text = getText().toString();
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 8c3b46517..5b321f3b8 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -1838,7 +1838,6 @@ public class Workspace extends SmoothPagedView
* Responsibility for the bitmap is transferred to the caller.
*/
public Bitmap createDragBitmap(View v, Canvas canvas, int padding) {
- final int outlineColor = getResources().getColor(android.R.color.holo_blue_light);
Bitmap b;
if (v instanceof TextView) {