Remove dead code from Home.

This commit is contained in:
Romain Guy 2009-07-17 15:28:42 -07:00
parent e59717b647
commit 27f98955ad
1 changed files with 1 additions and 8 deletions

View File

@ -42,8 +42,6 @@ import android.content.res.Resources;
import android.database.ContentObserver;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.graphics.PorterDuffXfermode;
import android.graphics.PorterDuff;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.TransitionDrawable;
@ -696,7 +694,6 @@ public final class Launcher extends Activity implements View.OnClickListener, On
final GestureOverlayView overlay = mGesturesOverlay;
overlay.addOnGestureListener(mGesturesProcessor);
overlay.getGesturePaint().setXfermode(new PorterDuffXfermode(PorterDuff.Mode.MULTIPLY));
}
private void createGesture() {
@ -2515,8 +2512,7 @@ public final class Launcher extends Activity implements View.OnClickListener, On
}
}
private class GesturesProcessor implements GestureOverlayView.OnGestureListener,
GestureOverlayView.OnGesturePerformedListener {
private class GesturesProcessor implements GestureOverlayView.OnGestureListener {
private final GestureMatcher mMatcher = new GestureMatcher();
@ -2538,9 +2534,6 @@ public final class Launcher extends Activity implements View.OnClickListener, On
public void onGesture(GestureOverlayView overlay, MotionEvent event) {
}
public void onGesturePerformed(GestureOverlayView overlay, Gesture gesture) {
}
public void onGestureEnded(GestureOverlayView overlay, MotionEvent event) {
if (CONFIG_GESTURES_IMMEDIATE_MODE) {
mMatcher.gesture = overlay.getGesture();