summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AlbumPage.java
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2012-08-29 11:53:10 +0800
committerOwen Lin <owenlin@google.com>2012-08-30 15:49:10 +0800
commit28cb4161da5fc3756933ca67d509b8af1c6275f1 (patch)
tree704d50fe9bb2acf06efe4a980f714d3f4306bbfd /src/com/android/gallery3d/app/AlbumPage.java
parente786d3cb1521db74a1c48cae52b8b55b1cee0292 (diff)
downloadandroid_packages_apps_Gallery2-28cb4161da5fc3756933ca67d509b8af1c6275f1.tar.gz
android_packages_apps_Gallery2-28cb4161da5fc3756933ca67d509b8af1c6275f1.tar.bz2
android_packages_apps_Gallery2-28cb4161da5fc3756933ca67d509b8af1c6275f1.zip
Remove unused resources and fix some warnings.
Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumPage.java')
-rw-r--r--src/com/android/gallery3d/app/AlbumPage.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java
index f1063925e..6c5c695cd 100644
--- a/src/com/android/gallery3d/app/AlbumPage.java
+++ b/src/com/android/gallery3d/app/AlbumPage.java
@@ -22,8 +22,6 @@ import android.content.Intent;
import android.graphics.Rect;
import android.net.Uri;
import android.os.Bundle;
-import android.os.Handler;
-import android.os.Message;
import android.os.Vibrator;
import android.provider.MediaStore;
import android.widget.Toast;
@@ -45,7 +43,6 @@ import com.android.gallery3d.ui.ActionModeHandler.ActionModeListener;
import com.android.gallery3d.ui.AlbumSlotRenderer;
import com.android.gallery3d.ui.DetailsHelper;
import com.android.gallery3d.ui.DetailsHelper.CloseListener;
-import com.android.gallery3d.ui.FadeTexture;
import com.android.gallery3d.ui.GLCanvas;
import com.android.gallery3d.ui.GLRoot;
import com.android.gallery3d.ui.GLView;
@@ -55,7 +52,6 @@ import com.android.gallery3d.ui.RawTexture;
import com.android.gallery3d.ui.RelativePosition;
import com.android.gallery3d.ui.SelectionManager;
import com.android.gallery3d.ui.SlotView;
-import com.android.gallery3d.ui.SynchronizedHandler;
import com.android.gallery3d.util.Future;
import com.android.gallery3d.util.GalleryUtils;
import com.android.gallery3d.util.MediaSetUtils;
@@ -105,8 +101,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster
private MediaSet mMediaSet;
private boolean mShowDetails;
private float mUserDistance; // in pixel
- private Handler mHandler;
-
private Future<Integer> mSyncTask = null;
private int mLoadingBits = 0;
@@ -385,19 +379,6 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster
mSlotView.startScatteringAnimation(mOpenCenter);
}
}
-
- mHandler = new SynchronizedHandler(mActivity.getGLRoot()) {
- @Override
- public void handleMessage(Message message) {
- switch (message.what) {
- case MSG_PICK_PHOTO: {
- pickPhoto(message.arg1);
- break;
- }
- default: throw new AssertionError(message.what);
- }
- }
- };
}
@Override