summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2009-11-02 13:17:15 +0800
committerChih-Chung Chang <chihchung@google.com>2009-11-02 13:17:15 +0800
commit3f1947b04f2764b81e30cfde38468c4224f5035f (patch)
tree0e5ccb19c666934edd0045249dc0abb975b2262b /src/com/android/camera
parent324b5936db190e06ef4619f89a3deb607de3234a (diff)
downloadLegacyCamera-3f1947b04f2764b81e30cfde38468c4224f5035f.zip
LegacyCamera-3f1947b04f2764b81e30cfde38468c4224f5035f.tar.gz
LegacyCamera-3f1947b04f2764b81e30cfde38468c4224f5035f.tar.bz2
Remove unused code.
Diffstat (limited to 'src/com/android/camera')
-rw-r--r--src/com/android/camera/ImageGetter.java1
-rw-r--r--src/com/android/camera/ImageManager.java1
-rw-r--r--src/com/android/camera/ImageViewTouchBase.java3
-rw-r--r--src/com/android/camera/MonitoredActivity.java1
-rw-r--r--src/com/android/camera/OnScreenSettings.java2
-rw-r--r--src/com/android/camera/ReviewImage.java1
-rw-r--r--src/com/android/camera/Util.java3
-rw-r--r--src/com/android/camera/VideoCamera.java2
-rw-r--r--src/com/android/camera/gallery/IImageList.java2
-rw-r--r--src/com/android/camera/gallery/ImageList.java2
-rw-r--r--src/com/android/camera/gallery/ImageListUber.java1
-rw-r--r--src/com/android/camera/gallery/SingleImageList.java2
-rw-r--r--src/com/android/camera/gallery/VideoList.java2
-rw-r--r--src/com/android/camera/gallery/VideoObject.java1
14 files changed, 0 insertions, 24 deletions
diff --git a/src/com/android/camera/ImageGetter.java b/src/com/android/camera/ImageGetter.java
index 72228da..76b60bf 100644
--- a/src/com/android/camera/ImageGetter.java
+++ b/src/com/android/camera/ImageGetter.java
@@ -25,7 +25,6 @@ import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Message;
import android.os.Process;
-import android.provider.MediaStore;
/*
* Here's the loading strategy. For any given image, load the thumbnail
diff --git a/src/com/android/camera/ImageManager.java b/src/com/android/camera/ImageManager.java
index bdf7848..304a35b 100644
--- a/src/com/android/camera/ImageManager.java
+++ b/src/com/android/camera/ImageManager.java
@@ -48,7 +48,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
-import java.util.HashMap;
import java.util.Iterator;
/**
diff --git a/src/com/android/camera/ImageViewTouchBase.java b/src/com/android/camera/ImageViewTouchBase.java
index ef2edeb..84fb173 100644
--- a/src/com/android/camera/ImageViewTouchBase.java
+++ b/src/com/android/camera/ImageViewTouchBase.java
@@ -116,9 +116,6 @@ abstract class ImageViewTouchBase extends ImageView {
protected Handler mHandler = new Handler();
- protected int mLastXTouchPos;
- protected int mLastYTouchPos;
-
@Override
public void setImageBitmap(Bitmap bitmap) {
setImageBitmap(bitmap, 0);
diff --git a/src/com/android/camera/MonitoredActivity.java b/src/com/android/camera/MonitoredActivity.java
index 4c8f77d..68708e4 100644
--- a/src/com/android/camera/MonitoredActivity.java
+++ b/src/com/android/camera/MonitoredActivity.java
@@ -16,7 +16,6 @@
package com.android.camera;
-import android.app.Activity;
import android.os.Bundle;
import java.util.ArrayList;
diff --git a/src/com/android/camera/OnScreenSettings.java b/src/com/android/camera/OnScreenSettings.java
index ffd309d..36be499 100644
--- a/src/com/android/camera/OnScreenSettings.java
+++ b/src/com/android/camera/OnScreenSettings.java
@@ -8,8 +8,6 @@ import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.PreferenceGroup;
import android.preference.PreferenceScreen;
-import android.view.animation.Animation;
-import android.view.animation.Animation.AnimationListener;
import android.view.Display;
import android.view.Gravity;
import android.view.KeyEvent;
diff --git a/src/com/android/camera/ReviewImage.java b/src/com/android/camera/ReviewImage.java
index efab8c7..473ecb4 100644
--- a/src/com/android/camera/ReviewImage.java
+++ b/src/com/android/camera/ReviewImage.java
@@ -16,7 +16,6 @@
package com.android.camera;
-import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
diff --git a/src/com/android/camera/Util.java b/src/com/android/camera/Util.java
index 6f559e9..ec1d732 100644
--- a/src/com/android/camera/Util.java
+++ b/src/com/android/camera/Util.java
@@ -32,7 +32,6 @@ import android.os.Handler;
import android.os.ParcelFileDescriptor;
import android.util.Log;
import android.view.View;
-import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
@@ -52,8 +51,6 @@ public class Util {
public static final int DIRECTION_UP = 2;
public static final int DIRECTION_DOWN = 3;
- private static OnClickListener sNullOnClickListener;
-
private Util() {
}
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index ca53219..713c76a 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -16,7 +16,6 @@
package com.android.camera;
-import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.BroadcastReceiver;
import android.content.ContentResolver;
@@ -66,7 +65,6 @@ import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
-import com.android.camera.PreviewFrameLayout.OnSizeChangedListener;
import com.android.camera.gallery.IImage;
import com.android.camera.gallery.IImageList;
diff --git a/src/com/android/camera/gallery/IImageList.java b/src/com/android/camera/gallery/IImageList.java
index 6ea1be0..3f55913 100644
--- a/src/com/android/camera/gallery/IImageList.java
+++ b/src/com/android/camera/gallery/IImageList.java
@@ -18,8 +18,6 @@ package com.android.camera.gallery;
import android.net.Uri;
-import java.util.HashMap;
-
//
// ImageList and Image classes have one-to-one correspondence.
// The class hierarchy (* = abstract class):
diff --git a/src/com/android/camera/gallery/ImageList.java b/src/com/android/camera/gallery/ImageList.java
index 3dee3d1..064a192 100644
--- a/src/com/android/camera/gallery/ImageList.java
+++ b/src/com/android/camera/gallery/ImageList.java
@@ -21,8 +21,6 @@ import android.database.Cursor;
import android.net.Uri;
import android.provider.MediaStore.Images.Media;
-import java.util.HashMap;
-
/**
* Represents an ordered collection of Image objects. Provides an API to add
* and remove an image.
diff --git a/src/com/android/camera/gallery/ImageListUber.java b/src/com/android/camera/gallery/ImageListUber.java
index 85f9337..402392e 100644
--- a/src/com/android/camera/gallery/ImageListUber.java
+++ b/src/com/android/camera/gallery/ImageListUber.java
@@ -23,7 +23,6 @@ import com.android.camera.Util;
import java.util.Arrays;
import java.util.Comparator;
-import java.util.HashMap;
import java.util.PriorityQueue;
/**
diff --git a/src/com/android/camera/gallery/SingleImageList.java b/src/com/android/camera/gallery/SingleImageList.java
index 7963cf8..1b3f844 100644
--- a/src/com/android/camera/gallery/SingleImageList.java
+++ b/src/com/android/camera/gallery/SingleImageList.java
@@ -19,8 +19,6 @@ package com.android.camera.gallery;
import android.content.ContentResolver;
import android.net.Uri;
-import java.util.HashMap;
-
/**
* An implementation of interface <code>IImageList</code> which contains only
* one image.
diff --git a/src/com/android/camera/gallery/VideoList.java b/src/com/android/camera/gallery/VideoList.java
index fc57baa..375de15 100644
--- a/src/com/android/camera/gallery/VideoList.java
+++ b/src/com/android/camera/gallery/VideoList.java
@@ -22,8 +22,6 @@ import android.net.Uri;
import android.provider.MediaStore.Images;
import android.provider.MediaStore.Video.Media;
-import java.util.HashMap;
-
/**
* A collection of all the <code>VideoObject</code> in gallery.
*/
diff --git a/src/com/android/camera/gallery/VideoObject.java b/src/com/android/camera/gallery/VideoObject.java
index d6e5060..31c6e30 100644
--- a/src/com/android/camera/gallery/VideoObject.java
+++ b/src/com/android/camera/gallery/VideoObject.java
@@ -23,7 +23,6 @@ import android.graphics.Bitmap;
import android.media.ThumbnailUtil;
import android.net.Uri;
import android.provider.MediaStore.Images;
-import android.provider.MediaStore.Video;
import android.util.Log;
import java.io.IOException;